From 419349d42943327c7b63fc7cdda8ea06df7038a5 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 1 May 2021 16:11:10 -0400 Subject: [PATCH] send a debug message in the proto --- protos/storyteller-protos | 2 +- src/handlers/coordinate_and_geocode_handler.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/protos/storyteller-protos b/protos/storyteller-protos index f24ccba760..e86757d405 160000 --- a/protos/storyteller-protos +++ b/protos/storyteller-protos @@ -1 +1 @@ -Subproject commit f24ccba7604339d860be00f8b4df99f6fd09d347 +Subproject commit e86757d405aab3e9c5120b62c1eae76c03b75f1e diff --git a/src/handlers/coordinate_and_geocode_handler.rs b/src/handlers/coordinate_and_geocode_handler.rs index 88f56b84e6..eaf9e270e1 100644 --- a/src/handlers/coordinate_and_geocode_handler.rs +++ b/src/handlers/coordinate_and_geocode_handler.rs @@ -38,6 +38,8 @@ impl CoordinateAndGeocodeHandler { let mut unreal_proto = protos::UnrealEventPayloadV1::default(); unreal_proto.payload_type = protos::unreal_event_payload_v1::PayloadType::CesiumWarp as i32; + unreal_proto.debug_message = "Hello from Rust!".to_string(); + let mut buffer : Vec = Vec::with_capacity(cesium_proto.encoded_len()); let encode_result = cesium_proto.encode(&mut buffer);