From b2ef0fc6283b2d1154b20ccbb5cc9b8da6c8bcbf Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Mon, 29 Aug 2022 03:57:57 +0000 Subject: [PATCH] vendor_id of game is changed to kgon_vendor_id --- 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 f6785ed..1d81944 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 vendor_id: ::core::option::Option, + pub kgon_vendor_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 802901a..03fe1fc 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 vendor_id: u64, - #[prost(string, tag = "3")] + #[prost(uint64, tag="2")] + pub kgon_vendor_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 fd384b8..f1a7603 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 vendor_id: ::core::option::Option, + pub kgon_vendor_id: ::core::option::Option, #[prost(string, optional, tag = "2")] pub key_like: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "3")]