From fab124d725bebe90a5ecf2f0d08538c74d38da45 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sat, 1 Jun 2024 11:29:05 -0600 Subject: [PATCH] Added RaaS request type --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/cmd.proto | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 212cf38..7c53774 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -229,7 +229,7 @@ dependencies = [ [[package]] name = "raas_types" -version = "0.0.2" +version = "0.0.3" dependencies = [ "bytes", "prost", diff --git a/Cargo.toml b/Cargo.toml index d3778d4..152b19d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "raas_types" -version = "0.0.2" +version = "0.0.3" edition = "2021" description = "Protobuf definitions for RaaS" authors = ["Joey Hines joey@ahines.net"] diff --git a/src/cmd.proto b/src/cmd.proto index cd6cdd6..b9ed511 100644 --- a/src/cmd.proto +++ b/src/cmd.proto @@ -10,4 +10,11 @@ message Command { oneof cmd { raas.bot.roll.RollCmd roll_cmd = 3; } +} + +message Request { + uint64 timestamp = 1; + oneof cmd { + raas.bot.roll.RollCmd roll_cmd = 2; + } } \ No newline at end of file