mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-12 12:53:04 +00:00
send a debug message in the proto
This commit is contained in:
1 parent
211239cc30
commit
419349d429
2 files changed
+3
-1
No files matched your search
Submodule protos/storyteller-protos updated: f24ccba760...e86757d405.
@@ -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<u8> = Vec::with_capacity(cesium_proto.encoded_len());
|
||||
let encode_result = cesium_proto.encode(&mut buffer);
|
||||
|
||||
|
||||
Reference in new issue
Block a user