From 5268098f3b0bcf9f4a42f0d82c5264280b368a99 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Mon, 29 Aug 2022 04:07:11 +0000 Subject: [PATCH] name is changed --- src/c2se/api/game.rs | 2 +- src/models/api/game.rs | 22 +++++++++++----------- src/ss/api/game.rs | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/c2se/api/game.rs b/src/c2se/api/game.rs index 1d81944..5c28bfa 100644 --- a/src/c2se/api/game.rs +++ b/src/c2se/api/game.rs @@ -12,7 +12,7 @@ pub mod list_games_request { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Search { #[prost(uint64, optional, tag = "1")] - pub kgon_vendor_id: ::core::option::Option, + pub parent_id: ::core::option::Option, #[prost(string, optional, tag = "2")] pub key_like: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "3")] diff --git a/src/models/api/game.rs b/src/models/api/game.rs index 03fe1fc..9008d50 100644 --- a/src/models/api/game.rs +++ b/src/models/api/game.rs @@ -1,23 +1,23 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct Game { - #[prost(uint64, tag="1")] + #[prost(uint64, tag = "1")] pub id: u64, - #[prost(uint64, tag="2")] - pub kgon_vendor_id: u64, - #[prost(string, tag="3")] + #[prost(uint64, tag = "2")] + pub parent_id: u64, + #[prost(string, tag = "3")] pub key: ::prost::alloc::string::String, - #[prost(string, tag="4")] + #[prost(string, tag = "4")] pub names: ::prost::alloc::string::String, - #[prost(string, tag="5")] + #[prost(string, tag = "5")] pub platform: ::prost::alloc::string::String, - #[prost(string, tag="6")] + #[prost(string, tag = "6")] pub category: ::prost::alloc::string::String, - #[prost(string, tag="7")] + #[prost(string, tag = "7")] pub game_type: ::prost::alloc::string::String, - #[prost(string, optional, tag="8")] + #[prost(string, optional, tag = "8")] pub image: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, tag="9")] + #[prost(uint64, tag = "9")] pub created_at: u64, - #[prost(uint64, tag="10")] + #[prost(uint64, tag = "10")] pub updated_at: u64, } diff --git a/src/ss/api/game.rs b/src/ss/api/game.rs index f1a7603..82f9e32 100644 --- a/src/ss/api/game.rs +++ b/src/ss/api/game.rs @@ -26,7 +26,7 @@ pub mod list_games_request { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Search { #[prost(uint64, optional, tag = "1")] - pub kgon_vendor_id: ::core::option::Option, + pub parent_id: ::core::option::Option, #[prost(string, optional, tag = "2")] pub key_like: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "3")]