From 0e730d796aac5650c20d04aa9a6e49b6f6c130ee Mon Sep 17 00:00:00 2001 From: gorbit99 Date: Wed, 1 Oct 2025 22:03:27 +0200 Subject: [PATCH 1/9] Add rest calibration status to Tracker schema --- .../generated/all_generated.h | 53 +++++++++- .../data_feed/tracker/TrackerInfo.java | 7 +- .../data_feed/tracker/TrackerInfoT.java | 6 ++ .../datatypes/RestCalibrationStatus.java | 16 +++ .../data_feed/tracker/TrackerInfo.kt | 9 +- .../datatypes/RestCalibrationStatus.kt | 15 +++ protocol/rust/src/generated/mod.rs | 2 + .../tracker/tracker_info_generated.rs | 17 +++ .../rest_calibration_status_generated.rs | 100 ++++++++++++++++++ protocol/typescript/src/all_generated.ts | 1 + .../data-feed/tracker/tracker-info.ts | 20 +++- .../datatypes/rest-calibration-status.ts | 7 ++ schema/data_feed/tracker.fbs | 2 + schema/datatypes/datatypes.fbs | 6 ++ 14 files changed, 252 insertions(+), 9 deletions(-) create mode 100644 protocol/java/src/solarxr_protocol/datatypes/RestCalibrationStatus.java create mode 100644 protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt create mode 100644 protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs create mode 100644 protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts diff --git a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h index d8c526ae..6a8bc417 100644 --- a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h +++ b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h @@ -950,6 +950,39 @@ inline const char *EnumNameMagnetometerStatus(MagnetometerStatus e) { return EnumNamesMagnetometerStatus()[index]; } +enum class RestCalibrationStatus : uint8_t { + NOT_SUPPORTED = 0, + NOT_CALIBRATED = 1, + CALIBRATED = 2, + MIN = NOT_SUPPORTED, + MAX = CALIBRATED +}; + +inline const RestCalibrationStatus (&EnumValuesRestCalibrationStatus())[3] { + static const RestCalibrationStatus values[] = { + RestCalibrationStatus::NOT_SUPPORTED, + RestCalibrationStatus::NOT_CALIBRATED, + RestCalibrationStatus::CALIBRATED + }; + return values; +} + +inline const char * const *EnumNamesRestCalibrationStatus() { + static const char * const names[4] = { + "NOT_SUPPORTED", + "NOT_CALIBRATED", + "CALIBRATED", + nullptr + }; + return names; +} + +inline const char *EnumNameRestCalibrationStatus(RestCalibrationStatus e) { + if (flatbuffers::IsOutRange(e, RestCalibrationStatus::NOT_SUPPORTED, RestCalibrationStatus::CALIBRATED)) return ""; + const size_t index = static_cast(e); + return EnumNamesRestCalibrationStatus()[index]; +} + namespace hardware_info { enum class McuType : uint16_t { @@ -4354,7 +4387,8 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_MOUNTING_RESET_ORIENTATION = 24, VT_IS_HMD = 26, VT_MAGNETOMETER = 28, - VT_DATA_SUPPORT = 30 + VT_DATA_SUPPORT = 30, + VT_REST_CALIBRATION_STATUS = 32 }; solarxr_protocol::datatypes::hardware_info::ImuType imu_type() const { return static_cast(GetField(VT_IMU_TYPE, 0)); @@ -4412,6 +4446,9 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { solarxr_protocol::datatypes::hardware_info::TrackerDataType data_support() const { return static_cast(GetField(VT_DATA_SUPPORT, 0)); } + solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status() const { + return static_cast(GetField(VT_REST_CALIBRATION_STATUS, 0)); + } bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IMU_TYPE, 2) && @@ -4430,6 +4467,7 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VerifyField(verifier, VT_IS_HMD, 1) && VerifyField(verifier, VT_MAGNETOMETER, 1) && VerifyField(verifier, VT_DATA_SUPPORT, 1) && + VerifyField(verifier, VT_REST_CALIBRATION_STATUS, 1) && verifier.EndTable(); } }; @@ -4480,6 +4518,9 @@ struct TrackerInfoBuilder { void add_data_support(solarxr_protocol::datatypes::hardware_info::TrackerDataType data_support) { fbb_.AddElement(TrackerInfo::VT_DATA_SUPPORT, static_cast(data_support), 0); } + void add_rest_calibration_status(solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status) { + fbb_.AddElement(TrackerInfo::VT_REST_CALIBRATION_STATUS, static_cast(rest_calibration_status), 0); + } explicit TrackerInfoBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); @@ -4506,7 +4547,8 @@ inline flatbuffers::Offset CreateTrackerInfo( const solarxr_protocol::datatypes::math::Quat *mounting_reset_orientation = nullptr, bool is_hmd = false, solarxr_protocol::datatypes::MagnetometerStatus magnetometer = solarxr_protocol::datatypes::MagnetometerStatus::NOT_SUPPORTED, - solarxr_protocol::datatypes::hardware_info::TrackerDataType data_support = solarxr_protocol::datatypes::hardware_info::TrackerDataType::ROTATION) { + solarxr_protocol::datatypes::hardware_info::TrackerDataType data_support = solarxr_protocol::datatypes::hardware_info::TrackerDataType::ROTATION, + solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status = solarxr_protocol::datatypes::RestCalibrationStatus::NOT_SUPPORTED) { TrackerInfoBuilder builder_(_fbb); builder_.add_mounting_reset_orientation(mounting_reset_orientation); builder_.add_custom_name(custom_name); @@ -4514,6 +4556,7 @@ inline flatbuffers::Offset CreateTrackerInfo( builder_.add_mounting_orientation(mounting_orientation); builder_.add_poll_rate(poll_rate); builder_.add_imu_type(imu_type); + builder_.add_rest_calibration_status(rest_calibration_status); builder_.add_data_support(data_support); builder_.add_magnetometer(magnetometer); builder_.add_is_hmd(is_hmd); @@ -4540,7 +4583,8 @@ inline flatbuffers::Offset CreateTrackerInfoDirect( const solarxr_protocol::datatypes::math::Quat *mounting_reset_orientation = nullptr, bool is_hmd = false, solarxr_protocol::datatypes::MagnetometerStatus magnetometer = solarxr_protocol::datatypes::MagnetometerStatus::NOT_SUPPORTED, - solarxr_protocol::datatypes::hardware_info::TrackerDataType data_support = solarxr_protocol::datatypes::hardware_info::TrackerDataType::ROTATION) { + solarxr_protocol::datatypes::hardware_info::TrackerDataType data_support = solarxr_protocol::datatypes::hardware_info::TrackerDataType::ROTATION, + solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status = solarxr_protocol::datatypes::RestCalibrationStatus::NOT_SUPPORTED) { auto display_name__ = display_name ? _fbb.CreateString(display_name) : 0; auto custom_name__ = custom_name ? _fbb.CreateString(custom_name) : 0; return solarxr_protocol::data_feed::tracker::CreateTrackerInfo( @@ -4558,7 +4602,8 @@ inline flatbuffers::Offset CreateTrackerInfoDirect( mounting_reset_orientation, is_hmd, magnetometer, - data_support); + data_support, + rest_calibration_status); } } // namespace tracker diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java index b2de6382..ce0846af 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java @@ -77,8 +77,9 @@ public final class TrackerInfo extends Table { * Indicates what type of data the tracker sends (note: it always ends up being rotation in the end) */ public int dataSupport() { int o = __offset(30); return o != 0 ? bb.get(o + bb_pos) & 0xFF : 0; } + public int restCalibrationStatus() { int o = __offset(32); return o != 0 ? bb.get(o + bb_pos) & 0xFF : 0; } - public static void startTrackerInfo(FlatBufferBuilder builder) { builder.startTable(14); } + public static void startTrackerInfo(FlatBufferBuilder builder) { builder.startTable(15); } public static void addImuType(FlatBufferBuilder builder, int imuType) { builder.addShort(0, (short) imuType, (short) 0); } public static void addBodyPart(FlatBufferBuilder builder, int bodyPart) { builder.addByte(1, (byte) bodyPart, (byte) 0); } public static void addPollRate(FlatBufferBuilder builder, int pollRateOffset) { builder.addStruct(2, pollRateOffset, 0); } @@ -93,6 +94,7 @@ public final class TrackerInfo extends Table { public static void addIsHmd(FlatBufferBuilder builder, boolean isHmd) { builder.addBoolean(11, isHmd, false); } public static void addMagnetometer(FlatBufferBuilder builder, int magnetometer) { builder.addByte(12, (byte) magnetometer, (byte) 0); } public static void addDataSupport(FlatBufferBuilder builder, int dataSupport) { builder.addByte(13, (byte) dataSupport, (byte) 0); } + public static void addRestCalibrationStatus(FlatBufferBuilder builder, int restCalibrationStatus) { builder.addByte(14, (byte) restCalibrationStatus, (byte) 0); } public static int endTrackerInfo(FlatBufferBuilder builder) { int o = builder.endTable(); return o; @@ -138,6 +140,8 @@ public void unpackTo(TrackerInfoT _o) { _o.setMagnetometer(_oMagnetometer); int _oDataSupport = dataSupport(); _o.setDataSupport(_oDataSupport); + int _oRestCalibrationStatus = restCalibrationStatus(); + _o.setRestCalibrationStatus(_oRestCalibrationStatus); } public static int pack(FlatBufferBuilder builder, TrackerInfoT _o) { if (_o == null) return 0; @@ -158,6 +162,7 @@ public static int pack(FlatBufferBuilder builder, TrackerInfoT _o) { addIsHmd(builder, _o.getIsHmd()); addMagnetometer(builder, _o.getMagnetometer()); addDataSupport(builder, _o.getDataSupport()); + addRestCalibrationStatus(builder, _o.getRestCalibrationStatus()); return endTrackerInfo(builder); } } diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java index dd51fdd0..b516b47b 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java @@ -22,6 +22,7 @@ public class TrackerInfoT { private boolean isHmd; private int magnetometer; private int dataSupport; + private int restCalibrationStatus; public int getImuType() { return imuType; } @@ -79,6 +80,10 @@ public class TrackerInfoT { public void setDataSupport(int dataSupport) { this.dataSupport = dataSupport; } + public int getRestCalibrationStatus() { return restCalibrationStatus; } + + public void setRestCalibrationStatus(int restCalibrationStatus) { this.restCalibrationStatus = restCalibrationStatus; } + public TrackerInfoT() { this.imuType = 0; @@ -95,6 +100,7 @@ public TrackerInfoT() { this.isHmd = false; this.magnetometer = 0; this.dataSupport = 0; + this.restCalibrationStatus = 0; } } diff --git a/protocol/java/src/solarxr_protocol/datatypes/RestCalibrationStatus.java b/protocol/java/src/solarxr_protocol/datatypes/RestCalibrationStatus.java new file mode 100644 index 00000000..9955b96f --- /dev/null +++ b/protocol/java/src/solarxr_protocol/datatypes/RestCalibrationStatus.java @@ -0,0 +1,16 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +package solarxr_protocol.datatypes; + +@SuppressWarnings("unused") +public final class RestCalibrationStatus { + private RestCalibrationStatus() { } + public static final int NOT_SUPPORTED = 0; + public static final int NOT_CALIBRATED = 1; + public static final int CALIBRATED = 2; + + public static final String[] names = { "NOT_SUPPORTED", "NOT_CALIBRATED", "CALIBRATED", }; + + public static String name(int e) { return names[e]; } +} + diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt index a24af508..2d358fa8 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt @@ -143,6 +143,11 @@ class TrackerInfo : Table() { val o = __offset(30) return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u } + val restCalibrationStatus : UByte + get() { + val o = __offset(32) + return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u + } companion object { @JvmStatic fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @@ -154,7 +159,7 @@ class TrackerInfo : Table() { return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) } @JvmStatic - fun startTrackerInfo(builder: FlatBufferBuilder) = builder.startTable(14) + fun startTrackerInfo(builder: FlatBufferBuilder) = builder.startTable(15) @JvmStatic fun addImuType(builder: FlatBufferBuilder, imuType: UShort) = builder.addShort(0, imuType.toShort(), 0) @JvmStatic @@ -184,6 +189,8 @@ class TrackerInfo : Table() { @JvmStatic fun addDataSupport(builder: FlatBufferBuilder, dataSupport: UByte) = builder.addByte(13, dataSupport.toByte(), 0) @JvmStatic + fun addRestCalibrationStatus(builder: FlatBufferBuilder, restCalibrationStatus: UByte) = builder.addByte(14, restCalibrationStatus.toByte(), 0) + @JvmStatic fun endTrackerInfo(builder: FlatBufferBuilder) : Int { val o = builder.endTable() return o diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt new file mode 100644 index 00000000..fcedc8f3 --- /dev/null +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt @@ -0,0 +1,15 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +package solarxr_protocol.datatypes + +@Suppress("unused") +class RestCalibrationStatus private constructor() { + companion object { + const val NOTSUPPORTED: UByte = 0u + const val NOTCALIBRATED: UByte = 1u + const val CALIBRATED: UByte = 2u + val names : Array = arrayOf("NOT_SUPPORTED", "NOT_CALIBRATED", "CALIBRATED") + @JvmStatic + fun name(e: Int) : String = names[e] + } +} diff --git a/protocol/rust/src/generated/mod.rs b/protocol/rust/src/generated/mod.rs index 30bf4861..60487370 100644 --- a/protocol/rust/src/generated/mod.rs +++ b/protocol/rust/src/generated/mod.rs @@ -87,6 +87,8 @@ pub mod solarxr_protocol { pub use self::tracker_status_generated::*; mod magnetometer_status_generated; pub use self::magnetometer_status_generated::*; + mod rest_calibration_status_generated; + pub use self::rest_calibration_status_generated::*; mod hz_f32_generated; pub use self::hz_f32_generated::*; mod transaction_id_generated; diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs index a53ebd36..a96f44ae 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs @@ -40,6 +40,7 @@ impl<'a> TrackerInfo<'a> { pub const VT_IS_HMD: flatbuffers::VOffsetT = 26; pub const VT_MAGNETOMETER: flatbuffers::VOffsetT = 28; pub const VT_DATA_SUPPORT: flatbuffers::VOffsetT = 30; + pub const VT_REST_CALIBRATION_STATUS: flatbuffers::VOffsetT = 32; #[inline] pub unsafe fn init_from_table(table: flatbuffers::Table<'a>) -> Self { @@ -57,6 +58,7 @@ impl<'a> TrackerInfo<'a> { if let Some(x) = args.mounting_orientation { builder.add_mounting_orientation(x); } if let Some(x) = args.poll_rate { builder.add_poll_rate(x); } builder.add_imu_type(args.imu_type); + builder.add_rest_calibration_status(args.rest_calibration_status); builder.add_data_support(args.data_support); builder.add_magnetometer(args.magnetometer); builder.add_is_hmd(args.is_hmd); @@ -181,6 +183,13 @@ impl<'a> TrackerInfo<'a> { // which contains a valid value in this slot unsafe { self._tab.get::(TrackerInfo::VT_DATA_SUPPORT, Some(super::super::datatypes::hardware_info::TrackerDataType::ROTATION)).unwrap()} } + #[inline] + pub fn rest_calibration_status(&self) -> super::super::datatypes::RestCalibrationStatus { + // Safety: + // Created from valid Table for this object + // which contains a valid value in this slot + unsafe { self._tab.get::(TrackerInfo::VT_REST_CALIBRATION_STATUS, Some(super::super::datatypes::RestCalibrationStatus::NOT_SUPPORTED)).unwrap()} + } } impl flatbuffers::Verifiable for TrackerInfo<'_> { @@ -204,6 +213,7 @@ impl flatbuffers::Verifiable for TrackerInfo<'_> { .visit_field::("is_hmd", Self::VT_IS_HMD, false)? .visit_field::("magnetometer", Self::VT_MAGNETOMETER, false)? .visit_field::("data_support", Self::VT_DATA_SUPPORT, false)? + .visit_field::("rest_calibration_status", Self::VT_REST_CALIBRATION_STATUS, false)? .finish(); Ok(()) } @@ -223,6 +233,7 @@ pub struct TrackerInfoArgs<'a> { pub is_hmd: bool, pub magnetometer: super::super::datatypes::MagnetometerStatus, pub data_support: super::super::datatypes::hardware_info::TrackerDataType, + pub rest_calibration_status: super::super::datatypes::RestCalibrationStatus, } impl<'a> Default for TrackerInfoArgs<'a> { #[inline] @@ -242,6 +253,7 @@ impl<'a> Default for TrackerInfoArgs<'a> { is_hmd: false, magnetometer: super::super::datatypes::MagnetometerStatus::NOT_SUPPORTED, data_support: super::super::datatypes::hardware_info::TrackerDataType::ROTATION, + rest_calibration_status: super::super::datatypes::RestCalibrationStatus::NOT_SUPPORTED, } } } @@ -308,6 +320,10 @@ impl<'a: 'b, 'b> TrackerInfoBuilder<'a, 'b> { self.fbb_.push_slot::(TrackerInfo::VT_DATA_SUPPORT, data_support, super::super::datatypes::hardware_info::TrackerDataType::ROTATION); } #[inline] + pub fn add_rest_calibration_status(&mut self, rest_calibration_status: super::super::datatypes::RestCalibrationStatus) { + self.fbb_.push_slot::(TrackerInfo::VT_REST_CALIBRATION_STATUS, rest_calibration_status, super::super::datatypes::RestCalibrationStatus::NOT_SUPPORTED); + } + #[inline] pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerInfoBuilder<'a, 'b> { let start = _fbb.start_table(); TrackerInfoBuilder { @@ -339,6 +355,7 @@ impl core::fmt::Debug for TrackerInfo<'_> { ds.field("is_hmd", &self.is_hmd()); ds.field("magnetometer", &self.magnetometer()); ds.field("data_support", &self.data_support()); + ds.field("rest_calibration_status", &self.rest_calibration_status()); ds.finish() } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs new file mode 100644 index 00000000..717b88e3 --- /dev/null +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs @@ -0,0 +1,100 @@ +// automatically generated by the FlatBuffers compiler, do not modify +// @generated +extern crate alloc; +extern crate flatbuffers; +use alloc::boxed::Box; +use alloc::string::{String, ToString}; +use alloc::vec::Vec; +use core::mem; +use core::cmp::Ordering; +use self::flatbuffers::{EndianScalar, Follow}; +use super::*; +#[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] +pub const ENUM_MIN_REST_CALIBRATION_STATUS: u8 = 0; +#[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] +pub const ENUM_MAX_REST_CALIBRATION_STATUS: u8 = 2; +#[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] +#[allow(non_camel_case_types)] +pub const ENUM_VALUES_REST_CALIBRATION_STATUS: [RestCalibrationStatus; 3] = [ + RestCalibrationStatus::NOT_SUPPORTED, + RestCalibrationStatus::NOT_CALIBRATED, + RestCalibrationStatus::CALIBRATED, +]; + +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] +#[repr(transparent)] +pub struct RestCalibrationStatus(pub u8); +#[allow(non_upper_case_globals)] +impl RestCalibrationStatus { + pub const NOT_SUPPORTED: Self = Self(0); + pub const NOT_CALIBRATED: Self = Self(1); + pub const CALIBRATED: Self = Self(2); + + pub const ENUM_MIN: u8 = 0; + pub const ENUM_MAX: u8 = 2; + pub const ENUM_VALUES: &'static [Self] = &[ + Self::NOT_SUPPORTED, + Self::NOT_CALIBRATED, + Self::CALIBRATED, + ]; + /// Returns the variant's name or "" if unknown. + pub fn variant_name(self) -> Option<&'static str> { + match self { + Self::NOT_SUPPORTED => Some("NOT_SUPPORTED"), + Self::NOT_CALIBRATED => Some("NOT_CALIBRATED"), + Self::CALIBRATED => Some("CALIBRATED"), + _ => None, + } + } +} +impl core::fmt::Debug for RestCalibrationStatus { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + if let Some(name) = self.variant_name() { + f.write_str(name) + } else { + f.write_fmt(format_args!("", self.0)) + } + } +} +impl<'a> flatbuffers::Follow<'a> for RestCalibrationStatus { + type Inner = Self; + #[inline] + unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { + let b = flatbuffers::read_scalar_at::(buf, loc); + Self(b) + } +} + +impl flatbuffers::Push for RestCalibrationStatus { + type Output = RestCalibrationStatus; + #[inline] + unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { + flatbuffers::emplace_scalar::(dst, self.0); + } +} + +impl flatbuffers::EndianScalar for RestCalibrationStatus { + type Scalar = u8; + #[inline] + fn to_little_endian(self) -> u8 { + self.0.to_le() + } + #[inline] + #[allow(clippy::wrong_self_convention)] + fn from_little_endian(v: u8) -> Self { + let b = u8::from_le(v); + Self(b) + } +} + +impl<'a> flatbuffers::Verifiable for RestCalibrationStatus { + #[inline] + fn run_verifier( + v: &mut flatbuffers::Verifier, pos: usize + ) -> Result<(), flatbuffers::InvalidFlatbuffer> { + use self::flatbuffers::Verifiable; + u8::run_verifier(v, pos) + } +} + +impl flatbuffers::SimpleToVerifyInSlice for RestCalibrationStatus {} diff --git a/protocol/typescript/src/all_generated.ts b/protocol/typescript/src/all_generated.ts index 7a0fad77..a0a7fc7e 100644 --- a/protocol/typescript/src/all_generated.ts +++ b/protocol/typescript/src/all_generated.ts @@ -26,6 +26,7 @@ export { HzF32, HzF32T } from './solarxr-protocol/datatypes/hz-f32.js'; export { Ipv4Address, Ipv4AddressT } from './solarxr-protocol/datatypes/ipv4-address.js'; export { LogData, LogDataT } from './solarxr-protocol/datatypes/log-data.js'; export { MagnetometerStatus } from './solarxr-protocol/datatypes/magnetometer-status.js'; +export { RestCalibrationStatus } from './solarxr-protocol/datatypes/rest-calibration-status.js'; export { StringTable, StringTableT } from './solarxr-protocol/datatypes/string-table.js'; export { Temperature, TemperatureT } from './solarxr-protocol/datatypes/temperature.js'; export { TrackerId, TrackerIdT } from './solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts index 29c386aa..fdc18316 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts @@ -5,6 +5,7 @@ import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../../solarxr-protocol/datatypes/body-part.js'; import { HzF32, HzF32T } from '../../../solarxr-protocol/datatypes/hz-f32.js'; import { MagnetometerStatus } from '../../../solarxr-protocol/datatypes/magnetometer-status.js'; +import { RestCalibrationStatus } from '../../../solarxr-protocol/datatypes/rest-calibration-status.js'; import { ImuType } from '../../../solarxr-protocol/datatypes/hardware-info/imu-type.js'; import { TrackerDataType } from '../../../solarxr-protocol/datatypes/hardware-info/tracker-data-type.js'; import { Quat, QuatT } from '../../../solarxr-protocol/datatypes/math/quat.js'; @@ -143,8 +144,13 @@ dataSupport():TrackerDataType { return offset ? this.bb!.readUint8(this.bb_pos + offset) : TrackerDataType.ROTATION; } +restCalibrationStatus():RestCalibrationStatus { + const offset = this.bb!.__offset(this.bb_pos, 32); + return offset ? this.bb!.readUint8(this.bb_pos + offset) : RestCalibrationStatus.NOT_SUPPORTED; +} + static startTrackerInfo(builder:flatbuffers.Builder) { - builder.startObject(14); + builder.startObject(15); } static addImuType(builder:flatbuffers.Builder, imuType:ImuType) { @@ -203,6 +209,10 @@ static addDataSupport(builder:flatbuffers.Builder, dataSupport:TrackerDataType) builder.addFieldInt8(13, dataSupport, TrackerDataType.ROTATION); } +static addRestCalibrationStatus(builder:flatbuffers.Builder, restCalibrationStatus:RestCalibrationStatus) { + builder.addFieldInt8(14, restCalibrationStatus, RestCalibrationStatus.NOT_SUPPORTED); +} + static endTrackerInfo(builder:flatbuffers.Builder):flatbuffers.Offset { const offset = builder.endObject(); return offset; @@ -224,7 +234,8 @@ unpack(): TrackerInfoT { (this.mountingResetOrientation() !== null ? this.mountingResetOrientation()!.unpack() : null), this.isHmd(), this.magnetometer(), - this.dataSupport() + this.dataSupport(), + this.restCalibrationStatus() ); } @@ -244,6 +255,7 @@ unpackTo(_o: TrackerInfoT): void { _o.isHmd = this.isHmd(); _o.magnetometer = this.magnetometer(); _o.dataSupport = this.dataSupport(); + _o.restCalibrationStatus = this.restCalibrationStatus(); } } @@ -262,7 +274,8 @@ constructor( public mountingResetOrientation: QuatT|null = null, public isHmd: boolean = false, public magnetometer: MagnetometerStatus = MagnetometerStatus.NOT_SUPPORTED, - public dataSupport: TrackerDataType = TrackerDataType.ROTATION + public dataSupport: TrackerDataType = TrackerDataType.ROTATION, + public restCalibrationStatus: RestCalibrationStatus = RestCalibrationStatus.NOT_SUPPORTED ){} @@ -285,6 +298,7 @@ pack(builder:flatbuffers.Builder): flatbuffers.Offset { TrackerInfo.addIsHmd(builder, this.isHmd); TrackerInfo.addMagnetometer(builder, this.magnetometer); TrackerInfo.addDataSupport(builder, this.dataSupport); + TrackerInfo.addRestCalibrationStatus(builder, this.restCalibrationStatus); return TrackerInfo.endTrackerInfo(builder); } diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts new file mode 100644 index 00000000..32a654d7 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts @@ -0,0 +1,7 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +export enum RestCalibrationStatus { + NOT_SUPPORTED = 0, + NOT_CALIBRATED = 1, + CALIBRATED = 2 +} diff --git a/schema/data_feed/tracker.fbs b/schema/data_feed/tracker.fbs index a5ffd48b..669ade6d 100644 --- a/schema/data_feed/tracker.fbs +++ b/schema/data_feed/tracker.fbs @@ -114,4 +114,6 @@ table TrackerInfo { /// Indicates what type of data the tracker sends (note: it always ends up being rotation in the end) data_support: solarxr_protocol.datatypes.hardware_info.TrackerDataType; + + rest_calibration_status: solarxr_protocol.datatypes.RestCalibrationStatus; } diff --git a/schema/datatypes/datatypes.fbs b/schema/datatypes/datatypes.fbs index bb388612..28f527c9 100644 --- a/schema/datatypes/datatypes.fbs +++ b/schema/datatypes/datatypes.fbs @@ -187,3 +187,9 @@ enum MagnetometerStatus: uint8 { DISABLED = 1, ENABLED = 2, } + +enum RestCalibrationStatus: uint8 { + NOT_SUPPORTED = 0, + NOT_CALIBRATED = 1, + CALIBRATED = 2, +} From 128872d3e5af5be4bddb8f1f3d403b523a3ac4df Mon Sep 17 00:00:00 2001 From: Sebastina Date: Wed, 8 Oct 2025 03:05:13 -0500 Subject: [PATCH 2/9] Added toe entries. --- .../java/src/solarxr_protocol/datatypes/BodyPart.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java index 051104c5..af2ed3a6 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java +++ b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java @@ -62,8 +62,14 @@ private BodyPart() { } public static final int RIGHT_LITTLE_PROXIMAL = 52; public static final int RIGHT_LITTLE_INTERMEDIATE = 53; public static final int RIGHT_LITTLE_DISTAL = 54; + public static final int LEFT_TOE_1 = 55; + public static final int LEFT_TOE_2 = 56; + public static final int LEFT_TOE_3 = 57; + public static final int RIGHT_TOE_1 = 58; + public static final int RIGHT_TOE_2 = 59; + public static final int RIGHT_TOE_3 = 60; - public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", }; + public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3" }; public static String name(int e) { return names[e]; } } From d49a94327b01ee475902ea7a66904615c10ab44a Mon Sep 17 00:00:00 2001 From: Sebastina Date: Wed, 8 Oct 2025 19:17:40 -0500 Subject: [PATCH 3/9] Recompile flatbuffers with toe entries. --- generate-flatbuffer-windows.ps1 | 16 + .../generated/all_generated.h | 3855 +++++++++-------- .../java/gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 59821 bytes .../src/solarxr_protocol/MessageBundle.java | 22 +- .../src/solarxr_protocol/MessageBundleT.java | 20 +- .../src/solarxr_protocol/data_feed/Bone.java | 22 +- .../src/solarxr_protocol/data_feed/BoneT.java | 20 +- .../data_feed/DataFeedConfig.java | 22 +- .../data_feed/DataFeedConfigT.java | 20 +- .../data_feed/DataFeedMessageHeader.java | 22 +- .../data_feed/DataFeedMessageHeaderT.java | 20 +- .../data_feed/DataFeedUpdate.java | 22 +- .../data_feed/DataFeedUpdateT.java | 20 +- .../data_feed/PollDataFeed.java | 22 +- .../data_feed/PollDataFeedT.java | 20 +- .../data_feed/StartDataFeed.java | 22 +- .../data_feed/StartDataFeedT.java | 20 +- .../data_feed/device_data/DeviceData.java | 22 +- .../data_feed/device_data/DeviceDataMask.java | 22 +- .../device_data/DeviceDataMaskT.java | 20 +- .../data_feed/device_data/DeviceDataT.java | 20 +- .../stay_aligned/StayAlignedPose.java | 22 +- .../stay_aligned/StayAlignedPoseT.java | 20 +- .../stay_aligned/StayAlignedTracker.java | 22 +- .../stay_aligned/StayAlignedTrackerT.java | 20 +- .../data_feed/tracker/TrackerData.java | 22 +- .../data_feed/tracker/TrackerDataMask.java | 22 +- .../data_feed/tracker/TrackerDataMaskT.java | 20 +- .../data_feed/tracker/TrackerDataT.java | 20 +- .../data_feed/tracker/TrackerInfo.java | 22 +- .../data_feed/tracker/TrackerInfoT.java | 20 +- .../solarxr_protocol/datatypes/BodyPart.java | 8 +- .../src/solarxr_protocol/datatypes/Bytes.java | 22 +- .../solarxr_protocol/datatypes/BytesT.java | 20 +- .../solarxr_protocol/datatypes/DeviceId.java | 20 +- .../solarxr_protocol/datatypes/DeviceIdT.java | 20 +- .../datatypes/DeviceIdTable.java | 22 +- .../datatypes/DeviceIdTableT.java | 20 +- .../src/solarxr_protocol/datatypes/HzF32.java | 20 +- .../solarxr_protocol/datatypes/HzF32T.java | 20 +- .../datatypes/Ipv4Address.java | 20 +- .../datatypes/Ipv4AddressT.java | 20 +- .../solarxr_protocol/datatypes/LogData.java | 22 +- .../solarxr_protocol/datatypes/LogDataT.java | 20 +- .../datatypes/StringTable.java | 22 +- .../datatypes/StringTableT.java | 20 +- .../datatypes/Temperature.java | 20 +- .../datatypes/TemperatureT.java | 20 +- .../solarxr_protocol/datatypes/TrackerId.java | 22 +- .../datatypes/TrackerIdT.java | 20 +- .../datatypes/TransactionId.java | 20 +- .../datatypes/TransactionIdT.java | 20 +- .../hardware_info/FirmwareStatusMask.java | 22 +- .../hardware_info/FirmwareStatusMaskT.java | 20 +- .../hardware_info/HardwareAddress.java | 20 +- .../hardware_info/HardwareAddressT.java | 20 +- .../datatypes/hardware_info/HardwareInfo.java | 22 +- .../hardware_info/HardwareInfoT.java | 20 +- .../hardware_info/HardwareStatus.java | 22 +- .../hardware_info/HardwareStatusT.java | 20 +- .../solarxr_protocol/datatypes/math/Quat.java | 20 +- .../datatypes/math/QuatT.java | 20 +- .../datatypes/math/Vec3f.java | 20 +- .../datatypes/math/Vec3fT.java | 20 +- .../solarxr_protocol/pub_sub/KeyValues.java | 22 +- .../solarxr_protocol/pub_sub/KeyValuesT.java | 20 +- .../src/solarxr_protocol/pub_sub/Message.java | 22 +- .../solarxr_protocol/pub_sub/MessageT.java | 20 +- .../pub_sub/PubSubHeader.java | 22 +- .../pub_sub/PubSubHeaderT.java | 20 +- .../pub_sub/SubscriptionRequest.java | 22 +- .../pub_sub/SubscriptionRequestT.java | 20 +- .../solarxr_protocol/pub_sub/TopicHandle.java | 22 +- .../pub_sub/TopicHandleRequest.java | 22 +- .../pub_sub/TopicHandleRequestT.java | 20 +- .../pub_sub/TopicHandleT.java | 20 +- .../src/solarxr_protocol/pub_sub/TopicId.java | 22 +- .../solarxr_protocol/pub_sub/TopicIdT.java | 20 +- .../pub_sub/TopicMapping.java | 22 +- .../pub_sub/TopicMappingT.java | 20 +- .../rpc/AddUnknownDeviceRequest.java | 22 +- .../rpc/AddUnknownDeviceRequestT.java | 20 +- .../rpc/AssignTrackerRequest.java | 22 +- .../rpc/AssignTrackerRequestT.java | 20 +- .../rpc/AutoBoneApplyRequest.java | 22 +- .../rpc/AutoBoneApplyRequestT.java | 20 +- .../rpc/AutoBoneCancelRecordingRequest.java | 22 +- .../rpc/AutoBoneCancelRecordingRequestT.java | 20 +- .../rpc/AutoBoneEpochResponse.java | 22 +- .../rpc/AutoBoneEpochResponseT.java | 20 +- .../rpc/AutoBoneProcessRequest.java | 22 +- .../rpc/AutoBoneProcessRequestT.java | 20 +- .../rpc/AutoBoneProcessStatusResponse.java | 22 +- .../rpc/AutoBoneProcessStatusResponseT.java | 20 +- .../rpc/AutoBoneSettings.java | 22 +- .../rpc/AutoBoneSettingsT.java | 20 +- .../rpc/AutoBoneStopRecordingRequest.java | 22 +- .../rpc/AutoBoneStopRecordingRequestT.java | 20 +- .../rpc/ChangeMagToggleRequest.java | 22 +- .../rpc/ChangeMagToggleRequestT.java | 20 +- .../rpc/ChangeSettingsRequest.java | 22 +- .../rpc/ChangeSettingsRequestT.java | 20 +- .../rpc/ChangeSkeletonConfigRequest.java | 22 +- .../rpc/ChangeSkeletonConfigRequestT.java | 20 +- .../rpc/ClearDriftCompensationRequest.java | 22 +- .../rpc/ClearDriftCompensationRequestT.java | 20 +- .../rpc/ClearMountingResetRequest.java | 22 +- .../rpc/ClearMountingResetRequestT.java | 20 +- .../rpc/CloseSerialRequest.java | 22 +- .../rpc/CloseSerialRequestT.java | 20 +- .../DetectStayAlignedRelaxedPoseRequest.java | 22 +- .../DetectStayAlignedRelaxedPoseRequestT.java | 20 +- .../rpc/DriftCompensationSettings.java | 22 +- .../rpc/DriftCompensationSettingsT.java | 20 +- .../rpc/EnableStayAlignedRequest.java | 22 +- .../rpc/EnableStayAlignedRequestT.java | 20 +- .../rpc/FilteringSettings.java | 22 +- .../rpc/FilteringSettingsT.java | 20 +- .../solarxr_protocol/rpc/FirmwarePart.java | 22 +- .../solarxr_protocol/rpc/FirmwarePartT.java | 20 +- .../rpc/FirmwareUpdateRequest.java | 22 +- .../rpc/FirmwareUpdateRequestT.java | 20 +- .../rpc/FirmwareUpdateStatusResponse.java | 22 +- .../rpc/FirmwareUpdateStatusResponseT.java | 20 +- .../rpc/FirmwareUpdateStopQueuesRequest.java | 22 +- .../rpc/FirmwareUpdateStopQueuesRequestT.java | 20 +- .../rpc/ForgetDeviceRequest.java | 22 +- .../rpc/ForgetDeviceRequestT.java | 20 +- .../rpc/HeartbeatRequest.java | 22 +- .../rpc/HeartbeatRequestT.java | 20 +- .../rpc/HeartbeatResponse.java | 22 +- .../rpc/HeartbeatResponseT.java | 20 +- .../solarxr_protocol/rpc/HeightRequest.java | 22 +- .../solarxr_protocol/rpc/HeightRequestT.java | 20 +- .../solarxr_protocol/rpc/HeightResponse.java | 22 +- .../solarxr_protocol/rpc/HeightResponseT.java | 20 +- .../rpc/LegTweaksTmpChange.java | 22 +- .../rpc/LegTweaksTmpChangeT.java | 20 +- .../rpc/LegTweaksTmpClear.java | 22 +- .../rpc/LegTweaksTmpClearT.java | 20 +- .../rpc/MagToggleRequest.java | 22 +- .../rpc/MagToggleRequestT.java | 20 +- .../rpc/MagToggleResponse.java | 22 +- .../rpc/MagToggleResponseT.java | 20 +- .../rpc/NewSerialDeviceResponse.java | 22 +- .../rpc/NewSerialDeviceResponseT.java | 20 +- .../rpc/OSCRouterSettings.java | 22 +- .../rpc/OSCRouterSettingsT.java | 20 +- .../src/solarxr_protocol/rpc/OSCSettings.java | 22 +- .../solarxr_protocol/rpc/OSCSettingsT.java | 20 +- .../rpc/OSCTrackersSetting.java | 22 +- .../rpc/OSCTrackersSettingT.java | 20 +- .../rpc/OTAFirmwareUpdate.java | 22 +- .../rpc/OTAFirmwareUpdateT.java | 20 +- .../rpc/OpenSerialRequest.java | 22 +- .../rpc/OpenSerialRequestT.java | 20 +- .../rpc/OverlayDisplayModeChangeRequest.java | 22 +- .../rpc/OverlayDisplayModeChangeRequestT.java | 20 +- .../rpc/OverlayDisplayModeRequest.java | 22 +- .../rpc/OverlayDisplayModeRequestT.java | 20 +- .../rpc/OverlayDisplayModeResponse.java | 22 +- .../rpc/OverlayDisplayModeResponseT.java | 20 +- .../rpc/RecordBVHRequest.java | 22 +- .../rpc/RecordBVHRequestT.java | 20 +- .../solarxr_protocol/rpc/RecordBVHStatus.java | 22 +- .../rpc/RecordBVHStatusRequest.java | 22 +- .../rpc/RecordBVHStatusRequestT.java | 20 +- .../rpc/RecordBVHStatusT.java | 20 +- .../solarxr_protocol/rpc/ResetRequest.java | 22 +- .../solarxr_protocol/rpc/ResetRequestT.java | 20 +- .../solarxr_protocol/rpc/ResetResponse.java | 22 +- .../solarxr_protocol/rpc/ResetResponseT.java | 20 +- .../ResetStayAlignedRelaxedPoseRequest.java | 22 +- .../ResetStayAlignedRelaxedPoseRequestT.java | 20 +- .../solarxr_protocol/rpc/ResetsSettings.java | 22 +- .../solarxr_protocol/rpc/ResetsSettingsT.java | 20 +- .../rpc/RpcMessageHeader.java | 22 +- .../rpc/RpcMessageHeaderT.java | 20 +- .../rpc/SaveFileNotification.java | 22 +- .../rpc/SaveFileNotificationT.java | 20 +- .../solarxr_protocol/rpc/SerialDevice.java | 22 +- .../rpc/SerialDevicePort.java | 22 +- .../rpc/SerialDevicePortT.java | 20 +- .../solarxr_protocol/rpc/SerialDeviceT.java | 20 +- .../rpc/SerialDevicesRequest.java | 22 +- .../rpc/SerialDevicesRequestT.java | 20 +- .../rpc/SerialDevicesResponse.java | 22 +- .../rpc/SerialDevicesResponseT.java | 20 +- .../rpc/SerialFirmwareUpdate.java | 22 +- .../rpc/SerialFirmwareUpdateT.java | 20 +- .../SerialTrackerCustomCommandRequest.java | 22 +- .../SerialTrackerCustomCommandRequestT.java | 20 +- .../rpc/SerialTrackerFactoryResetRequest.java | 22 +- .../SerialTrackerFactoryResetRequestT.java | 20 +- .../rpc/SerialTrackerGetInfoRequest.java | 22 +- .../rpc/SerialTrackerGetInfoRequestT.java | 20 +- .../rpc/SerialTrackerGetWifiScanRequest.java | 22 +- .../rpc/SerialTrackerGetWifiScanRequestT.java | 20 +- .../rpc/SerialTrackerRebootRequest.java | 22 +- .../rpc/SerialTrackerRebootRequestT.java | 20 +- .../rpc/SerialUpdateResponse.java | 22 +- .../rpc/SerialUpdateResponseT.java | 20 +- .../rpc/ServerInfosRequest.java | 22 +- .../rpc/ServerInfosRequestT.java | 20 +- .../rpc/ServerInfosResponse.java | 22 +- .../rpc/ServerInfosResponseT.java | 20 +- .../rpc/SetPauseTrackingRequest.java | 22 +- .../rpc/SetPauseTrackingRequestT.java | 20 +- .../solarxr_protocol/rpc/SetWifiRequest.java | 22 +- .../solarxr_protocol/rpc/SetWifiRequestT.java | 20 +- .../solarxr_protocol/rpc/SettingsRequest.java | 22 +- .../rpc/SettingsRequestT.java | 20 +- .../rpc/SettingsResetRequest.java | 22 +- .../rpc/SettingsResetRequestT.java | 20 +- .../rpc/SettingsResponse.java | 22 +- .../rpc/SettingsResponseT.java | 20 +- .../solarxr_protocol/rpc/SkeletonBone.java | 8 +- .../rpc/SkeletonConfigRequest.java | 22 +- .../rpc/SkeletonConfigRequestT.java | 20 +- .../rpc/SkeletonConfigResponse.java | 22 +- .../rpc/SkeletonConfigResponseT.java | 20 +- .../solarxr_protocol/rpc/SkeletonPart.java | 22 +- .../solarxr_protocol/rpc/SkeletonPartT.java | 20 +- .../rpc/SkeletonResetAllRequest.java | 22 +- .../rpc/SkeletonResetAllRequestT.java | 20 +- .../rpc/StartWifiProvisioningRequest.java | 22 +- .../rpc/StartWifiProvisioningRequestT.java | 20 +- .../solarxr_protocol/rpc/StatusMessage.java | 22 +- .../solarxr_protocol/rpc/StatusMessageT.java | 20 +- .../rpc/StatusPublicNetwork.java | 22 +- .../rpc/StatusPublicNetworkT.java | 20 +- .../rpc/StatusSteamVRDisconnected.java | 22 +- .../rpc/StatusSteamVRDisconnectedT.java | 20 +- .../rpc/StatusSystemFixed.java | 22 +- .../rpc/StatusSystemFixedT.java | 20 +- .../rpc/StatusSystemRequest.java | 22 +- .../rpc/StatusSystemRequestT.java | 20 +- .../rpc/StatusSystemResponse.java | 22 +- .../rpc/StatusSystemResponseT.java | 20 +- .../rpc/StatusSystemUpdate.java | 22 +- .../rpc/StatusSystemUpdateT.java | 20 +- .../rpc/StatusTrackerError.java | 22 +- .../rpc/StatusTrackerErrorT.java | 20 +- .../rpc/StatusTrackerReset.java | 22 +- .../rpc/StatusTrackerResetT.java | 20 +- .../rpc/StatusUnassignedHMD.java | 22 +- .../rpc/StatusUnassignedHMDT.java | 20 +- .../rpc/StayAlignedSettings.java | 22 +- .../rpc/StayAlignedSettingsT.java | 20 +- .../rpc/SteamVRTrackersSetting.java | 22 +- .../rpc/SteamVRTrackersSettingT.java | 20 +- .../rpc/StopWifiProvisioningRequest.java | 22 +- .../rpc/StopWifiProvisioningRequestT.java | 20 +- .../rpc/TapDetectionSettings.java | 22 +- .../rpc/TapDetectionSettingsT.java | 20 +- .../rpc/TapDetectionSetupNotification.java | 22 +- .../rpc/TapDetectionSetupNotificationT.java | 20 +- .../rpc/TrackingPauseStateRequest.java | 22 +- .../rpc/TrackingPauseStateRequestT.java | 20 +- .../rpc/TrackingPauseStateResponse.java | 22 +- .../rpc/TrackingPauseStateResponseT.java | 20 +- .../UnknownDeviceHandshakeNotification.java | 22 +- .../UnknownDeviceHandshakeNotificationT.java | 20 +- .../solarxr_protocol/rpc/VMCOSCSettings.java | 22 +- .../solarxr_protocol/rpc/VMCOSCSettingsT.java | 20 +- .../rpc/VRCConfigRecommendedValues.java | 22 +- .../rpc/VRCConfigRecommendedValuesT.java | 20 +- .../rpc/VRCConfigStateChangeResponse.java | 22 +- .../rpc/VRCConfigStateChangeResponseT.java | 20 +- .../rpc/VRCConfigStateRequest.java | 22 +- .../rpc/VRCConfigStateRequestT.java | 20 +- .../rpc/VRCConfigValidity.java | 22 +- .../rpc/VRCConfigValidityT.java | 20 +- .../solarxr_protocol/rpc/VRCConfigValues.java | 22 +- .../rpc/VRCConfigValuesT.java | 20 +- .../solarxr_protocol/rpc/VRCOSCSettings.java | 22 +- .../solarxr_protocol/rpc/VRCOSCSettingsT.java | 20 +- .../rpc/WifiProvisioningStatusResponse.java | 22 +- .../rpc/WifiProvisioningStatusResponseT.java | 20 +- .../rpc/settings/LegTweaksSettings.java | 22 +- .../rpc/settings/LegTweaksSettingsT.java | 20 +- .../rpc/settings/ModelRatios.java | 22 +- .../rpc/settings/ModelRatiosT.java | 20 +- .../rpc/settings/ModelSettings.java | 22 +- .../rpc/settings/ModelSettingsT.java | 20 +- .../rpc/settings/ModelToggles.java | 22 +- .../rpc/settings/ModelTogglesT.java | 20 +- .../rpc/settings/SkeletonHeight.java | 22 +- .../rpc/settings/SkeletonHeightT.java | 20 +- .../src/solarxr_protocol/MessageBundle.kt | 18 +- .../src/solarxr_protocol/data_feed/Bone.kt | 18 +- .../data_feed/DataFeedConfig.kt | 18 +- .../data_feed/DataFeedMessage.kt | 3 - .../data_feed/DataFeedMessageHeader.kt | 18 +- .../data_feed/DataFeedUpdate.kt | 18 +- .../data_feed/PollDataFeed.kt | 18 +- .../data_feed/StartDataFeed.kt | 18 +- .../data_feed/device_data/DeviceData.kt | 24 +- .../data_feed/device_data/DeviceDataMask.kt | 18 +- .../data_feed/stay_aligned/StayAlignedPose.kt | 18 +- .../stay_aligned/StayAlignedTracker.kt | 18 +- .../data_feed/tracker/TrackerData.kt | 18 +- .../data_feed/tracker/TrackerDataMask.kt | 18 +- .../data_feed/tracker/TrackerInfo.kt | 30 +- .../solarxr_protocol/datatypes/BodyPart.kt | 97 +- .../src/solarxr_protocol/datatypes/Bytes.kt | 19 +- .../solarxr_protocol/datatypes/DeviceId.kt | 16 +- .../datatypes/DeviceIdTable.kt | 18 +- .../datatypes/FilteringType.kt | 3 - .../datatypes/FirmwareErrorCode.kt | 3 - .../src/solarxr_protocol/datatypes/HzF32.kt | 16 +- .../solarxr_protocol/datatypes/Ipv4Address.kt | 16 +- .../src/solarxr_protocol/datatypes/LogData.kt | 25 +- .../datatypes/MagnetometerStatus.kt | 5 +- .../datatypes/RestCalibrationStatus.kt | 7 +- .../solarxr_protocol/datatypes/StringTable.kt | 24 +- .../solarxr_protocol/datatypes/Temperature.kt | 16 +- .../solarxr_protocol/datatypes/TrackerId.kt | 18 +- .../solarxr_protocol/datatypes/TrackerRole.kt | 29 +- .../datatypes/TrackerStatus.kt | 5 +- .../datatypes/TransactionId.kt | 16 +- .../datatypes/hardware_info/BoardType.kt | 18 +- .../hardware_info/FirmwareStatusMask.kt | 18 +- .../hardware_info/HardwareAddress.kt | 16 +- .../datatypes/hardware_info/HardwareInfo.kt | 60 +- .../datatypes/hardware_info/HardwareStatus.kt | 18 +- .../datatypes/hardware_info/ImuType.kt | 4 +- .../datatypes/hardware_info/McuType.kt | 8 +- .../hardware_info/TrackerDataType.kt | 7 +- .../solarxr_protocol/datatypes/math/Quat.kt | 16 +- .../solarxr_protocol/datatypes/math/Vec3f.kt | 16 +- .../src/solarxr_protocol/pub_sub/KeyValues.kt | 18 +- .../src/solarxr_protocol/pub_sub/Message.kt | 18 +- .../src/solarxr_protocol/pub_sub/Payload.kt | 7 +- .../solarxr_protocol/pub_sub/PubSubHeader.kt | 18 +- .../solarxr_protocol/pub_sub/PubSubUnion.kt | 3 - .../pub_sub/SubscriptionRequest.kt | 18 +- .../src/solarxr_protocol/pub_sub/Topic.kt | 3 - .../solarxr_protocol/pub_sub/TopicHandle.kt | 18 +- .../pub_sub/TopicHandleRequest.kt | 18 +- .../src/solarxr_protocol/pub_sub/TopicId.kt | 36 +- .../solarxr_protocol/pub_sub/TopicMapping.kt | 18 +- .../rpc/AddUnknownDeviceRequest.kt | 24 +- .../rpc/ArmsMountingResetMode.kt | 7 +- .../rpc/AssignTrackerRequest.kt | 24 +- .../rpc/AutoBoneApplyRequest.kt | 18 +- .../rpc/AutoBoneCancelRecordingRequest.kt | 18 +- .../rpc/AutoBoneEpochResponse.kt | 18 +- .../rpc/AutoBoneProcessRequest.kt | 18 +- .../rpc/AutoBoneProcessStatusResponse.kt | 18 +- .../rpc/AutoBoneProcessType.kt | 3 - .../solarxr_protocol/rpc/AutoBoneSettings.kt | 18 +- .../rpc/AutoBoneStopRecordingRequest.kt | 18 +- .../rpc/ChangeMagToggleRequest.kt | 18 +- .../rpc/ChangeSettingsRequest.kt | 18 +- .../rpc/ChangeSkeletonConfigRequest.kt | 18 +- .../rpc/ClearDriftCompensationRequest.kt | 18 +- .../rpc/ClearMountingResetRequest.kt | 18 +- .../rpc/CloseSerialRequest.kt | 18 +- .../solarxr_protocol/rpc/ComputerDirectory.kt | 3 - .../DetectStayAlignedRelaxedPoseRequest.kt | 18 +- .../rpc/DriftCompensationSettings.kt | 18 +- .../rpc/EnableStayAlignedRequest.kt | 18 +- .../solarxr_protocol/rpc/FilteringSettings.kt | 18 +- .../src/solarxr_protocol/rpc/FirmwarePart.kt | 24 +- .../rpc/FirmwareUpdateDeviceId.kt | 5 +- .../rpc/FirmwareUpdateMethod.kt | 3 - .../rpc/FirmwareUpdateRequest.kt | 18 +- .../rpc/FirmwareUpdateStatus.kt | 23 +- .../rpc/FirmwareUpdateStatusResponse.kt | 18 +- .../rpc/FirmwareUpdateStopQueuesRequest.kt | 18 +- .../rpc/ForgetDeviceRequest.kt | 24 +- .../solarxr_protocol/rpc/HeartbeatRequest.kt | 18 +- .../solarxr_protocol/rpc/HeartbeatResponse.kt | 18 +- .../src/solarxr_protocol/rpc/HeightRequest.kt | 18 +- .../solarxr_protocol/rpc/HeightResponse.kt | 18 +- .../rpc/LegTweaksTmpChange.kt | 18 +- .../solarxr_protocol/rpc/LegTweaksTmpClear.kt | 18 +- .../solarxr_protocol/rpc/MagToggleRequest.kt | 18 +- .../solarxr_protocol/rpc/MagToggleResponse.kt | 18 +- .../rpc/NewSerialDeviceResponse.kt | 18 +- .../solarxr_protocol/rpc/OSCRouterSettings.kt | 18 +- .../src/solarxr_protocol/rpc/OSCSettings.kt | 24 +- .../rpc/OSCTrackersSetting.kt | 18 +- .../solarxr_protocol/rpc/OTAFirmwareUpdate.kt | 18 +- .../solarxr_protocol/rpc/OpenSerialRequest.kt | 24 +- .../rpc/OverlayDisplayModeChangeRequest.kt | 18 +- .../rpc/OverlayDisplayModeRequest.kt | 18 +- .../rpc/OverlayDisplayModeResponse.kt | 18 +- .../solarxr_protocol/rpc/RecordBVHRequest.kt | 24 +- .../solarxr_protocol/rpc/RecordBVHStatus.kt | 18 +- .../rpc/RecordBVHStatusRequest.kt | 18 +- .../src/solarxr_protocol/rpc/ResetRequest.kt | 19 +- .../src/solarxr_protocol/rpc/ResetResponse.kt | 18 +- .../src/solarxr_protocol/rpc/ResetStatus.kt | 3 - .../rpc/ResetStayAlignedRelaxedPoseRequest.kt | 18 +- .../src/solarxr_protocol/rpc/ResetType.kt | 3 - .../solarxr_protocol/rpc/ResetsSettings.kt | 18 +- .../solarxr_protocol/rpc/RpcMessageHeader.kt | 18 +- .../rpc/SaveFileNotification.kt | 37 +- .../src/solarxr_protocol/rpc/SerialDevice.kt | 30 +- .../solarxr_protocol/rpc/SerialDevicePort.kt | 24 +- .../rpc/SerialDevicesRequest.kt | 18 +- .../rpc/SerialDevicesResponse.kt | 18 +- .../rpc/SerialFirmwareUpdate.kt | 30 +- .../rpc/SerialTrackerCustomCommandRequest.kt | 24 +- .../rpc/SerialTrackerFactoryResetRequest.kt | 18 +- .../rpc/SerialTrackerGetInfoRequest.kt | 18 +- .../rpc/SerialTrackerGetWifiScanRequest.kt | 18 +- .../rpc/SerialTrackerRebootRequest.kt | 18 +- .../rpc/SerialUpdateResponse.kt | 24 +- .../rpc/ServerInfosRequest.kt | 18 +- .../rpc/ServerInfosResponse.kt | 24 +- .../rpc/SetPauseTrackingRequest.kt | 18 +- .../solarxr_protocol/rpc/SetWifiRequest.kt | 30 +- .../solarxr_protocol/rpc/SettingsRequest.kt | 18 +- .../rpc/SettingsResetRequest.kt | 18 +- .../solarxr_protocol/rpc/SettingsResponse.kt | 18 +- .../src/solarxr_protocol/rpc/SkeletonBone.kt | 41 +- .../rpc/SkeletonConfigRequest.kt | 18 +- .../rpc/SkeletonConfigResponse.kt | 18 +- .../src/solarxr_protocol/rpc/SkeletonPart.kt | 18 +- .../rpc/SkeletonResetAllRequest.kt | 18 +- .../rpc/StartWifiProvisioningRequest.kt | 36 +- .../src/solarxr_protocol/rpc/StatusData.kt | 3 - .../src/solarxr_protocol/rpc/StatusMessage.kt | 18 +- .../rpc/StatusPublicNetwork.kt | 18 +- .../rpc/StatusSteamVRDisconnected.kt | 24 +- .../solarxr_protocol/rpc/StatusSystemFixed.kt | 18 +- .../rpc/StatusSystemRequest.kt | 18 +- .../rpc/StatusSystemResponse.kt | 18 +- .../rpc/StatusSystemUpdate.kt | 18 +- .../rpc/StatusTrackerError.kt | 18 +- .../rpc/StatusTrackerReset.kt | 18 +- .../rpc/StatusUnassignedHMD.kt | 18 +- .../rpc/StayAlignedRelaxedPose.kt | 3 - .../rpc/StayAlignedSettings.kt | 18 +- .../rpc/SteamVRTrackersSetting.kt | 18 +- .../rpc/StopWifiProvisioningRequest.kt | 18 +- .../rpc/TapDetectionSettings.kt | 18 +- .../rpc/TapDetectionSetupNotification.kt | 18 +- .../rpc/TrackingPauseStateRequest.kt | 18 +- .../rpc/TrackingPauseStateResponse.kt | 18 +- .../rpc/UnknownDeviceHandshakeNotification.kt | 24 +- .../solarxr_protocol/rpc/VMCOSCSettings.kt | 24 +- .../rpc/VRCAvatarMeasurementType.kt | 5 +- .../rpc/VRCConfigRecommendedValues.kt | 19 +- .../rpc/VRCConfigStateChangeResponse.kt | 18 +- .../rpc/VRCConfigStateRequest.kt | 18 +- .../solarxr_protocol/rpc/VRCConfigValidity.kt | 18 +- .../solarxr_protocol/rpc/VRCConfigValues.kt | 18 +- .../solarxr_protocol/rpc/VRCOSCSettings.kt | 18 +- .../src/solarxr_protocol/rpc/VRCSpineMode.kt | 9 +- .../solarxr_protocol/rpc/VRCTrackerModel.kt | 3 - .../rpc/WifiProvisioningStatus.kt | 17 +- .../rpc/WifiProvisioningStatusResponse.kt | 18 +- .../rpc/settings/LegTweaksSettings.kt | 18 +- .../rpc/settings/ModelRatios.kt | 18 +- .../rpc/settings/ModelSettings.kt | 18 +- .../rpc/settings/ModelToggles.kt | 18 +- .../rpc/settings/SkeletonHeight.kt | 18 +- .../data_feed/bone_generated.rs | 14 +- .../data_feed/data_feed_config_generated.rs | 12 +- .../data_feed/data_feed_message_generated.rs | 4 +- .../data_feed_message_header_generated.rs | 14 +- .../data_feed/data_feed_update_generated.rs | 12 +- .../device_data/device_data_generated.rs | 14 +- .../device_data/device_data_mask_generated.rs | 14 +- .../data_feed/poll_data_feed_generated.rs | 14 +- .../data_feed/start_data_feed_generated.rs | 14 +- .../stay_aligned_pose_generated.rs | 14 +- .../stay_aligned_tracker_generated.rs | 14 +- .../tracker/tracker_data_generated.rs | 14 +- .../tracker/tracker_data_mask_generated.rs | 14 +- .../tracker/tracker_info_generated.rs | 14 +- .../datatypes/body_part_generated.rs | 4 +- .../datatypes/bytes_generated.rs | 14 +- .../datatypes/device_id_generated.rs | 10 +- .../datatypes/device_id_table_generated.rs | 14 +- .../datatypes/filtering_type_generated.rs | 4 +- .../firmware_error_code_generated.rs | 4 +- .../hardware_info/board_type_generated.rs | 4 +- .../firmware_status_mask_generated.rs | 14 +- .../hardware_address_generated.rs | 10 +- .../hardware_info/hardware_info_generated.rs | 14 +- .../hardware_status_generated.rs | 14 +- .../hardware_info/imu_type_generated.rs | 4 +- .../hardware_info/mcu_type_generated.rs | 4 +- .../tracker_data_type_generated.rs | 4 +- .../datatypes/hz_f32_generated.rs | 10 +- .../datatypes/ipv_4_address_generated.rs | 10 +- .../datatypes/log_data_generated.rs | 14 +- .../magnetometer_status_generated.rs | 4 +- .../datatypes/math/quat_generated.rs | 10 +- .../datatypes/math/vec_3f_generated.rs | 10 +- .../rest_calibration_status_generated.rs | 4 +- .../datatypes/string_table_generated.rs | 14 +- .../datatypes/temperature_generated.rs | 10 +- .../datatypes/tracker_id_generated.rs | 14 +- .../datatypes/tracker_role_generated.rs | 4 +- .../datatypes/tracker_status_generated.rs | 4 +- .../datatypes/transaction_id_generated.rs | 10 +- .../message_bundle_generated.rs | 14 +- .../pub_sub/key_values_generated.rs | 14 +- .../pub_sub/message_generated.rs | 14 +- .../pub_sub/payload_generated.rs | 4 +- .../pub_sub/pub_sub_header_generated.rs | 14 +- .../pub_sub/pub_sub_union_generated.rs | 4 +- .../pub_sub/subscription_request_generated.rs | 14 +- .../pub_sub/topic_generated.rs | 4 +- .../pub_sub/topic_handle_generated.rs | 14 +- .../pub_sub/topic_handle_request_generated.rs | 14 +- .../pub_sub/topic_id_generated.rs | 14 +- .../pub_sub/topic_mapping_generated.rs | 14 +- .../add_unknown_device_request_generated.rs | 14 +- .../rpc/arms_mounting_reset_mode_generated.rs | 4 +- .../rpc/assign_tracker_request_generated.rs | 14 +- .../rpc/auto_bone_apply_request_generated.rs | 14 +- ...bone_cancel_recording_request_generated.rs | 14 +- .../rpc/auto_bone_epoch_response_generated.rs | 14 +- .../auto_bone_process_request_generated.rs | 14 +- ..._bone_process_status_response_generated.rs | 14 +- .../rpc/auto_bone_process_type_generated.rs | 4 +- .../rpc/auto_bone_settings_generated.rs | 14 +- ...o_bone_stop_recording_request_generated.rs | 14 +- .../change_mag_toggle_request_generated.rs | 14 +- .../rpc/change_settings_request_generated.rs | 14 +- ...hange_skeleton_config_request_generated.rs | 14 +- ...ar_drift_compensation_request_generated.rs | 14 +- .../clear_mounting_reset_request_generated.rs | 14 +- .../rpc/close_serial_request_generated.rs | 14 +- .../rpc/computer_directory_generated.rs | 4 +- ..._aligned_relaxed_pose_request_generated.rs | 14 +- .../drift_compensation_settings_generated.rs | 14 +- .../enable_stay_aligned_request_generated.rs | 14 +- .../rpc/filtering_settings_generated.rs | 14 +- .../rpc/firmware_part_generated.rs | 12 +- .../firmware_update_device_id_generated.rs | 4 +- .../rpc/firmware_update_method_generated.rs | 4 +- .../rpc/firmware_update_request_generated.rs | 14 +- .../rpc/firmware_update_status_generated.rs | 4 +- ...rmware_update_status_response_generated.rs | 14 +- ...re_update_stop_queues_request_generated.rs | 14 +- .../rpc/forget_device_request_generated.rs | 14 +- .../rpc/heartbeat_request_generated.rs | 14 +- .../rpc/heartbeat_response_generated.rs | 14 +- .../rpc/height_request_generated.rs | 14 +- .../rpc/height_response_generated.rs | 14 +- .../rpc/leg_tweaks_tmp_change_generated.rs | 14 +- .../rpc/leg_tweaks_tmp_clear_generated.rs | 14 +- .../rpc/mag_toggle_request_generated.rs | 14 +- .../rpc/mag_toggle_response_generated.rs | 14 +- .../new_serial_device_response_generated.rs | 14 +- .../rpc/open_serial_request_generated.rs | 14 +- .../rpc/oscrouter_settings_generated.rs | 14 +- .../rpc/oscsettings_generated.rs | 14 +- .../rpc/osctrackers_setting_generated.rs | 14 +- .../rpc/otafirmware_update_generated.rs | 14 +- ...y_display_mode_change_request_generated.rs | 14 +- .../overlay_display_mode_request_generated.rs | 14 +- ...overlay_display_mode_response_generated.rs | 14 +- .../rpc/record_bvhrequest_generated.rs | 14 +- .../rpc/record_bvhstatus_generated.rs | 14 +- .../rpc/record_bvhstatus_request_generated.rs | 14 +- .../rpc/reset_request_generated.rs | 14 +- .../rpc/reset_response_generated.rs | 8 +- .../rpc/reset_status_generated.rs | 4 +- ..._aligned_relaxed_pose_request_generated.rs | 14 +- .../rpc/reset_type_generated.rs | 4 +- .../rpc/resets_settings_generated.rs | 14 +- .../rpc/rpc_message_generated.rs | 4 +- .../rpc/rpc_message_header_generated.rs | 14 +- .../rpc/save_file_notification_generated.rs | 14 +- .../rpc/serial_device_generated.rs | 14 +- .../rpc/serial_device_port_generated.rs | 14 +- .../rpc/serial_devices_request_generated.rs | 14 +- .../rpc/serial_devices_response_generated.rs | 14 +- .../rpc/serial_firmware_update_generated.rs | 14 +- ...racker_custom_command_request_generated.rs | 14 +- ...tracker_factory_reset_request_generated.rs | 14 +- ...rial_tracker_get_info_request_generated.rs | 14 +- ...tracker_get_wifi_scan_request_generated.rs | 14 +- ...serial_tracker_reboot_request_generated.rs | 14 +- .../rpc/serial_update_response_generated.rs | 14 +- .../rpc/server_infos_request_generated.rs | 14 +- .../rpc/server_infos_response_generated.rs | 14 +- .../set_pause_tracking_request_generated.rs | 14 +- .../rpc/set_wifi_request_generated.rs | 14 +- .../settings/leg_tweaks_settings_generated.rs | 14 +- .../rpc/settings/model_ratios_generated.rs | 14 +- .../rpc/settings/model_settings_generated.rs | 14 +- .../rpc/settings/model_toggles_generated.rs | 14 +- .../rpc/settings/skeleton_height_generated.rs | 14 +- .../rpc/settings_request_generated.rs | 14 +- .../rpc/settings_reset_request_generated.rs | 14 +- .../rpc/settings_response_generated.rs | 14 +- .../rpc/skeleton_bone_generated.rs | 34 +- .../rpc/skeleton_config_request_generated.rs | 14 +- .../rpc/skeleton_config_response_generated.rs | 14 +- .../rpc/skeleton_part_generated.rs | 14 +- .../skeleton_reset_all_request_generated.rs | 14 +- ...art_wifi_provisioning_request_generated.rs | 14 +- .../rpc/status_data_generated.rs | 4 +- .../rpc/status_message_generated.rs | 14 +- .../rpc/status_public_network_generated.rs | 14 +- .../status_steam_vrdisconnected_generated.rs | 14 +- .../rpc/status_system_fixed_generated.rs | 14 +- .../rpc/status_system_request_generated.rs | 14 +- .../rpc/status_system_response_generated.rs | 14 +- .../rpc/status_system_update_generated.rs | 14 +- .../rpc/status_tracker_error_generated.rs | 14 +- .../rpc/status_tracker_reset_generated.rs | 14 +- .../rpc/status_unassigned_hmd_generated.rs | 14 +- .../stay_aligned_relaxed_pose_generated.rs | 4 +- .../rpc/stay_aligned_settings_generated.rs | 14 +- .../rpc/steam_vrtrackers_setting_generated.rs | 14 +- ...top_wifi_provisioning_request_generated.rs | 14 +- .../rpc/tap_detection_settings_generated.rs | 14 +- ..._detection_setup_notification_generated.rs | 14 +- .../tracking_pause_state_request_generated.rs | 14 +- ...tracking_pause_state_response_generated.rs | 14 +- ...device_handshake_notification_generated.rs | 14 +- .../rpc/vmcoscsettings_generated.rs | 14 +- .../vrcavatar_measurement_type_generated.rs | 4 +- .../vrcconfig_recommended_values_generated.rs | 14 +- ...cconfig_state_change_response_generated.rs | 12 +- .../rpc/vrcconfig_state_request_generated.rs | 14 +- .../rpc/vrcconfig_validity_generated.rs | 14 +- .../rpc/vrcconfig_values_generated.rs | 14 +- .../rpc/vrcoscsettings_generated.rs | 14 +- .../rpc/vrcspine_mode_generated.rs | 4 +- .../rpc/vrctracker_model_generated.rs | 4 +- .../rpc/wifi_provisioning_status_generated.rs | 4 +- ..._provisioning_status_response_generated.rs | 14 +- protocol/typescript/src/all.ts | 5 + protocol/typescript/src/solarxr-protocol.ts | 9 + .../src/solarxr-protocol/data-feed.ts | 17 + .../src/solarxr-protocol/data-feed/bone.ts | 2 + .../data-feed/data-feed-config.ts | 2 + .../data-feed/data-feed-message-header.ts | 2 + .../data-feed/data-feed-message.ts | 2 + .../data-feed/data-feed-update.ts | 2 + .../solarxr-protocol/data-feed/device-data.ts | 6 + .../data-feed/device-data/device-data-mask.ts | 2 + .../data-feed/device-data/device-data.ts | 2 + .../data-feed/poll-data-feed.ts | 2 + .../data-feed/start-data-feed.ts | 2 + .../data-feed/stay-aligned.ts | 6 + .../stay-aligned/stay-aligned-pose.ts | 2 + .../stay-aligned/stay-aligned-tracker.ts | 2 + .../src/solarxr-protocol/data-feed/tracker.ts | 7 + .../data-feed/tracker/tracker-data-mask.ts | 2 + .../data-feed/tracker/tracker-data.ts | 4 +- .../data-feed/tracker/tracker-info.ts | 2 + .../src/solarxr-protocol/datatypes.ts | 27 + .../solarxr-protocol/datatypes/body-part.ts | 2 + .../src/solarxr-protocol/datatypes/bytes.ts | 2 + .../datatypes/device-id-table.ts | 2 + .../solarxr-protocol/datatypes/device-id.ts | 2 + .../datatypes/filtering-type.ts | 2 + .../datatypes/firmware-error-code.ts | 2 + .../datatypes/hardware-info.ts | 12 + .../datatypes/hardware-info/board-type.ts | 2 + .../hardware-info/firmware-status-mask.ts | 2 + .../hardware-info/hardware-address.ts | 4 +- .../datatypes/hardware-info/hardware-info.ts | 4 +- .../hardware-info/hardware-status.ts | 14 +- .../datatypes/hardware-info/imu-type.ts | 2 + .../datatypes/hardware-info/mcu-type.ts | 2 + .../hardware-info/tracker-data-type.ts | 2 + .../src/solarxr-protocol/datatypes/hz-f32.ts | 2 + .../datatypes/ipv4-address.ts | 2 + .../solarxr-protocol/datatypes/log-data.ts | 2 + .../datatypes/magnetometer-status.ts | 2 + .../src/solarxr-protocol/datatypes/math.ts | 6 + .../solarxr-protocol/datatypes/math/quat.ts | 2 + .../solarxr-protocol/datatypes/math/vec3f.ts | 2 + .../datatypes/rest-calibration-status.ts | 2 + .../datatypes/string-table.ts | 2 + .../solarxr-protocol/datatypes/temperature.ts | 2 + .../solarxr-protocol/datatypes/tracker-id.ts | 2 + .../datatypes/tracker-role.ts | 2 + .../datatypes/tracker-status.ts | 2 + .../datatypes/transaction-id.ts | 2 + .../src/solarxr-protocol/message-bundle.ts | 2 + .../src/solarxr-protocol/pub-sub.ts | 21 + .../solarxr-protocol/pub-sub/key-values.ts | 2 + .../src/solarxr-protocol/pub-sub/message.ts | 2 + .../src/solarxr-protocol/pub-sub/payload.ts | 2 + .../pub-sub/pub-sub-header.ts | 2 + .../solarxr-protocol/pub-sub/pub-sub-union.ts | 2 + .../pub-sub/subscription-request.ts | 2 + .../pub-sub/topic-handle-request.ts | 2 + .../solarxr-protocol/pub-sub/topic-handle.ts | 2 + .../src/solarxr-protocol/pub-sub/topic-id.ts | 2 + .../solarxr-protocol/pub-sub/topic-mapping.ts | 2 + .../src/solarxr-protocol/pub-sub/topic.ts | 2 + .../typescript/src/solarxr-protocol/rpc.ts | 125 + .../rpc/add-unknown-device-request.ts | 2 + .../rpc/arms-mounting-reset-mode.ts | 2 + .../rpc/assign-tracker-request.ts | 2 + .../rpc/auto-bone-apply-request.ts | 2 + .../rpc/auto-bone-cancel-recording-request.ts | 2 + .../rpc/auto-bone-epoch-response.ts | 2 + .../rpc/auto-bone-process-request.ts | 2 + .../rpc/auto-bone-process-status-response.ts | 2 + .../rpc/auto-bone-process-type.ts | 2 + .../rpc/auto-bone-settings.ts | 46 +- .../rpc/auto-bone-stop-recording-request.ts | 2 + .../rpc/change-mag-toggle-request.ts | 2 + .../rpc/change-settings-request.ts | 2 + .../rpc/change-skeleton-config-request.ts | 2 + .../rpc/clear-drift-compensation-request.ts | 2 + .../rpc/clear-mounting-reset-request.ts | 2 + .../rpc/close-serial-request.ts | 2 + .../rpc/computer-directory.ts | 2 + ...etect-stay-aligned-relaxed-pose-request.ts | 2 + .../rpc/drift-compensation-settings.ts | 2 + .../rpc/enable-stay-aligned-request.ts | 2 + .../rpc/filtering-settings.ts | 2 + .../src/solarxr-protocol/rpc/firmware-part.ts | 2 + .../rpc/firmware-update-device-id.ts | 2 + .../rpc/firmware-update-method.ts | 2 + .../rpc/firmware-update-request.ts | 2 + .../rpc/firmware-update-status-response.ts | 2 + .../rpc/firmware-update-status.ts | 2 + .../firmware-update-stop-queues-request.ts | 2 + .../rpc/forget-device-request.ts | 2 + .../solarxr-protocol/rpc/heartbeat-request.ts | 2 + .../rpc/heartbeat-response.ts | 2 + .../solarxr-protocol/rpc/height-request.ts | 2 + .../solarxr-protocol/rpc/height-response.ts | 2 + .../rpc/leg-tweaks-tmp-change.ts | 10 +- .../rpc/leg-tweaks-tmp-clear.ts | 2 + .../rpc/mag-toggle-request.ts | 2 + .../rpc/mag-toggle-response.ts | 2 + .../rpc/new-serial-device-response.ts | 2 + .../rpc/open-serial-request.ts | 2 + .../rpc/oscrouter-settings.ts | 2 + .../src/solarxr-protocol/rpc/oscsettings.ts | 2 + .../rpc/osctrackers-setting.ts | 2 + .../rpc/otafirmware-update.ts | 2 + .../overlay-display-mode-change-request.ts | 6 +- .../rpc/overlay-display-mode-request.ts | 2 + .../rpc/overlay-display-mode-response.ts | 2 + .../solarxr-protocol/rpc/record-bvhrequest.ts | 2 + .../rpc/record-bvhstatus-request.ts | 2 + .../solarxr-protocol/rpc/record-bvhstatus.ts | 2 + .../src/solarxr-protocol/rpc/reset-request.ts | 4 +- .../solarxr-protocol/rpc/reset-response.ts | 2 + .../src/solarxr-protocol/rpc/reset-status.ts | 2 + ...reset-stay-aligned-relaxed-pose-request.ts | 2 + .../src/solarxr-protocol/rpc/reset-type.ts | 2 + .../solarxr-protocol/rpc/resets-settings.ts | 2 + .../rpc/rpc-message-header.ts | 2 + .../src/solarxr-protocol/rpc/rpc-message.ts | 2 + .../rpc/save-file-notification.ts | 4 +- .../rpc/serial-device-port.ts | 2 + .../src/solarxr-protocol/rpc/serial-device.ts | 2 + .../rpc/serial-devices-request.ts | 2 + .../rpc/serial-devices-response.ts | 2 + .../rpc/serial-firmware-update.ts | 2 + .../serial-tracker-custom-command-request.ts | 2 + .../serial-tracker-factory-reset-request.ts | 2 + .../rpc/serial-tracker-get-info-request.ts | 2 + .../serial-tracker-get-wifi-scan-request.ts | 2 + .../rpc/serial-tracker-reboot-request.ts | 2 + .../rpc/serial-update-response.ts | 2 + .../rpc/server-infos-request.ts | 2 + .../rpc/server-infos-response.ts | 2 + .../rpc/set-pause-tracking-request.ts | 2 + .../solarxr-protocol/rpc/set-wifi-request.ts | 2 + .../solarxr-protocol/rpc/settings-request.ts | 2 + .../rpc/settings-reset-request.ts | 2 + .../solarxr-protocol/rpc/settings-response.ts | 2 + .../src/solarxr-protocol/rpc/settings.ts | 9 + .../rpc/settings/leg-tweaks-settings.ts | 4 +- .../rpc/settings/model-ratios.ts | 16 +- .../rpc/settings/model-settings.ts | 2 + .../rpc/settings/model-toggles.ts | 26 +- .../rpc/settings/skeleton-height.ts | 6 +- .../src/solarxr-protocol/rpc/skeleton-bone.ts | 10 +- .../rpc/skeleton-config-request.ts | 2 + .../rpc/skeleton-config-response.ts | 2 + .../src/solarxr-protocol/rpc/skeleton-part.ts | 2 + .../rpc/skeleton-reset-all-request.ts | 2 + .../rpc/start-wifi-provisioning-request.ts | 2 + .../src/solarxr-protocol/rpc/status-data.ts | 2 + .../solarxr-protocol/rpc/status-message.ts | 2 + .../rpc/status-public-network.ts | 2 + .../rpc/status-steam-vrdisconnected.ts | 2 + .../rpc/status-system-fixed.ts | 2 + .../rpc/status-system-request.ts | 2 + .../rpc/status-system-response.ts | 2 + .../rpc/status-system-update.ts | 2 + .../rpc/status-tracker-error.ts | 2 + .../rpc/status-tracker-reset.ts | 2 + .../rpc/status-unassigned-hmd.ts | 2 + .../rpc/stay-aligned-relaxed-pose.ts | 2 + .../rpc/stay-aligned-settings.ts | 2 + .../rpc/steam-vrtrackers-setting.ts | 2 + .../rpc/stop-wifi-provisioning-request.ts | 2 + .../rpc/tap-detection-settings.ts | 24 +- .../rpc/tap-detection-setup-notification.ts | 2 + .../rpc/tracking-pause-state-request.ts | 2 + .../rpc/tracking-pause-state-response.ts | 2 + .../unknown-device-handshake-notification.ts | 2 + .../solarxr-protocol/rpc/vmcoscsettings.ts | 2 + .../rpc/vrcavatar-measurement-type.ts | 2 + .../rpc/vrcconfig-recommended-values.ts | 4 +- .../rpc/vrcconfig-state-change-response.ts | 2 + .../rpc/vrcconfig-state-request.ts | 2 + .../rpc/vrcconfig-validity.ts | 2 + .../solarxr-protocol/rpc/vrcconfig-values.ts | 2 + .../solarxr-protocol/rpc/vrcoscsettings.ts | 2 + .../src/solarxr-protocol/rpc/vrcspine-mode.ts | 2 + .../solarxr-protocol/rpc/vrctracker-model.ts | 2 + .../rpc/wifi-provisioning-status-response.ts | 2 + .../rpc/wifi-provisioning-status.ts | 2 + schema/rpc.fbs | 6 + 820 files changed, 10882 insertions(+), 4929 deletions(-) create mode 100644 generate-flatbuffer-windows.ps1 create mode 100644 protocol/java/gradle/wrapper/gradle-wrapper.jar create mode 100644 protocol/typescript/src/all.ts create mode 100644 protocol/typescript/src/solarxr-protocol.ts create mode 100644 protocol/typescript/src/solarxr-protocol/data-feed.ts create mode 100644 protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts create mode 100644 protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts create mode 100644 protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts create mode 100644 protocol/typescript/src/solarxr-protocol/datatypes.ts create mode 100644 protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts create mode 100644 protocol/typescript/src/solarxr-protocol/datatypes/math.ts create mode 100644 protocol/typescript/src/solarxr-protocol/pub-sub.ts create mode 100644 protocol/typescript/src/solarxr-protocol/rpc.ts create mode 100644 protocol/typescript/src/solarxr-protocol/rpc/settings.ts diff --git a/generate-flatbuffer-windows.ps1 b/generate-flatbuffer-windows.ps1 new file mode 100644 index 00000000..7e86b8f9 --- /dev/null +++ b/generate-flatbuffer-windows.ps1 @@ -0,0 +1,16 @@ +$ErrorActionPreference = "Stop" + +# TODO: check flatc version before doing anything + +Remove-Item -ErrorAction Ignore -Recurse protocol/java/src +Remove-Item -ErrorAction Ignore -Recurse protocol/cpp/include/solarxr_protocol/generated +Remove-Item -ErrorAction Ignore -Recurse protocol/typescript/src +Remove-Item -ErrorAction Ignore -Recurse protocol/rust/src/generated +Remove-Item -ErrorAction Ignore -Recurse protocol/kotlin/src + + +& "flatc" --java --gen-object-api --gen-all -o protocol/java/src -I ./schema/ ./schema/all.fbs +& "flatc" --cpp --scoped-enums --gen-all -o protocol/cpp/include/solarxr_protocol/generated -I ./schema/ ./schema/all.fbs +& "flatc" --ts --gen-object-api --gen-all -o protocol/typescript/src -I ./schema/ ./schema/all.fbs +& "flatc" --rust --rust-module-root-file --gen-all -o protocol/rust/src/generated ./schema/all.fbs +& "flatc" --kotlin --gen-jvmstatic --gen-all -o ./protocol/kotlin/src -I ./schema/ ./schema/all.fbs diff --git a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h index 6a8bc417..f8b12cbb 100644 --- a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h +++ b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h @@ -8,9 +8,9 @@ // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. -static_assert(FLATBUFFERS_VERSION_MAJOR == 22 && - FLATBUFFERS_VERSION_MINOR == 10 && - FLATBUFFERS_VERSION_REVISION == 26, +static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && + FLATBUFFERS_VERSION_MINOR == 9 && + FLATBUFFERS_VERSION_REVISION == 23, "Non-compatible flatbuffers version included"); namespace solarxr_protocol { @@ -552,7 +552,7 @@ inline const char * const *EnumNamesFirmwareErrorCode() { } inline const char *EnumNameFirmwareErrorCode(FirmwareErrorCode e) { - if (flatbuffers::IsOutRange(e, FirmwareErrorCode::Other, FirmwareErrorCode::ImuError)) return ""; + if (::flatbuffers::IsOutRange(e, FirmwareErrorCode::Other, FirmwareErrorCode::ImuError)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareErrorCode()[index]; } @@ -586,7 +586,7 @@ inline const char * const *EnumNamesFilteringType() { } inline const char *EnumNameFilteringType(FilteringType e) { - if (flatbuffers::IsOutRange(e, FilteringType::NONE, FilteringType::PREDICTION)) return ""; + if (::flatbuffers::IsOutRange(e, FilteringType::NONE, FilteringType::PREDICTION)) return ""; const size_t index = static_cast(e); return EnumNamesFilteringType()[index]; } @@ -680,7 +680,7 @@ inline const char * const *EnumNamesTrackerRole() { } inline const char *EnumNameTrackerRole(TrackerRole e) { - if (flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::GENERIC_CONTROLLER)) return ""; + if (::flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::GENERIC_CONTROLLER)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerRole()[index]; } @@ -867,7 +867,7 @@ inline const char * const *EnumNamesBodyPart() { } inline const char *EnumNameBodyPart(BodyPart e) { - if (flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_LITTLE_DISTAL)) return ""; + if (::flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_LITTLE_DISTAL)) return ""; const size_t index = static_cast(e); return EnumNamesBodyPart()[index]; } @@ -912,7 +912,7 @@ inline const char * const *EnumNamesTrackerStatus() { } inline const char *EnumNameTrackerStatus(TrackerStatus e) { - if (flatbuffers::IsOutRange(e, TrackerStatus::NONE, TrackerStatus::TIMED_OUT)) return ""; + if (::flatbuffers::IsOutRange(e, TrackerStatus::NONE, TrackerStatus::TIMED_OUT)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerStatus()[index]; } @@ -945,7 +945,7 @@ inline const char * const *EnumNamesMagnetometerStatus() { } inline const char *EnumNameMagnetometerStatus(MagnetometerStatus e) { - if (flatbuffers::IsOutRange(e, MagnetometerStatus::NOT_SUPPORTED, MagnetometerStatus::ENABLED)) return ""; + if (::flatbuffers::IsOutRange(e, MagnetometerStatus::NOT_SUPPORTED, MagnetometerStatus::ENABLED)) return ""; const size_t index = static_cast(e); return EnumNamesMagnetometerStatus()[index]; } @@ -978,7 +978,7 @@ inline const char * const *EnumNamesRestCalibrationStatus() { } inline const char *EnumNameRestCalibrationStatus(RestCalibrationStatus e) { - if (flatbuffers::IsOutRange(e, RestCalibrationStatus::NOT_SUPPORTED, RestCalibrationStatus::CALIBRATED)) return ""; + if (::flatbuffers::IsOutRange(e, RestCalibrationStatus::NOT_SUPPORTED, RestCalibrationStatus::CALIBRATED)) return ""; const size_t index = static_cast(e); return EnumNamesRestCalibrationStatus()[index]; } @@ -1233,7 +1233,7 @@ inline const char * const *EnumNamesTrackerDataType() { } inline const char *EnumNameTrackerDataType(TrackerDataType e) { - if (flatbuffers::IsOutRange(e, TrackerDataType::ROTATION, TrackerDataType::FLEX_ANGLE)) return ""; + if (::flatbuffers::IsOutRange(e, TrackerDataType::ROTATION, TrackerDataType::FLEX_ANGLE)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerDataType()[index]; } @@ -1277,7 +1277,7 @@ inline const char * const *EnumNamesDataFeedMessage() { } inline const char *EnumNameDataFeedMessage(DataFeedMessage e) { - if (flatbuffers::IsOutRange(e, DataFeedMessage::NONE, DataFeedMessage::DataFeedConfig)) return ""; + if (::flatbuffers::IsOutRange(e, DataFeedMessage::NONE, DataFeedMessage::DataFeedConfig)) return ""; const size_t index = static_cast(e); return EnumNamesDataFeedMessage()[index]; } @@ -1302,8 +1302,8 @@ template<> struct DataFeedMessageTraits> *values, const flatbuffers::Vector *types); +bool VerifyDataFeedMessage(::flatbuffers::Verifier &verifier, const void *obj, DataFeedMessage type); +bool VerifyDataFeedMessageVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); } // namespace data_feed @@ -1565,6 +1565,7 @@ inline const char * const *EnumNamesRpcMessage() { } inline const char *EnumNameRpcMessage(RpcMessage e) { + if (::flatbuffers::IsOutRange(e, RpcMessage::NONE, RpcMessage::SerialTrackerCustomCommandRequest)) return ""; if (flatbuffers::IsOutRange(e, RpcMessage::NONE, RpcMessage::UserHeightRecordingStatusResponse)) return ""; const size_t index = static_cast(e); return EnumNamesRpcMessage()[index]; @@ -1858,6 +1859,8 @@ template<> struct RpcMessageTraits> *values, const ::flatbuffers::Vector *types); template<> struct RpcMessageTraits { static const RpcMessage enum_value = RpcMessage::VRCConfigSettingToggleMute; }; @@ -1918,7 +1921,7 @@ inline const char * const *EnumNamesResetType() { } inline const char *EnumNameResetType(ResetType e) { - if (flatbuffers::IsOutRange(e, ResetType::Yaw, ResetType::Mounting)) return ""; + if (::flatbuffers::IsOutRange(e, ResetType::Yaw, ResetType::Mounting)) return ""; const size_t index = static_cast(e); return EnumNamesResetType()[index]; } @@ -1948,7 +1951,7 @@ inline const char * const *EnumNamesResetStatus() { } inline const char *EnumNameResetStatus(ResetStatus e) { - if (flatbuffers::IsOutRange(e, ResetStatus::STARTED, ResetStatus::FINISHED)) return ""; + if (::flatbuffers::IsOutRange(e, ResetStatus::STARTED, ResetStatus::FINISHED)) return ""; const size_t index = static_cast(e); return EnumNamesResetStatus()[index]; } @@ -1988,7 +1991,7 @@ inline const char * const *EnumNamesArmsMountingResetMode() { } inline const char *EnumNameArmsMountingResetMode(ArmsMountingResetMode e) { - if (flatbuffers::IsOutRange(e, ArmsMountingResetMode::BACK, ArmsMountingResetMode::TPOSE_DOWN)) return ""; + if (::flatbuffers::IsOutRange(e, ArmsMountingResetMode::BACK, ArmsMountingResetMode::TPOSE_DOWN)) return ""; const size_t index = static_cast(e); return EnumNamesArmsMountingResetMode()[index]; } @@ -2016,11 +2019,17 @@ enum class SkeletonBone : uint8_t { HAND_Z = 19, ELBOW_OFFSET = 20, UPPER_CHEST = 21, + LEFT_TOE_1 = 22, + LEFT_TOE_2 = 23, + LEFT_TOE_3 = 24, + RIGHT_TOE_1 = 25, + RIGHT_TOE_2 = 26, + RIGHT_TOE_3 = 27, MIN = NONE, - MAX = UPPER_CHEST + MAX = RIGHT_TOE_3 }; -inline const SkeletonBone (&EnumValuesSkeletonBone())[22] { +inline const SkeletonBone (&EnumValuesSkeletonBone())[28] { static const SkeletonBone values[] = { SkeletonBone::NONE, SkeletonBone::HEAD, @@ -2043,13 +2052,19 @@ inline const SkeletonBone (&EnumValuesSkeletonBone())[22] { SkeletonBone::HAND_Y, SkeletonBone::HAND_Z, SkeletonBone::ELBOW_OFFSET, - SkeletonBone::UPPER_CHEST + SkeletonBone::UPPER_CHEST, + SkeletonBone::LEFT_TOE_1, + SkeletonBone::LEFT_TOE_2, + SkeletonBone::LEFT_TOE_3, + SkeletonBone::RIGHT_TOE_1, + SkeletonBone::RIGHT_TOE_2, + SkeletonBone::RIGHT_TOE_3 }; return values; } inline const char * const *EnumNamesSkeletonBone() { - static const char * const names[23] = { + static const char * const names[29] = { "NONE", "HEAD", "NECK", @@ -2072,13 +2087,19 @@ inline const char * const *EnumNamesSkeletonBone() { "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", + "LEFT_TOE_1", + "LEFT_TOE_2", + "LEFT_TOE_3", + "RIGHT_TOE_1", + "RIGHT_TOE_2", + "RIGHT_TOE_3", nullptr }; return names; } inline const char *EnumNameSkeletonBone(SkeletonBone e) { - if (flatbuffers::IsOutRange(e, SkeletonBone::NONE, SkeletonBone::UPPER_CHEST)) return ""; + if (::flatbuffers::IsOutRange(e, SkeletonBone::NONE, SkeletonBone::RIGHT_TOE_3)) return ""; const size_t index = static_cast(e); return EnumNamesSkeletonBone()[index]; } @@ -2135,7 +2156,7 @@ inline const char * const *EnumNamesWifiProvisioningStatus() { } inline const char *EnumNameWifiProvisioningStatus(WifiProvisioningStatus e) { - if (flatbuffers::IsOutRange(e, WifiProvisioningStatus::NONE, WifiProvisioningStatus::NO_SERIAL_DEVICE_FOUND)) return ""; + if (::flatbuffers::IsOutRange(e, WifiProvisioningStatus::NONE, WifiProvisioningStatus::NO_SERIAL_DEVICE_FOUND)) return ""; const size_t index = static_cast(e); return EnumNamesWifiProvisioningStatus()[index]; } @@ -2176,7 +2197,7 @@ inline const char * const *EnumNamesAutoBoneProcessType() { } inline const char *EnumNameAutoBoneProcessType(AutoBoneProcessType e) { - if (flatbuffers::IsOutRange(e, AutoBoneProcessType::NONE, AutoBoneProcessType::APPLY)) return ""; + if (::flatbuffers::IsOutRange(e, AutoBoneProcessType::NONE, AutoBoneProcessType::APPLY)) return ""; const size_t index = static_cast(e); return EnumNamesAutoBoneProcessType()[index]; } @@ -2218,7 +2239,7 @@ inline const char * const *EnumNamesStatusData() { } inline const char *EnumNameStatusData(StatusData e) { - if (flatbuffers::IsOutRange(e, StatusData::NONE, StatusData::StatusPublicNetwork)) return ""; + if (::flatbuffers::IsOutRange(e, StatusData::NONE, StatusData::StatusPublicNetwork)) return ""; const size_t index = static_cast(e); return EnumNamesStatusData()[index]; } @@ -2247,8 +2268,8 @@ template<> struct StatusDataTraits { static const StatusData enum_value = StatusData::StatusPublicNetwork; }; -bool VerifyStatusData(flatbuffers::Verifier &verifier, const void *obj, StatusData type); -bool VerifyStatusDataVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); +bool VerifyStatusData(::flatbuffers::Verifier &verifier, const void *obj, StatusData type); +bool VerifyStatusDataVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); /// Common folders often used in computers for storing files enum class ComputerDirectory : uint8_t { @@ -2273,7 +2294,7 @@ inline const char * const *EnumNamesComputerDirectory() { } inline const char *EnumNameComputerDirectory(ComputerDirectory e) { - if (flatbuffers::IsOutRange(e, ComputerDirectory::Documents, ComputerDirectory::Documents)) return ""; + if (::flatbuffers::IsOutRange(e, ComputerDirectory::Documents, ComputerDirectory::Documents)) return ""; const size_t index = static_cast(e); return EnumNamesComputerDirectory()[index]; } @@ -2361,7 +2382,7 @@ inline const char * const *EnumNamesFirmwareUpdateStatus() { } inline const char *EnumNameFirmwareUpdateStatus(FirmwareUpdateStatus e) { - if (flatbuffers::IsOutRange(e, FirmwareUpdateStatus::DOWNLOADING, FirmwareUpdateStatus::ERROR_UNKNOWN)) return ""; + if (::flatbuffers::IsOutRange(e, FirmwareUpdateStatus::DOWNLOADING, FirmwareUpdateStatus::ERROR_UNKNOWN)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareUpdateStatus()[index]; } @@ -2394,7 +2415,7 @@ inline const char * const *EnumNamesFirmwareUpdateDeviceId() { } inline const char *EnumNameFirmwareUpdateDeviceId(FirmwareUpdateDeviceId e) { - if (flatbuffers::IsOutRange(e, FirmwareUpdateDeviceId::NONE, FirmwareUpdateDeviceId::SerialDevicePort)) return ""; + if (::flatbuffers::IsOutRange(e, FirmwareUpdateDeviceId::NONE, FirmwareUpdateDeviceId::SerialDevicePort)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareUpdateDeviceId()[index]; } @@ -2411,8 +2432,8 @@ template<> struct FirmwareUpdateDeviceIdTraits> *values, const flatbuffers::Vector *types); +bool VerifyFirmwareUpdateDeviceId(::flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateDeviceId type); +bool VerifyFirmwareUpdateDeviceIdVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); enum class FirmwareUpdateMethod : uint8_t { NONE = 0, @@ -2442,7 +2463,7 @@ inline const char * const *EnumNamesFirmwareUpdateMethod() { } inline const char *EnumNameFirmwareUpdateMethod(FirmwareUpdateMethod e) { - if (flatbuffers::IsOutRange(e, FirmwareUpdateMethod::NONE, FirmwareUpdateMethod::SerialFirmwareUpdate)) return ""; + if (::flatbuffers::IsOutRange(e, FirmwareUpdateMethod::NONE, FirmwareUpdateMethod::SerialFirmwareUpdate)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareUpdateMethod()[index]; } @@ -2459,8 +2480,8 @@ template<> struct FirmwareUpdateMethodTraits> *values, const flatbuffers::Vector *types); +bool VerifyFirmwareUpdateMethod(::flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateMethod type); +bool VerifyFirmwareUpdateMethodVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); enum class VRCTrackerModel : uint8_t { UNKNOWN = 0, @@ -2496,7 +2517,7 @@ inline const char * const *EnumNamesVRCTrackerModel() { } inline const char *EnumNameVRCTrackerModel(VRCTrackerModel e) { - if (flatbuffers::IsOutRange(e, VRCTrackerModel::UNKNOWN, VRCTrackerModel::AXIS)) return ""; + if (::flatbuffers::IsOutRange(e, VRCTrackerModel::UNKNOWN, VRCTrackerModel::AXIS)) return ""; const size_t index = static_cast(e); return EnumNamesVRCTrackerModel()[index]; } @@ -2532,7 +2553,7 @@ inline const char * const *EnumNamesVRCSpineMode() { } inline const char *EnumNameVRCSpineMode(VRCSpineMode e) { - if (flatbuffers::IsOutRange(e, VRCSpineMode::UNKNOWN, VRCSpineMode::LOCK_BOTH)) return ""; + if (::flatbuffers::IsOutRange(e, VRCSpineMode::UNKNOWN, VRCSpineMode::LOCK_BOTH)) return ""; const size_t index = static_cast(e); return EnumNamesVRCSpineMode()[index]; } @@ -2565,7 +2586,7 @@ inline const char * const *EnumNamesVRCAvatarMeasurementType() { } inline const char *EnumNameVRCAvatarMeasurementType(VRCAvatarMeasurementType e) { - if (flatbuffers::IsOutRange(e, VRCAvatarMeasurementType::UNKNOWN, VRCAvatarMeasurementType::ARM_SPAN)) return ""; + if (::flatbuffers::IsOutRange(e, VRCAvatarMeasurementType::UNKNOWN, VRCAvatarMeasurementType::ARM_SPAN)) return ""; const size_t index = static_cast(e); return EnumNamesVRCAvatarMeasurementType()[index]; } @@ -2761,7 +2782,7 @@ inline const char * const *EnumNamesStayAlignedRelaxedPose() { } inline const char *EnumNameStayAlignedRelaxedPose(StayAlignedRelaxedPose e) { - if (flatbuffers::IsOutRange(e, StayAlignedRelaxedPose::STANDING, StayAlignedRelaxedPose::FLAT)) return ""; + if (::flatbuffers::IsOutRange(e, StayAlignedRelaxedPose::STANDING, StayAlignedRelaxedPose::FLAT)) return ""; const size_t index = static_cast(e); return EnumNamesStayAlignedRelaxedPose()[index]; } @@ -2852,7 +2873,7 @@ inline const char * const *EnumNamesTopic() { } inline const char *EnumNameTopic(Topic e) { - if (flatbuffers::IsOutRange(e, Topic::NONE, Topic::TopicId)) return ""; + if (::flatbuffers::IsOutRange(e, Topic::NONE, Topic::TopicId)) return ""; const size_t index = static_cast(e); return EnumNamesTopic()[index]; } @@ -2869,8 +2890,8 @@ template<> struct TopicTraits { static const Topic enum_value = Topic::TopicId; }; -bool VerifyTopic(flatbuffers::Verifier &verifier, const void *obj, Topic type); -bool VerifyTopicVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); +bool VerifyTopic(::flatbuffers::Verifier &verifier, const void *obj, Topic type); +bool VerifyTopicVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); enum class PubSubUnion : uint8_t { NONE = 0, @@ -2906,7 +2927,7 @@ inline const char * const *EnumNamesPubSubUnion() { } inline const char *EnumNamePubSubUnion(PubSubUnion e) { - if (flatbuffers::IsOutRange(e, PubSubUnion::NONE, PubSubUnion::TopicMapping)) return ""; + if (::flatbuffers::IsOutRange(e, PubSubUnion::NONE, PubSubUnion::TopicMapping)) return ""; const size_t index = static_cast(e); return EnumNamesPubSubUnion()[index]; } @@ -2931,8 +2952,8 @@ template<> struct PubSubUnionTraits { static const PubSubUnion enum_value = PubSubUnion::TopicMapping; }; -bool VerifyPubSubUnion(flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type); -bool VerifyPubSubUnionVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); +bool VerifyPubSubUnion(::flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type); +bool VerifyPubSubUnionVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); enum class Payload : uint8_t { NONE = 0, @@ -2965,7 +2986,7 @@ inline const char * const *EnumNamesPayload() { } inline const char *EnumNamePayload(Payload e) { - if (flatbuffers::IsOutRange(e, Payload::NONE, Payload::KeyValues)) return ""; + if (::flatbuffers::IsOutRange(e, Payload::NONE, Payload::KeyValues)) return ""; const size_t index = static_cast(e); return EnumNamesPayload()[index]; } @@ -2986,8 +3007,8 @@ template<> struct PayloadTraits { static const Payload enum_value = Payload::KeyValues; }; -bool VerifyPayload(flatbuffers::Verifier &verifier, const void *obj, Payload type); -bool VerifyPayloadVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); +bool VerifyPayload(::flatbuffers::Verifier &verifier, const void *obj, Payload type); +bool VerifyPayloadVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); } // namespace pub_sub @@ -3003,10 +3024,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) HzF32 FLATBUFFERS_FINAL_CLASS { : f_(0) { } HzF32(float _f) - : f_(flatbuffers::EndianScalar(_f)) { + : f_(::flatbuffers::EndianScalar(_f)) { } float f() const { - return flatbuffers::EndianScalar(f_); + return ::flatbuffers::EndianScalar(f_); } }; FLATBUFFERS_STRUCT_END(HzF32, 4); @@ -3020,11 +3041,11 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) TransactionId FLATBUFFERS_FINAL_CLASS { : id_(0) { } TransactionId(uint32_t _id) - : id_(flatbuffers::EndianScalar(_id)) { + : id_(::flatbuffers::EndianScalar(_id)) { } /// This is expected to overflow, networking logic should handle this case. uint32_t id() const { - return flatbuffers::EndianScalar(id_); + return ::flatbuffers::EndianScalar(id_); } }; FLATBUFFERS_STRUCT_END(TransactionId, 4); @@ -3040,10 +3061,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(1) DeviceId FLATBUFFERS_FINAL_CLASS { : id_(0) { } DeviceId(uint8_t _id) - : id_(flatbuffers::EndianScalar(_id)) { + : id_(::flatbuffers::EndianScalar(_id)) { } uint8_t id() const { - return flatbuffers::EndianScalar(id_); + return ::flatbuffers::EndianScalar(id_); } }; FLATBUFFERS_STRUCT_END(DeviceId, 1); @@ -3058,10 +3079,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Temperature FLATBUFFERS_FINAL_CLASS { : temp_(0) { } Temperature(float _temp) - : temp_(flatbuffers::EndianScalar(_temp)) { + : temp_(::flatbuffers::EndianScalar(_temp)) { } float temp() const { - return flatbuffers::EndianScalar(temp_); + return ::flatbuffers::EndianScalar(temp_); } }; FLATBUFFERS_STRUCT_END(Temperature, 4); @@ -3077,10 +3098,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Ipv4Address FLATBUFFERS_FINAL_CLASS { : addr_(0) { } Ipv4Address(uint32_t _addr) - : addr_(flatbuffers::EndianScalar(_addr)) { + : addr_(::flatbuffers::EndianScalar(_addr)) { } uint32_t addr() const { - return flatbuffers::EndianScalar(addr_); + return ::flatbuffers::EndianScalar(addr_); } }; FLATBUFFERS_STRUCT_END(Ipv4Address, 4); @@ -3099,10 +3120,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) HardwareAddress FLATBUFFERS_FINAL_CLASS { : addr_(0) { } HardwareAddress(uint64_t _addr) - : addr_(flatbuffers::EndianScalar(_addr)) { + : addr_(::flatbuffers::EndianScalar(_addr)) { } uint64_t addr() const { - return flatbuffers::EndianScalar(addr_); + return ::flatbuffers::EndianScalar(addr_); } }; FLATBUFFERS_STRUCT_END(HardwareAddress, 8); @@ -3126,22 +3147,22 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Quat FLATBUFFERS_FINAL_CLASS { w_(0) { } Quat(float _x, float _y, float _z, float _w) - : x_(flatbuffers::EndianScalar(_x)), - y_(flatbuffers::EndianScalar(_y)), - z_(flatbuffers::EndianScalar(_z)), - w_(flatbuffers::EndianScalar(_w)) { + : x_(::flatbuffers::EndianScalar(_x)), + y_(::flatbuffers::EndianScalar(_y)), + z_(::flatbuffers::EndianScalar(_z)), + w_(::flatbuffers::EndianScalar(_w)) { } float x() const { - return flatbuffers::EndianScalar(x_); + return ::flatbuffers::EndianScalar(x_); } float y() const { - return flatbuffers::EndianScalar(y_); + return ::flatbuffers::EndianScalar(y_); } float z() const { - return flatbuffers::EndianScalar(z_); + return ::flatbuffers::EndianScalar(z_); } float w() const { - return flatbuffers::EndianScalar(w_); + return ::flatbuffers::EndianScalar(w_); } }; FLATBUFFERS_STRUCT_END(Quat, 16); @@ -3159,18 +3180,18 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Vec3f FLATBUFFERS_FINAL_CLASS { z_(0) { } Vec3f(float _x, float _y, float _z) - : x_(flatbuffers::EndianScalar(_x)), - y_(flatbuffers::EndianScalar(_y)), - z_(flatbuffers::EndianScalar(_z)) { + : x_(::flatbuffers::EndianScalar(_x)), + y_(::flatbuffers::EndianScalar(_y)), + z_(::flatbuffers::EndianScalar(_z)) { } float x() const { - return flatbuffers::EndianScalar(x_); + return ::flatbuffers::EndianScalar(x_); } float y() const { - return flatbuffers::EndianScalar(y_); + return ::flatbuffers::EndianScalar(y_); } float z() const { - return flatbuffers::EndianScalar(z_); + return ::flatbuffers::EndianScalar(z_); } }; FLATBUFFERS_STRUCT_END(Vec3f, 12); @@ -3178,7 +3199,7 @@ FLATBUFFERS_STRUCT_END(Vec3f, 12); } // namespace math /// To be used inside unions -struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef DeviceIdTableBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4 @@ -3186,7 +3207,7 @@ struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::datatypes::DeviceId *id() const { return GetStruct(VT_ID); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 1) && verifier.EndTable(); @@ -3195,31 +3216,31 @@ struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct DeviceIdTableBuilder { typedef DeviceIdTable Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_id(const solarxr_protocol::datatypes::DeviceId *id) { fbb_.AddStruct(DeviceIdTable::VT_ID, id); } - explicit DeviceIdTableBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit DeviceIdTableBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateDeviceIdTable( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateDeviceIdTable( + ::flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *id = nullptr) { DeviceIdTableBuilder builder_(_fbb); builder_.add_id(id); return builder_.Finish(); } -struct TrackerId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TrackerId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TrackerIdBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID = 4, @@ -3234,7 +3255,7 @@ struct TrackerId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { uint8_t tracker_num() const { return GetField(VT_TRACKER_NUM, 0); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_DEVICE_ID, 1) && VerifyField(verifier, VT_TRACKER_NUM, 1) && @@ -3244,27 +3265,27 @@ struct TrackerId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TrackerIdBuilder { typedef TrackerId Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_device_id(const solarxr_protocol::datatypes::DeviceId *device_id) { fbb_.AddStruct(TrackerId::VT_DEVICE_ID, device_id); } void add_tracker_num(uint8_t tracker_num) { fbb_.AddElement(TrackerId::VT_TRACKER_NUM, tracker_num, 0); } - explicit TrackerIdBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerIdBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTrackerId( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateTrackerId( + ::flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *device_id = nullptr, uint8_t tracker_num = 0) { TrackerIdBuilder builder_(_fbb); @@ -3274,19 +3295,19 @@ inline flatbuffers::Offset CreateTrackerId( } /// General purpose logging datatype -struct LogData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct LogData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef LogDataBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MESSAGE = 4, VT_DATA = 6 }; - const flatbuffers::String *message() const { - return GetPointer(VT_MESSAGE); + const ::flatbuffers::String *message() const { + return GetPointer(VT_MESSAGE); } - const flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); + const ::flatbuffers::Vector *data() const { + return GetPointer *>(VT_DATA); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MESSAGE) && verifier.VerifyString(message()) && @@ -3298,37 +3319,37 @@ struct LogData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct LogDataBuilder { typedef LogData Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_message(flatbuffers::Offset message) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_message(::flatbuffers::Offset<::flatbuffers::String> message) { fbb_.AddOffset(LogData::VT_MESSAGE, message); } - void add_data(flatbuffers::Offset> data) { + void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { fbb_.AddOffset(LogData::VT_DATA, data); } - explicit LogDataBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit LogDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateLogData( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset message = 0, - flatbuffers::Offset> data = 0) { +inline ::flatbuffers::Offset CreateLogData( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> message = 0, + ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { LogDataBuilder builder_(_fbb); builder_.add_data(data); builder_.add_message(message); return builder_.Finish(); } -inline flatbuffers::Offset CreateLogDataDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateLogDataDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *message = nullptr, const std::vector *data = nullptr) { auto message__ = message ? _fbb.CreateString(message) : 0; @@ -3339,15 +3360,15 @@ inline flatbuffers::Offset CreateLogDataDirect( data__); } -struct Bytes FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct Bytes FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef BytesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_B = 4 }; - const flatbuffers::Vector *b() const { - return GetPointer *>(VT_B); + const ::flatbuffers::Vector *b() const { + return GetPointer *>(VT_B); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_B) && verifier.VerifyVector(b()) && @@ -3357,32 +3378,32 @@ struct Bytes FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct BytesBuilder { typedef Bytes Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_b(flatbuffers::Offset> b) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_b(::flatbuffers::Offset<::flatbuffers::Vector> b) { fbb_.AddOffset(Bytes::VT_B, b); } - explicit BytesBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit BytesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateBytes( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset> b = 0) { +inline ::flatbuffers::Offset CreateBytes( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector> b = 0) { BytesBuilder builder_(_fbb); builder_.add_b(b); return builder_.Finish(); } -inline flatbuffers::Offset CreateBytesDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateBytesDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const std::vector *b = nullptr) { auto b__ = b ? _fbb.CreateVector(*b) : 0; return solarxr_protocol::datatypes::CreateBytes( @@ -3390,15 +3411,15 @@ inline flatbuffers::Offset CreateBytesDirect( b__); } -struct StringTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StringTable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StringTableBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_S = 4 }; - const flatbuffers::String *s() const { - return GetPointer(VT_S); + const ::flatbuffers::String *s() const { + return GetPointer(VT_S); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_S) && verifier.VerifyString(s()) && @@ -3408,32 +3429,32 @@ struct StringTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StringTableBuilder { typedef StringTable Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_s(flatbuffers::Offset s) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_s(::flatbuffers::Offset<::flatbuffers::String> s) { fbb_.AddOffset(StringTable::VT_S, s); } - explicit StringTableBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StringTableBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStringTable( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset s = 0) { +inline ::flatbuffers::Offset CreateStringTable( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> s = 0) { StringTableBuilder builder_(_fbb); builder_.add_s(s); return builder_.Finish(); } -inline flatbuffers::Offset CreateStringTableDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStringTableDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *s = nullptr) { auto s__ = s ? _fbb.CreateString(s) : 0; return solarxr_protocol::datatypes::CreateStringTable( @@ -3444,7 +3465,7 @@ inline flatbuffers::Offset CreateStringTableDirect( namespace hardware_info { /// Mostly static info about the device's hardware/firmware. -struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef HardwareInfoBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MCU_ID = 4, @@ -3464,24 +3485,24 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { return static_cast(GetField(VT_MCU_ID, 0)); } /// A human-friendly name to display as the name of the device. - const flatbuffers::String *display_name() const { - return GetPointer(VT_DISPLAY_NAME); + const ::flatbuffers::String *display_name() const { + return GetPointer(VT_DISPLAY_NAME); } /// A human-friendly string for the device model. - const flatbuffers::String *model() const { - return GetPointer(VT_MODEL); + const ::flatbuffers::String *model() const { + return GetPointer(VT_MODEL); } /// A human-friendly string for the manufacturer of the device. - const flatbuffers::String *manufacturer() const { - return GetPointer(VT_MANUFACTURER); + const ::flatbuffers::String *manufacturer() const { + return GetPointer(VT_MANUFACTURER); } /// The hardware version of the device. For example, pcb version. - const flatbuffers::String *hardware_revision() const { - return GetPointer(VT_HARDWARE_REVISION); + const ::flatbuffers::String *hardware_revision() const { + return GetPointer(VT_HARDWARE_REVISION); } /// The version of the slimevr firmware that the device is running. - const flatbuffers::String *firmware_version() const { - return GetPointer(VT_FIRMWARE_VERSION); + const ::flatbuffers::String *firmware_version() const { + return GetPointer(VT_FIRMWARE_VERSION); } const solarxr_protocol::datatypes::hardware_info::HardwareAddress *hardware_address() const { return GetStruct(VT_HARDWARE_ADDRESS); @@ -3490,8 +3511,8 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { return GetStruct(VT_IP_ADDRESS); } /// A board type string that can be used to name a board. if possible you should use official board type - const flatbuffers::String *board_type() const { - return GetPointer(VT_BOARD_TYPE); + const ::flatbuffers::String *board_type() const { + return GetPointer(VT_BOARD_TYPE); } /// An enum listing all the board types supported by the firmware solarxr_protocol::datatypes::hardware_info::BoardType official_board_type() const { @@ -3499,14 +3520,14 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { } /// A unique identifier for the device. Depending on the type of device it can be the MAC address, /// the IP address, or some other unique identifier like what USB device it is. - const flatbuffers::String *hardware_identifier() const { - return GetPointer(VT_HARDWARE_IDENTIFIER); + const ::flatbuffers::String *hardware_identifier() const { + return GetPointer(VT_HARDWARE_IDENTIFIER); } /// The version of the protocol it's using to communicate with server - flatbuffers::Optional network_protocol_version() const { + ::flatbuffers::Optional network_protocol_version() const { return GetOptional(VT_NETWORK_PROTOCOL_VERSION); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_MCU_ID, 2) && VerifyOffset(verifier, VT_DISPLAY_NAME) && @@ -3533,24 +3554,24 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct HardwareInfoBuilder { typedef HardwareInfo Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_mcu_id(solarxr_protocol::datatypes::hardware_info::McuType mcu_id) { fbb_.AddElement(HardwareInfo::VT_MCU_ID, static_cast(mcu_id), 0); } - void add_display_name(flatbuffers::Offset display_name) { + void add_display_name(::flatbuffers::Offset<::flatbuffers::String> display_name) { fbb_.AddOffset(HardwareInfo::VT_DISPLAY_NAME, display_name); } - void add_model(flatbuffers::Offset model) { + void add_model(::flatbuffers::Offset<::flatbuffers::String> model) { fbb_.AddOffset(HardwareInfo::VT_MODEL, model); } - void add_manufacturer(flatbuffers::Offset manufacturer) { + void add_manufacturer(::flatbuffers::Offset<::flatbuffers::String> manufacturer) { fbb_.AddOffset(HardwareInfo::VT_MANUFACTURER, manufacturer); } - void add_hardware_revision(flatbuffers::Offset hardware_revision) { + void add_hardware_revision(::flatbuffers::Offset<::flatbuffers::String> hardware_revision) { fbb_.AddOffset(HardwareInfo::VT_HARDWARE_REVISION, hardware_revision); } - void add_firmware_version(flatbuffers::Offset firmware_version) { + void add_firmware_version(::flatbuffers::Offset<::flatbuffers::String> firmware_version) { fbb_.AddOffset(HardwareInfo::VT_FIRMWARE_VERSION, firmware_version); } void add_hardware_address(const solarxr_protocol::datatypes::hardware_info::HardwareAddress *hardware_address) { @@ -3559,43 +3580,43 @@ struct HardwareInfoBuilder { void add_ip_address(const solarxr_protocol::datatypes::Ipv4Address *ip_address) { fbb_.AddStruct(HardwareInfo::VT_IP_ADDRESS, ip_address); } - void add_board_type(flatbuffers::Offset board_type) { + void add_board_type(::flatbuffers::Offset<::flatbuffers::String> board_type) { fbb_.AddOffset(HardwareInfo::VT_BOARD_TYPE, board_type); } void add_official_board_type(solarxr_protocol::datatypes::hardware_info::BoardType official_board_type) { fbb_.AddElement(HardwareInfo::VT_OFFICIAL_BOARD_TYPE, static_cast(official_board_type), 0); } - void add_hardware_identifier(flatbuffers::Offset hardware_identifier) { + void add_hardware_identifier(::flatbuffers::Offset<::flatbuffers::String> hardware_identifier) { fbb_.AddOffset(HardwareInfo::VT_HARDWARE_IDENTIFIER, hardware_identifier); } void add_network_protocol_version(uint16_t network_protocol_version) { fbb_.AddElement(HardwareInfo::VT_NETWORK_PROTOCOL_VERSION, network_protocol_version); } - explicit HardwareInfoBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit HardwareInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateHardwareInfo( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateHardwareInfo( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::McuType mcu_id = solarxr_protocol::datatypes::hardware_info::McuType::Other, - flatbuffers::Offset display_name = 0, - flatbuffers::Offset model = 0, - flatbuffers::Offset manufacturer = 0, - flatbuffers::Offset hardware_revision = 0, - flatbuffers::Offset firmware_version = 0, + ::flatbuffers::Offset<::flatbuffers::String> display_name = 0, + ::flatbuffers::Offset<::flatbuffers::String> model = 0, + ::flatbuffers::Offset<::flatbuffers::String> manufacturer = 0, + ::flatbuffers::Offset<::flatbuffers::String> hardware_revision = 0, + ::flatbuffers::Offset<::flatbuffers::String> firmware_version = 0, const solarxr_protocol::datatypes::hardware_info::HardwareAddress *hardware_address = nullptr, const solarxr_protocol::datatypes::Ipv4Address *ip_address = nullptr, - flatbuffers::Offset board_type = 0, + ::flatbuffers::Offset<::flatbuffers::String> board_type = 0, solarxr_protocol::datatypes::hardware_info::BoardType official_board_type = solarxr_protocol::datatypes::hardware_info::BoardType::UNKNOWN, - flatbuffers::Offset hardware_identifier = 0, - flatbuffers::Optional network_protocol_version = flatbuffers::nullopt) { + ::flatbuffers::Offset<::flatbuffers::String> hardware_identifier = 0, + ::flatbuffers::Optional network_protocol_version = ::flatbuffers::nullopt) { HardwareInfoBuilder builder_(_fbb); builder_.add_hardware_identifier(hardware_identifier); builder_.add_board_type(board_type); @@ -3612,8 +3633,8 @@ inline flatbuffers::Offset CreateHardwareInfo( return builder_.Finish(); } -inline flatbuffers::Offset CreateHardwareInfoDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateHardwareInfoDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::McuType mcu_id = solarxr_protocol::datatypes::hardware_info::McuType::Other, const char *display_name = nullptr, const char *model = nullptr, @@ -3625,7 +3646,7 @@ inline flatbuffers::Offset CreateHardwareInfoDirect( const char *board_type = nullptr, solarxr_protocol::datatypes::hardware_info::BoardType official_board_type = solarxr_protocol::datatypes::hardware_info::BoardType::UNKNOWN, const char *hardware_identifier = nullptr, - flatbuffers::Optional network_protocol_version = flatbuffers::nullopt) { + ::flatbuffers::Optional network_protocol_version = ::flatbuffers::nullopt) { auto display_name__ = display_name ? _fbb.CreateString(display_name) : 0; auto model__ = model ? _fbb.CreateString(model) : 0; auto manufacturer__ = manufacturer ? _fbb.CreateString(manufacturer) : 0; @@ -3650,7 +3671,7 @@ inline flatbuffers::Offset CreateHardwareInfoDirect( } /// Mostly-dynamic status info about a tracked device's firmware -struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef HardwareStatusBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ERROR_STATUS = 4, @@ -3661,30 +3682,30 @@ struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_BATTERY_PCT_ESTIMATE = 16, VT_LOG_DATA = 18 }; - flatbuffers::Optional error_status() const { + ::flatbuffers::Optional error_status() const { return GetOptional(VT_ERROR_STATUS); } - flatbuffers::Optional ping() const { + ::flatbuffers::Optional ping() const { return GetOptional(VT_PING); } /// “Received Signal Strength Indicator" between device and wifi adapter in dBm - flatbuffers::Optional rssi() const { + ::flatbuffers::Optional rssi() const { return GetOptional(VT_RSSI); } /// Temperature in degrees celsius - flatbuffers::Optional mcu_temp() const { + ::flatbuffers::Optional mcu_temp() const { return GetOptional(VT_MCU_TEMP); } - flatbuffers::Optional battery_voltage() const { + ::flatbuffers::Optional battery_voltage() const { return GetOptional(VT_BATTERY_VOLTAGE); } - flatbuffers::Optional battery_pct_estimate() const { + ::flatbuffers::Optional battery_pct_estimate() const { return GetOptional(VT_BATTERY_PCT_ESTIMATE); } const solarxr_protocol::datatypes::LogData *log_data() const { return GetPointer(VT_LOG_DATA); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ERROR_STATUS, 1) && VerifyField(verifier, VT_PING, 2) && @@ -3700,8 +3721,8 @@ struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct HardwareStatusBuilder { typedef HardwareStatus Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_error_status(solarxr_protocol::datatypes::FirmwareErrorCode error_status) { fbb_.AddElement(HardwareStatus::VT_ERROR_STATUS, static_cast(error_status)); } @@ -3720,29 +3741,29 @@ struct HardwareStatusBuilder { void add_battery_pct_estimate(uint8_t battery_pct_estimate) { fbb_.AddElement(HardwareStatus::VT_BATTERY_PCT_ESTIMATE, battery_pct_estimate); } - void add_log_data(flatbuffers::Offset log_data) { + void add_log_data(::flatbuffers::Offset log_data) { fbb_.AddOffset(HardwareStatus::VT_LOG_DATA, log_data); } - explicit HardwareStatusBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit HardwareStatusBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateHardwareStatus( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional error_status = flatbuffers::nullopt, - flatbuffers::Optional ping = flatbuffers::nullopt, - flatbuffers::Optional rssi = flatbuffers::nullopt, - flatbuffers::Optional mcu_temp = flatbuffers::nullopt, - flatbuffers::Optional battery_voltage = flatbuffers::nullopt, - flatbuffers::Optional battery_pct_estimate = flatbuffers::nullopt, - flatbuffers::Offset log_data = 0) { +inline ::flatbuffers::Offset CreateHardwareStatus( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional error_status = ::flatbuffers::nullopt, + ::flatbuffers::Optional ping = ::flatbuffers::nullopt, + ::flatbuffers::Optional rssi = ::flatbuffers::nullopt, + ::flatbuffers::Optional mcu_temp = ::flatbuffers::nullopt, + ::flatbuffers::Optional battery_voltage = ::flatbuffers::nullopt, + ::flatbuffers::Optional battery_pct_estimate = ::flatbuffers::nullopt, + ::flatbuffers::Offset log_data = 0) { HardwareStatusBuilder builder_(_fbb); builder_.add_log_data(log_data); if(battery_voltage) { builder_.add_battery_voltage(*battery_voltage); } @@ -3755,7 +3776,7 @@ inline flatbuffers::Offset CreateHardwareStatus( } /// A mask of the data in `FirmwareStatus` -struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef FirmwareStatusMaskBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ERROR_STATUS = 4, @@ -3787,7 +3808,7 @@ struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool battery_pct_estimate() const { return GetField(VT_BATTERY_PCT_ESTIMATE, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ERROR_STATUS, 1) && VerifyField(verifier, VT_TPS, 1) && @@ -3802,8 +3823,8 @@ struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct FirmwareStatusMaskBuilder { typedef FirmwareStatusMask Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_error_status(bool error_status) { fbb_.AddElement(FirmwareStatusMask::VT_ERROR_STATUS, static_cast(error_status), 0); } @@ -3825,19 +3846,19 @@ struct FirmwareStatusMaskBuilder { void add_battery_pct_estimate(bool battery_pct_estimate) { fbb_.AddElement(FirmwareStatusMask::VT_BATTERY_PCT_ESTIMATE, static_cast(battery_pct_estimate), 0); } - explicit FirmwareStatusMaskBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit FirmwareStatusMaskBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateFirmwareStatusMask( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateFirmwareStatusMask( + ::flatbuffers::FlatBufferBuilder &_fbb, bool error_status = false, bool tps = false, bool ping = false, @@ -3862,7 +3883,7 @@ inline flatbuffers::Offset CreateFirmwareStatusMask( namespace data_feed { namespace stay_aligned { -struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StayAlignedPoseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_UPPER_LEG_ANGLE_IN_DEG = 4, @@ -3878,7 +3899,7 @@ struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { float foot_angle_in_deg() const { return GetField(VT_FOOT_ANGLE_IN_DEG, 0.0f); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_UPPER_LEG_ANGLE_IN_DEG, 4) && VerifyField(verifier, VT_LOWER_LEG_ANGLE_IN_DEG, 4) && @@ -3889,8 +3910,8 @@ struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StayAlignedPoseBuilder { typedef StayAlignedPose Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_upper_leg_angle_in_deg(float upper_leg_angle_in_deg) { fbb_.AddElement(StayAlignedPose::VT_UPPER_LEG_ANGLE_IN_DEG, upper_leg_angle_in_deg, 0.0f); } @@ -3900,19 +3921,19 @@ struct StayAlignedPoseBuilder { void add_foot_angle_in_deg(float foot_angle_in_deg) { fbb_.AddElement(StayAlignedPose::VT_FOOT_ANGLE_IN_DEG, foot_angle_in_deg, 0.0f); } - explicit StayAlignedPoseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StayAlignedPoseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStayAlignedPose( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStayAlignedPose( + ::flatbuffers::FlatBufferBuilder &_fbb, float upper_leg_angle_in_deg = 0.0f, float lower_leg_angle_in_deg = 0.0f, float foot_angle_in_deg = 0.0f) { @@ -3923,7 +3944,7 @@ inline flatbuffers::Offset CreateStayAlignedPose( return builder_.Finish(); } -struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StayAlignedTrackerBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_YAW_CORRECTION_IN_DEG = 4, @@ -3947,7 +3968,7 @@ struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool locked() const { return GetField(VT_LOCKED, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_YAW_CORRECTION_IN_DEG, 4) && VerifyField(verifier, VT_LOCKED_ERROR_IN_DEG, 4) && @@ -3960,8 +3981,8 @@ struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StayAlignedTrackerBuilder { typedef StayAlignedTracker Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_yaw_correction_in_deg(float yaw_correction_in_deg) { fbb_.AddElement(StayAlignedTracker::VT_YAW_CORRECTION_IN_DEG, yaw_correction_in_deg, 0.0f); } @@ -3977,19 +3998,19 @@ struct StayAlignedTrackerBuilder { void add_locked(bool locked) { fbb_.AddElement(StayAlignedTracker::VT_LOCKED, static_cast(locked), 0); } - explicit StayAlignedTrackerBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StayAlignedTrackerBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStayAlignedTracker( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStayAlignedTracker( + ::flatbuffers::FlatBufferBuilder &_fbb, float yaw_correction_in_deg = 0.0f, float locked_error_in_deg = 0.0f, float center_error_in_deg = 0.0f, @@ -4013,7 +4034,7 @@ namespace tracker { /// /// Trackers may be synthetic/computed or instead part of an actual hardware device. /// There can be multiple trackers per hardware device. -struct TrackerData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TrackerData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TrackerDataBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4, @@ -4083,7 +4104,7 @@ struct TrackerData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { return GetStruct(VT_ROTATION_IDENTITY_ADJUSTED); } /// Data ticks per second, processed by SlimeVR server - flatbuffers::Optional tps() const { + ::flatbuffers::Optional tps() const { return GetOptional(VT_TPS); } /// Magnetic field vector, in mGauss @@ -4094,7 +4115,7 @@ struct TrackerData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::data_feed::stay_aligned::StayAlignedTracker *stay_aligned() const { return GetPointer(VT_STAY_ALIGNED); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -4119,12 +4140,12 @@ struct TrackerData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TrackerDataBuilder { typedef TrackerData Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_id(flatbuffers::Offset tracker_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { fbb_.AddOffset(TrackerData::VT_TRACKER_ID, tracker_id); } - void add_info(flatbuffers::Offset info) { + void add_info(::flatbuffers::Offset info) { fbb_.AddOffset(TrackerData::VT_INFO, info); } void add_status(solarxr_protocol::datatypes::TrackerStatus status) { @@ -4160,24 +4181,24 @@ struct TrackerDataBuilder { void add_raw_magnetic_vector(const solarxr_protocol::datatypes::math::Vec3f *raw_magnetic_vector) { fbb_.AddStruct(TrackerData::VT_RAW_MAGNETIC_VECTOR, raw_magnetic_vector); } - void add_stay_aligned(flatbuffers::Offset stay_aligned) { + void add_stay_aligned(::flatbuffers::Offset stay_aligned) { fbb_.AddOffset(TrackerData::VT_STAY_ALIGNED, stay_aligned); } - explicit TrackerDataBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTrackerData( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0, - flatbuffers::Offset info = 0, +inline ::flatbuffers::Offset CreateTrackerData( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0, + ::flatbuffers::Offset info = 0, solarxr_protocol::datatypes::TrackerStatus status = solarxr_protocol::datatypes::TrackerStatus::NONE, const solarxr_protocol::datatypes::math::Quat *rotation = nullptr, const solarxr_protocol::datatypes::math::Vec3f *position = nullptr, @@ -4187,9 +4208,9 @@ inline flatbuffers::Offset CreateTrackerData( const solarxr_protocol::datatypes::math::Vec3f *linear_acceleration = nullptr, const solarxr_protocol::datatypes::math::Quat *rotation_reference_adjusted = nullptr, const solarxr_protocol::datatypes::math::Quat *rotation_identity_adjusted = nullptr, - flatbuffers::Optional tps = flatbuffers::nullopt, + ::flatbuffers::Optional tps = ::flatbuffers::nullopt, const solarxr_protocol::datatypes::math::Vec3f *raw_magnetic_vector = nullptr, - flatbuffers::Offset stay_aligned = 0) { + ::flatbuffers::Offset stay_aligned = 0) { TrackerDataBuilder builder_(_fbb); builder_.add_stay_aligned(stay_aligned); builder_.add_raw_magnetic_vector(raw_magnetic_vector); @@ -4209,7 +4230,7 @@ inline flatbuffers::Offset CreateTrackerData( } /// A mask of the different components in `TrackerComponent` -struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TrackerDataMaskBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_INFO = 4, @@ -4265,7 +4286,7 @@ struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool stay_aligned() const { return GetField(VT_STAY_ALIGNED, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_INFO, 1) && VerifyField(verifier, VT_STATUS, 1) && @@ -4286,8 +4307,8 @@ struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TrackerDataMaskBuilder { typedef TrackerDataMask Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_info(bool info) { fbb_.AddElement(TrackerDataMask::VT_INFO, static_cast(info), 0); } @@ -4327,19 +4348,19 @@ struct TrackerDataMaskBuilder { void add_stay_aligned(bool stay_aligned) { fbb_.AddElement(TrackerDataMask::VT_STAY_ALIGNED, static_cast(stay_aligned), 0); } - explicit TrackerDataMaskBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerDataMaskBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTrackerDataMask( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateTrackerDataMask( + ::flatbuffers::FlatBufferBuilder &_fbb, bool info = false, bool status = false, bool rotation = false, @@ -4371,7 +4392,7 @@ inline flatbuffers::Offset CreateTrackerDataMask( } /// Static description of a tracker -struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TrackerInfoBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IMU_TYPE = 4, @@ -4418,12 +4439,12 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { return GetField(VT_IS_IMU, 0) != 0; } /// A human-friendly name to display as the name of the tracker. - const flatbuffers::String *display_name() const { - return GetPointer(VT_DISPLAY_NAME); + const ::flatbuffers::String *display_name() const { + return GetPointer(VT_DISPLAY_NAME); } /// name to display as the name of the tracker set by the user - const flatbuffers::String *custom_name() const { - return GetPointer(VT_CUSTOM_NAME); + const ::flatbuffers::String *custom_name() const { + return GetPointer(VT_CUSTOM_NAME); } /// Whether to allow yaw drift compensation for this tracker or not. bool allow_drift_compensation() const { @@ -4449,7 +4470,7 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status() const { return static_cast(GetField(VT_REST_CALIBRATION_STATUS, 0)); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IMU_TYPE, 2) && VerifyField(verifier, VT_BODY_PART, 1) && @@ -4474,8 +4495,8 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TrackerInfoBuilder { typedef TrackerInfo Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_imu_type(solarxr_protocol::datatypes::hardware_info::ImuType imu_type) { fbb_.AddElement(TrackerInfo::VT_IMU_TYPE, static_cast(imu_type), 0); } @@ -4497,10 +4518,10 @@ struct TrackerInfoBuilder { void add_is_imu(bool is_imu) { fbb_.AddElement(TrackerInfo::VT_IS_IMU, static_cast(is_imu), 0); } - void add_display_name(flatbuffers::Offset display_name) { + void add_display_name(::flatbuffers::Offset<::flatbuffers::String> display_name) { fbb_.AddOffset(TrackerInfo::VT_DISPLAY_NAME, display_name); } - void add_custom_name(flatbuffers::Offset custom_name) { + void add_custom_name(::flatbuffers::Offset<::flatbuffers::String> custom_name) { fbb_.AddOffset(TrackerInfo::VT_CUSTOM_NAME, custom_name); } void add_allow_drift_compensation(bool allow_drift_compensation) { @@ -4521,19 +4542,19 @@ struct TrackerInfoBuilder { void add_rest_calibration_status(solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status) { fbb_.AddElement(TrackerInfo::VT_REST_CALIBRATION_STATUS, static_cast(rest_calibration_status), 0); } - explicit TrackerInfoBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTrackerInfo( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateTrackerInfo( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::ImuType imu_type = solarxr_protocol::datatypes::hardware_info::ImuType::Other, solarxr_protocol::datatypes::BodyPart body_part = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::HzF32 *poll_rate = nullptr, @@ -4541,8 +4562,8 @@ inline flatbuffers::Offset CreateTrackerInfo( bool editable = false, bool is_computed = false, bool is_imu = false, - flatbuffers::Offset display_name = 0, - flatbuffers::Offset custom_name = 0, + ::flatbuffers::Offset<::flatbuffers::String> display_name = 0, + ::flatbuffers::Offset<::flatbuffers::String> custom_name = 0, bool allow_drift_compensation = false, const solarxr_protocol::datatypes::math::Quat *mounting_reset_orientation = nullptr, bool is_hmd = false, @@ -4568,8 +4589,8 @@ inline flatbuffers::Offset CreateTrackerInfo( return builder_.Finish(); } -inline flatbuffers::Offset CreateTrackerInfoDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateTrackerInfoDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::ImuType imu_type = solarxr_protocol::datatypes::hardware_info::ImuType::Other, solarxr_protocol::datatypes::BodyPart body_part = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::HzF32 *poll_rate = nullptr, @@ -4616,7 +4637,7 @@ namespace device_data { /// If you set a value to `true`, it is not guaranteed that the sender actually has /// such a value to send. In this case, they will probably send `null`, and the receiver /// has the choice to disconnect due to missing data. -struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef DeviceDataMaskBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_DATA = 4, @@ -4630,7 +4651,7 @@ struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool device_data() const { return GetField(VT_DEVICE_DATA, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_DATA) && verifier.VerifyTable(tracker_data()) && @@ -4641,28 +4662,28 @@ struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct DeviceDataMaskBuilder { typedef DeviceDataMask Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_data(flatbuffers::Offset tracker_data) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_data(::flatbuffers::Offset tracker_data) { fbb_.AddOffset(DeviceDataMask::VT_TRACKER_DATA, tracker_data); } void add_device_data(bool device_data) { fbb_.AddElement(DeviceDataMask::VT_DEVICE_DATA, static_cast(device_data), 0); } - explicit DeviceDataMaskBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit DeviceDataMaskBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateDeviceDataMask( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_data = 0, +inline ::flatbuffers::Offset CreateDeviceDataMask( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_data = 0, bool device_data = false) { DeviceDataMaskBuilder builder_(_fbb); builder_.add_tracker_data(tracker_data); @@ -4673,7 +4694,7 @@ inline flatbuffers::Offset CreateDeviceDataMask( /// Describes all possible information about a hardware device. For example, a /// vive tracker is a single hardware device, and a slime tracker with two /// extensions is a single hardware device but two trackers. -struct DeviceData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct DeviceData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef DeviceDataBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4, @@ -4687,8 +4708,8 @@ struct DeviceData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { } /// The dynamically changeable name of the device. This might be set by the /// user to help them remember which tracker is which. - const flatbuffers::String *custom_name() const { - return GetPointer(VT_CUSTOM_NAME); + const ::flatbuffers::String *custom_name() const { + return GetPointer(VT_CUSTOM_NAME); } /// Mostly-static info about the device hardware const solarxr_protocol::datatypes::hardware_info::HardwareInfo *hardware_info() const { @@ -4699,10 +4720,10 @@ struct DeviceData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { return GetPointer(VT_HARDWARE_STATUS); } /// Info about all trackers attached to this device - const flatbuffers::Vector> *trackers() const { - return GetPointer> *>(VT_TRACKERS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *trackers() const { + return GetPointer> *>(VT_TRACKERS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 1) && VerifyOffset(verifier, VT_CUSTOM_NAME) && @@ -4720,41 +4741,41 @@ struct DeviceData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct DeviceDataBuilder { typedef DeviceData Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_id(const solarxr_protocol::datatypes::DeviceId *id) { fbb_.AddStruct(DeviceData::VT_ID, id); } - void add_custom_name(flatbuffers::Offset custom_name) { + void add_custom_name(::flatbuffers::Offset<::flatbuffers::String> custom_name) { fbb_.AddOffset(DeviceData::VT_CUSTOM_NAME, custom_name); } - void add_hardware_info(flatbuffers::Offset hardware_info) { + void add_hardware_info(::flatbuffers::Offset hardware_info) { fbb_.AddOffset(DeviceData::VT_HARDWARE_INFO, hardware_info); } - void add_hardware_status(flatbuffers::Offset hardware_status) { + void add_hardware_status(::flatbuffers::Offset hardware_status) { fbb_.AddOffset(DeviceData::VT_HARDWARE_STATUS, hardware_status); } - void add_trackers(flatbuffers::Offset>> trackers) { + void add_trackers(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> trackers) { fbb_.AddOffset(DeviceData::VT_TRACKERS, trackers); } - explicit DeviceDataBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit DeviceDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateDeviceData( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateDeviceData( + ::flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *id = nullptr, - flatbuffers::Offset custom_name = 0, - flatbuffers::Offset hardware_info = 0, - flatbuffers::Offset hardware_status = 0, - flatbuffers::Offset>> trackers = 0) { + ::flatbuffers::Offset<::flatbuffers::String> custom_name = 0, + ::flatbuffers::Offset hardware_info = 0, + ::flatbuffers::Offset hardware_status = 0, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> trackers = 0) { DeviceDataBuilder builder_(_fbb); builder_.add_trackers(trackers); builder_.add_hardware_status(hardware_status); @@ -4764,15 +4785,15 @@ inline flatbuffers::Offset CreateDeviceData( return builder_.Finish(); } -inline flatbuffers::Offset CreateDeviceDataDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateDeviceDataDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *id = nullptr, const char *custom_name = nullptr, - flatbuffers::Offset hardware_info = 0, - flatbuffers::Offset hardware_status = 0, - const std::vector> *trackers = nullptr) { + ::flatbuffers::Offset hardware_info = 0, + ::flatbuffers::Offset hardware_status = 0, + const std::vector<::flatbuffers::Offset> *trackers = nullptr) { auto custom_name__ = custom_name ? _fbb.CreateString(custom_name) : 0; - auto trackers__ = trackers ? _fbb.CreateVector>(*trackers) : 0; + auto trackers__ = trackers ? _fbb.CreateVector<::flatbuffers::Offset>(*trackers) : 0; return solarxr_protocol::data_feed::device_data::CreateDeviceData( _fbb, id, @@ -4784,7 +4805,7 @@ inline flatbuffers::Offset CreateDeviceDataDirect( } // namespace device_data -struct Bone FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct Bone FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef BoneBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BODY_PART = 4, @@ -4812,7 +4833,7 @@ struct Bone FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::datatypes::math::Vec3f *head_position_g() const { return GetStruct(VT_HEAD_POSITION_G); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_BODY_PART, 1) && VerifyField(verifier, VT_ROTATION_G, 4) && @@ -4824,8 +4845,8 @@ struct Bone FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct BoneBuilder { typedef Bone Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_body_part(solarxr_protocol::datatypes::BodyPart body_part) { fbb_.AddElement(Bone::VT_BODY_PART, static_cast(body_part), 0); } @@ -4838,19 +4859,19 @@ struct BoneBuilder { void add_head_position_g(const solarxr_protocol::datatypes::math::Vec3f *head_position_g) { fbb_.AddStruct(Bone::VT_HEAD_POSITION_G, head_position_g); } - explicit BoneBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit BoneBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateBone( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateBone( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::BodyPart body_part = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::math::Quat *rotation_g = nullptr, float bone_length = 0.0f, @@ -4863,6 +4884,7 @@ inline flatbuffers::Offset CreateBone( return builder_.Finish(); } +struct DataFeedMessageHeader FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { namespace server { struct ServerGuards FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { @@ -4953,7 +4975,7 @@ struct DataFeedMessageHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl const solarxr_protocol::data_feed::DataFeedConfig *message_as_DataFeedConfig() const { return message_type() == solarxr_protocol::data_feed::DataFeedMessage::DataFeedConfig ? static_cast(message()) : nullptr; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_MESSAGE_TYPE, 1) && VerifyOffset(verifier, VT_MESSAGE) && @@ -4980,29 +5002,29 @@ template<> inline const solarxr_protocol::data_feed::DataFeedConfig *DataFeedMes struct DataFeedMessageHeaderBuilder { typedef DataFeedMessageHeader Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_message_type(solarxr_protocol::data_feed::DataFeedMessage message_type) { fbb_.AddElement(DataFeedMessageHeader::VT_MESSAGE_TYPE, static_cast(message_type), 0); } - void add_message(flatbuffers::Offset message) { + void add_message(::flatbuffers::Offset message) { fbb_.AddOffset(DataFeedMessageHeader::VT_MESSAGE, message); } - explicit DataFeedMessageHeaderBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit DataFeedMessageHeaderBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateDataFeedMessageHeader( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateDataFeedMessageHeader( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::data_feed::DataFeedMessage message_type = solarxr_protocol::data_feed::DataFeedMessage::NONE, - flatbuffers::Offset message = 0) { + ::flatbuffers::Offset message = 0) { DataFeedMessageHeaderBuilder builder_(_fbb); builder_.add_message(message); builder_.add_message_type(message_type); @@ -5011,7 +5033,7 @@ inline flatbuffers::Offset CreateDataFeedMessageHeader( /// Requests for a single `Update` to be sent. This is helpful when getting /// initial info about the device. -struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef PollDataFeedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CONFIG = 4 @@ -5019,7 +5041,7 @@ struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::data_feed::DataFeedConfig *config() const { return GetPointer(VT_CONFIG); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_CONFIG) && verifier.VerifyTable(config()) && @@ -5029,25 +5051,25 @@ struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct PollDataFeedBuilder { typedef PollDataFeed Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_config(flatbuffers::Offset config) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_config(::flatbuffers::Offset config) { fbb_.AddOffset(PollDataFeed::VT_CONFIG, config); } - explicit PollDataFeedBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit PollDataFeedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreatePollDataFeed( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset config = 0) { +inline ::flatbuffers::Offset CreatePollDataFeed( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset config = 0) { PollDataFeedBuilder builder_(_fbb); builder_.add_config(config); return builder_.Finish(); @@ -5061,15 +5083,15 @@ inline flatbuffers::Offset CreatePollDataFeed( /// is a list. /// /// Multiple data feeds are useful to get data at different frequencies. -struct StartDataFeed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StartDataFeed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StartDataFeedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DATA_FEEDS = 4 }; - const flatbuffers::Vector> *data_feeds() const { - return GetPointer> *>(VT_DATA_FEEDS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *data_feeds() const { + return GetPointer> *>(VT_DATA_FEEDS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DATA_FEEDS) && verifier.VerifyVector(data_feeds()) && @@ -5080,34 +5102,34 @@ struct StartDataFeed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StartDataFeedBuilder { typedef StartDataFeed Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_data_feeds(flatbuffers::Offset>> data_feeds) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_data_feeds(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feeds) { fbb_.AddOffset(StartDataFeed::VT_DATA_FEEDS, data_feeds); } - explicit StartDataFeedBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StartDataFeedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStartDataFeed( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> data_feeds = 0) { +inline ::flatbuffers::Offset CreateStartDataFeed( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feeds = 0) { StartDataFeedBuilder builder_(_fbb); builder_.add_data_feeds(data_feeds); return builder_.Finish(); } -inline flatbuffers::Offset CreateStartDataFeedDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *data_feeds = nullptr) { - auto data_feeds__ = data_feeds ? _fbb.CreateVector>(*data_feeds) : 0; +inline ::flatbuffers::Offset CreateStartDataFeedDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset> *data_feeds = nullptr) { + auto data_feeds__ = data_feeds ? _fbb.CreateVector<::flatbuffers::Offset>(*data_feeds) : 0; return solarxr_protocol::data_feed::CreateStartDataFeed( _fbb, data_feeds__); @@ -5120,7 +5142,7 @@ inline flatbuffers::Offset CreateStartDataFeedDirect( /// assumptions that the data is actually delivered. If you want to guarantee /// delivery and avoid dropped observations of data (such as a user-initiated /// button press), it is better to use the RPC system. -struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef DataFeedUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICES = 4, @@ -5130,15 +5152,15 @@ struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_INDEX = 12, VT_SERVER_GUARDS = 14 }; - const flatbuffers::Vector> *devices() const { - return GetPointer> *>(VT_DEVICES); + const ::flatbuffers::Vector<::flatbuffers::Offset> *devices() const { + return GetPointer> *>(VT_DEVICES); } - const flatbuffers::Vector> *synthetic_trackers() const { - return GetPointer> *>(VT_SYNTHETIC_TRACKERS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *synthetic_trackers() const { + return GetPointer> *>(VT_SYNTHETIC_TRACKERS); } /// This must represent a set, where there is no more than one bone for a `BodyPart`. - const flatbuffers::Vector> *bones() const { - return GetPointer> *>(VT_BONES); + const ::flatbuffers::Vector<::flatbuffers::Offset> *bones() const { + return GetPointer> *>(VT_BONES); } const solarxr_protocol::data_feed::stay_aligned::StayAlignedPose *stay_aligned_pose() const { return GetPointer(VT_STAY_ALIGNED_POSE); @@ -5146,6 +5168,7 @@ struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { uint8_t index() const { return GetField(VT_INDEX, 0); } + bool Verify(::flatbuffers::Verifier &verifier) const { const solarxr_protocol::data_feed::server::ServerGuards *server_guards() const { return GetPointer(VT_SERVER_GUARDS); } @@ -5171,23 +5194,24 @@ struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct DataFeedUpdateBuilder { typedef DataFeedUpdate Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_devices(flatbuffers::Offset>> devices) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_devices(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices) { fbb_.AddOffset(DataFeedUpdate::VT_DEVICES, devices); } - void add_synthetic_trackers(flatbuffers::Offset>> synthetic_trackers) { + void add_synthetic_trackers(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> synthetic_trackers) { fbb_.AddOffset(DataFeedUpdate::VT_SYNTHETIC_TRACKERS, synthetic_trackers); } - void add_bones(flatbuffers::Offset>> bones) { + void add_bones(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> bones) { fbb_.AddOffset(DataFeedUpdate::VT_BONES, bones); } - void add_stay_aligned_pose(flatbuffers::Offset stay_aligned_pose) { + void add_stay_aligned_pose(::flatbuffers::Offset stay_aligned_pose) { fbb_.AddOffset(DataFeedUpdate::VT_STAY_ALIGNED_POSE, stay_aligned_pose); } void add_index(uint8_t index) { fbb_.AddElement(DataFeedUpdate::VT_INDEX, index, 0); } + explicit DataFeedUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_server_guards(flatbuffers::Offset server_guards) { fbb_.AddOffset(DataFeedUpdate::VT_SERVER_GUARDS, server_guards); } @@ -5195,13 +5219,20 @@ struct DataFeedUpdateBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; +inline ::flatbuffers::Offset CreateDataFeedUpdate( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices = 0, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> synthetic_trackers = 0, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> bones = 0, + ::flatbuffers::Offset stay_aligned_pose = 0, + uint8_t index = 0) { inline flatbuffers::Offset CreateDataFeedUpdate( flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset>> devices = 0, @@ -5220,6 +5251,16 @@ inline flatbuffers::Offset CreateDataFeedUpdate( return builder_.Finish(); } +inline ::flatbuffers::Offset CreateDataFeedUpdateDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset> *devices = nullptr, + const std::vector<::flatbuffers::Offset> *synthetic_trackers = nullptr, + const std::vector<::flatbuffers::Offset> *bones = nullptr, + ::flatbuffers::Offset stay_aligned_pose = 0, + uint8_t index = 0) { + auto devices__ = devices ? _fbb.CreateVector<::flatbuffers::Offset>(*devices) : 0; + auto synthetic_trackers__ = synthetic_trackers ? _fbb.CreateVector<::flatbuffers::Offset>(*synthetic_trackers) : 0; + auto bones__ = bones ? _fbb.CreateVector<::flatbuffers::Offset>(*bones) : 0; inline flatbuffers::Offset CreateDataFeedUpdateDirect( flatbuffers::FlatBufferBuilder &_fbb, const std::vector> *devices = nullptr, @@ -5243,7 +5284,7 @@ inline flatbuffers::Offset CreateDataFeedUpdateDirect( /// All information related to the configuration of a data feed. This may be sent /// as part of a `StartFeed`. -struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef DataFeedConfigBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MINIMUM_TIME_SINCE_LAST = 4, @@ -5270,6 +5311,7 @@ struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool stay_aligned_pose_mask() const { return GetField(VT_STAY_ALIGNED_POSE_MASK, 0) != 0; } + bool Verify(::flatbuffers::Verifier &verifier) const { bool server_guards_mask() const { return GetField(VT_SERVER_GUARDS_MASK, 0) != 0; } @@ -5289,15 +5331,15 @@ struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct DataFeedConfigBuilder { typedef DataFeedConfig Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_minimum_time_since_last(uint16_t minimum_time_since_last) { fbb_.AddElement(DataFeedConfig::VT_MINIMUM_TIME_SINCE_LAST, minimum_time_since_last, 0); } - void add_data_mask(flatbuffers::Offset data_mask) { + void add_data_mask(::flatbuffers::Offset data_mask) { fbb_.AddOffset(DataFeedConfig::VT_DATA_MASK, data_mask); } - void add_synthetic_trackers_mask(flatbuffers::Offset synthetic_trackers_mask) { + void add_synthetic_trackers_mask(::flatbuffers::Offset synthetic_trackers_mask) { fbb_.AddOffset(DataFeedConfig::VT_SYNTHETIC_TRACKERS_MASK, synthetic_trackers_mask); } void add_bone_mask(bool bone_mask) { @@ -5306,6 +5348,7 @@ struct DataFeedConfigBuilder { void add_stay_aligned_pose_mask(bool stay_aligned_pose_mask) { fbb_.AddElement(DataFeedConfig::VT_STAY_ALIGNED_POSE_MASK, static_cast(stay_aligned_pose_mask), 0); } + explicit DataFeedConfigBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_server_guards_mask(bool server_guards_mask) { fbb_.AddElement(DataFeedConfig::VT_SERVER_GUARDS_MASK, static_cast(server_guards_mask), 0); } @@ -5313,18 +5356,18 @@ struct DataFeedConfigBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateDataFeedConfig( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateDataFeedConfig( + ::flatbuffers::FlatBufferBuilder &_fbb, uint16_t minimum_time_since_last = 0, - flatbuffers::Offset data_mask = 0, - flatbuffers::Offset synthetic_trackers_mask = 0, + ::flatbuffers::Offset data_mask = 0, + ::flatbuffers::Offset synthetic_trackers_mask = 0, bool bone_mask = false, bool stay_aligned_pose_mask = false, bool server_guards_mask = false) { @@ -5344,7 +5387,7 @@ namespace rpc { namespace settings { /// Settings for the skeletal model that are toggles. -struct ModelToggles FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ModelToggles FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ModelTogglesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_EXTENDED_SPINE = 4, @@ -5360,43 +5403,43 @@ struct ModelToggles FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_ENFORCE_CONSTRAINTS = 26, VT_CORRECT_CONSTRAINTS = 28 }; - flatbuffers::Optional extended_spine() const { + ::flatbuffers::Optional extended_spine() const { return GetOptional(VT_EXTENDED_SPINE); } - flatbuffers::Optional extended_pelvis() const { + ::flatbuffers::Optional extended_pelvis() const { return GetOptional(VT_EXTENDED_PELVIS); } - flatbuffers::Optional extended_knee() const { + ::flatbuffers::Optional extended_knee() const { return GetOptional(VT_EXTENDED_KNEE); } - flatbuffers::Optional force_arms_from_hmd() const { + ::flatbuffers::Optional force_arms_from_hmd() const { return GetOptional(VT_FORCE_ARMS_FROM_HMD); } - flatbuffers::Optional floor_clip() const { + ::flatbuffers::Optional floor_clip() const { return GetOptional(VT_FLOOR_CLIP); } - flatbuffers::Optional skating_correction() const { + ::flatbuffers::Optional skating_correction() const { return GetOptional(VT_SKATING_CORRECTION); } - flatbuffers::Optional toe_snap() const { + ::flatbuffers::Optional toe_snap() const { return GetOptional(VT_TOE_SNAP); } - flatbuffers::Optional foot_plant() const { + ::flatbuffers::Optional foot_plant() const { return GetOptional(VT_FOOT_PLANT); } - flatbuffers::Optional self_localization() const { + ::flatbuffers::Optional self_localization() const { return GetOptional(VT_SELF_LOCALIZATION); } - flatbuffers::Optional use_position() const { + ::flatbuffers::Optional use_position() const { return GetOptional(VT_USE_POSITION); } - flatbuffers::Optional enforce_constraints() const { + ::flatbuffers::Optional enforce_constraints() const { return GetOptional(VT_ENFORCE_CONSTRAINTS); } - flatbuffers::Optional correct_constraints() const { + ::flatbuffers::Optional correct_constraints() const { return GetOptional(VT_CORRECT_CONSTRAINTS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_EXTENDED_SPINE, 1) && VerifyField(verifier, VT_EXTENDED_PELVIS, 1) && @@ -5416,8 +5459,8 @@ struct ModelToggles FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct ModelTogglesBuilder { typedef ModelToggles Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_extended_spine(bool extended_spine) { fbb_.AddElement(ModelToggles::VT_EXTENDED_SPINE, static_cast(extended_spine)); } @@ -5454,31 +5497,31 @@ struct ModelTogglesBuilder { void add_correct_constraints(bool correct_constraints) { fbb_.AddElement(ModelToggles::VT_CORRECT_CONSTRAINTS, static_cast(correct_constraints)); } - explicit ModelTogglesBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ModelTogglesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateModelToggles( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional extended_spine = flatbuffers::nullopt, - flatbuffers::Optional extended_pelvis = flatbuffers::nullopt, - flatbuffers::Optional extended_knee = flatbuffers::nullopt, - flatbuffers::Optional force_arms_from_hmd = flatbuffers::nullopt, - flatbuffers::Optional floor_clip = flatbuffers::nullopt, - flatbuffers::Optional skating_correction = flatbuffers::nullopt, - flatbuffers::Optional toe_snap = flatbuffers::nullopt, - flatbuffers::Optional foot_plant = flatbuffers::nullopt, - flatbuffers::Optional self_localization = flatbuffers::nullopt, - flatbuffers::Optional use_position = flatbuffers::nullopt, - flatbuffers::Optional enforce_constraints = flatbuffers::nullopt, - flatbuffers::Optional correct_constraints = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateModelToggles( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional extended_spine = ::flatbuffers::nullopt, + ::flatbuffers::Optional extended_pelvis = ::flatbuffers::nullopt, + ::flatbuffers::Optional extended_knee = ::flatbuffers::nullopt, + ::flatbuffers::Optional force_arms_from_hmd = ::flatbuffers::nullopt, + ::flatbuffers::Optional floor_clip = ::flatbuffers::nullopt, + ::flatbuffers::Optional skating_correction = ::flatbuffers::nullopt, + ::flatbuffers::Optional toe_snap = ::flatbuffers::nullopt, + ::flatbuffers::Optional foot_plant = ::flatbuffers::nullopt, + ::flatbuffers::Optional self_localization = ::flatbuffers::nullopt, + ::flatbuffers::Optional use_position = ::flatbuffers::nullopt, + ::flatbuffers::Optional enforce_constraints = ::flatbuffers::nullopt, + ::flatbuffers::Optional correct_constraints = ::flatbuffers::nullopt) { ModelTogglesBuilder builder_(_fbb); if(correct_constraints) { builder_.add_correct_constraints(*correct_constraints); } if(enforce_constraints) { builder_.add_enforce_constraints(*enforce_constraints); } @@ -5497,7 +5540,7 @@ inline flatbuffers::Offset CreateModelToggles( /// Settings for the skeletal model that are ratios. /// These values range from 0 to 1. -struct ModelRatios FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ModelRatios FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ModelRatiosBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IMPUTE_WAIST_FROM_CHEST_HIP = 4, @@ -5508,31 +5551,31 @@ struct ModelRatios FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_INTERP_KNEE_TRACKER_ANKLE = 14, VT_INTERP_KNEE_ANKLE = 16 }; - flatbuffers::Optional impute_waist_from_chest_hip() const { + ::flatbuffers::Optional impute_waist_from_chest_hip() const { return GetOptional(VT_IMPUTE_WAIST_FROM_CHEST_HIP); } - flatbuffers::Optional impute_waist_from_chest_legs() const { + ::flatbuffers::Optional impute_waist_from_chest_legs() const { return GetOptional(VT_IMPUTE_WAIST_FROM_CHEST_LEGS); } - flatbuffers::Optional impute_hip_from_chest_legs() const { + ::flatbuffers::Optional impute_hip_from_chest_legs() const { return GetOptional(VT_IMPUTE_HIP_FROM_CHEST_LEGS); } - flatbuffers::Optional impute_hip_from_waist_legs() const { + ::flatbuffers::Optional impute_hip_from_waist_legs() const { return GetOptional(VT_IMPUTE_HIP_FROM_WAIST_LEGS); } /// Hip's yaw and roll is set to the average of legs when 1.0 - flatbuffers::Optional interp_hip_legs() const { + ::flatbuffers::Optional interp_hip_legs() const { return GetOptional(VT_INTERP_HIP_LEGS); } /// Knee trackers' yaw and roll is set to the lower leg's when 1.0 - flatbuffers::Optional interp_knee_tracker_ankle() const { + ::flatbuffers::Optional interp_knee_tracker_ankle() const { return GetOptional(VT_INTERP_KNEE_TRACKER_ANKLE); } /// Upper leg's yaw and roll is set to the lower leg's when 1.0 - flatbuffers::Optional interp_knee_ankle() const { + ::flatbuffers::Optional interp_knee_ankle() const { return GetOptional(VT_INTERP_KNEE_ANKLE); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IMPUTE_WAIST_FROM_CHEST_HIP, 4) && VerifyField(verifier, VT_IMPUTE_WAIST_FROM_CHEST_LEGS, 4) && @@ -5547,8 +5590,8 @@ struct ModelRatios FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct ModelRatiosBuilder { typedef ModelRatios Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_impute_waist_from_chest_hip(float impute_waist_from_chest_hip) { fbb_.AddElement(ModelRatios::VT_IMPUTE_WAIST_FROM_CHEST_HIP, impute_waist_from_chest_hip); } @@ -5570,26 +5613,26 @@ struct ModelRatiosBuilder { void add_interp_knee_ankle(float interp_knee_ankle) { fbb_.AddElement(ModelRatios::VT_INTERP_KNEE_ANKLE, interp_knee_ankle); } - explicit ModelRatiosBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ModelRatiosBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateModelRatios( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional impute_waist_from_chest_hip = flatbuffers::nullopt, - flatbuffers::Optional impute_waist_from_chest_legs = flatbuffers::nullopt, - flatbuffers::Optional impute_hip_from_chest_legs = flatbuffers::nullopt, - flatbuffers::Optional impute_hip_from_waist_legs = flatbuffers::nullopt, - flatbuffers::Optional interp_hip_legs = flatbuffers::nullopt, - flatbuffers::Optional interp_knee_tracker_ankle = flatbuffers::nullopt, - flatbuffers::Optional interp_knee_ankle = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateModelRatios( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional impute_waist_from_chest_hip = ::flatbuffers::nullopt, + ::flatbuffers::Optional impute_waist_from_chest_legs = ::flatbuffers::nullopt, + ::flatbuffers::Optional impute_hip_from_chest_legs = ::flatbuffers::nullopt, + ::flatbuffers::Optional impute_hip_from_waist_legs = ::flatbuffers::nullopt, + ::flatbuffers::Optional interp_hip_legs = ::flatbuffers::nullopt, + ::flatbuffers::Optional interp_knee_tracker_ankle = ::flatbuffers::nullopt, + ::flatbuffers::Optional interp_knee_ankle = ::flatbuffers::nullopt) { ModelRatiosBuilder builder_(_fbb); if(interp_knee_ankle) { builder_.add_interp_knee_ankle(*interp_knee_ankle); } if(interp_knee_tracker_ankle) { builder_.add_interp_knee_tracker_ankle(*interp_knee_tracker_ankle); } @@ -5601,15 +5644,15 @@ inline flatbuffers::Offset CreateModelRatios( return builder_.Finish(); } -struct LegTweaksSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct LegTweaksSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef LegTweaksSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CORRECTION_STRENGTH = 4 }; - flatbuffers::Optional correction_strength() const { + ::flatbuffers::Optional correction_strength() const { return GetOptional(VT_CORRECTION_STRENGTH); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_CORRECTION_STRENGTH, 4) && verifier.EndTable(); @@ -5618,43 +5661,43 @@ struct LegTweaksSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct LegTweaksSettingsBuilder { typedef LegTweaksSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_correction_strength(float correction_strength) { fbb_.AddElement(LegTweaksSettings::VT_CORRECTION_STRENGTH, correction_strength); } - explicit LegTweaksSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit LegTweaksSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateLegTweaksSettings( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional correction_strength = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateLegTweaksSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional correction_strength = ::flatbuffers::nullopt) { LegTweaksSettingsBuilder builder_(_fbb); if(correction_strength) { builder_.add_correction_strength(*correction_strength); } return builder_.Finish(); } -struct SkeletonHeight FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SkeletonHeight FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SkeletonHeightBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_HMD_HEIGHT = 4, VT_FLOOR_HEIGHT = 6 }; - flatbuffers::Optional hmd_height() const { + ::flatbuffers::Optional hmd_height() const { return GetOptional(VT_HMD_HEIGHT); } - flatbuffers::Optional floor_height() const { + ::flatbuffers::Optional floor_height() const { return GetOptional(VT_FLOOR_HEIGHT); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_HMD_HEIGHT, 4) && VerifyField(verifier, VT_FLOOR_HEIGHT, 4) && @@ -5664,29 +5707,29 @@ struct SkeletonHeight FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct SkeletonHeightBuilder { typedef SkeletonHeight Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_hmd_height(float hmd_height) { fbb_.AddElement(SkeletonHeight::VT_HMD_HEIGHT, hmd_height); } void add_floor_height(float floor_height) { fbb_.AddElement(SkeletonHeight::VT_FLOOR_HEIGHT, floor_height); } - explicit SkeletonHeightBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SkeletonHeightBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSkeletonHeight( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional hmd_height = flatbuffers::nullopt, - flatbuffers::Optional floor_height = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateSkeletonHeight( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional hmd_height = ::flatbuffers::nullopt, + ::flatbuffers::Optional floor_height = ::flatbuffers::nullopt) { SkeletonHeightBuilder builder_(_fbb); if(floor_height) { builder_.add_floor_height(*floor_height); } if(hmd_height) { builder_.add_hmd_height(*hmd_height); } @@ -5694,7 +5737,7 @@ inline flatbuffers::Offset CreateSkeletonHeight( } /// Settings for the skeletal model. -struct ModelSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ModelSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ModelSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TOGGLES = 4, @@ -5714,7 +5757,7 @@ struct ModelSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::settings::SkeletonHeight *skeleton_height() const { return GetPointer(VT_SKELETON_HEIGHT); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TOGGLES) && verifier.VerifyTable(toggles()) && @@ -5730,37 +5773,37 @@ struct ModelSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct ModelSettingsBuilder { typedef ModelSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_toggles(flatbuffers::Offset toggles) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_toggles(::flatbuffers::Offset toggles) { fbb_.AddOffset(ModelSettings::VT_TOGGLES, toggles); } - void add_ratios(flatbuffers::Offset ratios) { + void add_ratios(::flatbuffers::Offset ratios) { fbb_.AddOffset(ModelSettings::VT_RATIOS, ratios); } - void add_leg_tweaks(flatbuffers::Offset leg_tweaks) { + void add_leg_tweaks(::flatbuffers::Offset leg_tweaks) { fbb_.AddOffset(ModelSettings::VT_LEG_TWEAKS, leg_tweaks); } - void add_skeleton_height(flatbuffers::Offset skeleton_height) { + void add_skeleton_height(::flatbuffers::Offset skeleton_height) { fbb_.AddOffset(ModelSettings::VT_SKELETON_HEIGHT, skeleton_height); } - explicit ModelSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ModelSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateModelSettings( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset toggles = 0, - flatbuffers::Offset ratios = 0, - flatbuffers::Offset leg_tweaks = 0, - flatbuffers::Offset skeleton_height = 0) { +inline ::flatbuffers::Offset CreateModelSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset toggles = 0, + ::flatbuffers::Offset ratios = 0, + ::flatbuffers::Offset leg_tweaks = 0, + ::flatbuffers::Offset skeleton_height = 0) { ModelSettingsBuilder builder_(_fbb); builder_.add_skeleton_height(skeleton_height); builder_.add_leg_tweaks(leg_tweaks); @@ -5771,7 +5814,7 @@ inline flatbuffers::Offset CreateModelSettings( } // namespace settings -struct RpcMessageHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct RpcMessageHeader FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef RpcMessageHeaderBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TX_ID = 4, @@ -6003,6 +6046,7 @@ struct RpcMessageHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::SerialTrackerCustomCommandRequest *message_as_SerialTrackerCustomCommandRequest() const { return message_type() == solarxr_protocol::rpc::RpcMessage::SerialTrackerCustomCommandRequest ? static_cast(message()) : nullptr; } + bool Verify(::flatbuffers::Verifier &verifier) const { const solarxr_protocol::rpc::VRCConfigSettingToggleMute *message_as_VRCConfigSettingToggleMute() const { return message_type() == solarxr_protocol::rpc::RpcMessage::VRCConfigSettingToggleMute ? static_cast(message()) : nullptr; } @@ -6348,33 +6392,33 @@ template<> inline const solarxr_protocol::rpc::UserHeightRecordingStatusResponse struct RpcMessageHeaderBuilder { typedef RpcMessageHeader Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_tx_id(const solarxr_protocol::datatypes::TransactionId *tx_id) { fbb_.AddStruct(RpcMessageHeader::VT_TX_ID, tx_id); } void add_message_type(solarxr_protocol::rpc::RpcMessage message_type) { fbb_.AddElement(RpcMessageHeader::VT_MESSAGE_TYPE, static_cast(message_type), 0); } - void add_message(flatbuffers::Offset message) { + void add_message(::flatbuffers::Offset message) { fbb_.AddOffset(RpcMessageHeader::VT_MESSAGE, message); } - explicit RpcMessageHeaderBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit RpcMessageHeaderBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateRpcMessageHeader( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateRpcMessageHeader( + ::flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::TransactionId *tx_id = nullptr, solarxr_protocol::rpc::RpcMessage message_type = solarxr_protocol::rpc::RpcMessage::NONE, - flatbuffers::Offset message = 0) { + ::flatbuffers::Offset message = 0) { RpcMessageHeaderBuilder builder_(_fbb); builder_.add_message(message); builder_.add_tx_id(tx_id); @@ -6382,9 +6426,9 @@ inline flatbuffers::Offset CreateRpcMessageHeader( return builder_.Finish(); } -struct HeartbeatRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct HeartbeatRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef HeartbeatRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6392,28 +6436,28 @@ struct HeartbeatRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct HeartbeatRequestBuilder { typedef HeartbeatRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit HeartbeatRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit HeartbeatRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateHeartbeatRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateHeartbeatRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { HeartbeatRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct HeartbeatResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct HeartbeatResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef HeartbeatResponseBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6421,26 +6465,26 @@ struct HeartbeatResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct HeartbeatResponseBuilder { typedef HeartbeatResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit HeartbeatResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit HeartbeatResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateHeartbeatResponse( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateHeartbeatResponse( + ::flatbuffers::FlatBufferBuilder &_fbb) { HeartbeatResponseBuilder builder_(_fbb); return builder_.Finish(); } -struct ResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ResetRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RESET_TYPE = 4, @@ -6450,10 +6494,10 @@ struct ResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { return static_cast(GetField(VT_RESET_TYPE, 0)); } /// Which body parts to reset. Server handles it if empty (usually all) - const flatbuffers::Vector *body_parts() const { - return GetPointer *>(VT_BODY_PARTS); + const ::flatbuffers::Vector *body_parts() const { + return GetPointer *>(VT_BODY_PARTS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_RESET_TYPE, 1) && VerifyOffset(verifier, VT_BODY_PARTS) && @@ -6464,37 +6508,37 @@ struct ResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct ResetRequestBuilder { typedef ResetRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_reset_type(solarxr_protocol::rpc::ResetType reset_type) { fbb_.AddElement(ResetRequest::VT_RESET_TYPE, static_cast(reset_type), 0); } - void add_body_parts(flatbuffers::Offset> body_parts) { + void add_body_parts(::flatbuffers::Offset<::flatbuffers::Vector> body_parts) { fbb_.AddOffset(ResetRequest::VT_BODY_PARTS, body_parts); } - explicit ResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateResetRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateResetRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, - flatbuffers::Offset> body_parts = 0) { + ::flatbuffers::Offset<::flatbuffers::Vector> body_parts = 0) { ResetRequestBuilder builder_(_fbb); builder_.add_body_parts(body_parts); builder_.add_reset_type(reset_type); return builder_.Finish(); } -inline flatbuffers::Offset CreateResetRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateResetRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, const std::vector *body_parts = nullptr) { auto body_parts__ = body_parts ? _fbb.CreateVector(*body_parts) : 0; @@ -6504,7 +6548,7 @@ inline flatbuffers::Offset CreateResetRequestDirect( body_parts__); } -struct ResetResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ResetResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ResetResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RESET_TYPE = 4, @@ -6519,6 +6563,7 @@ struct ResetResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { solarxr_protocol::rpc::ResetStatus status() const { return static_cast(GetField(VT_STATUS, 0)); } + bool Verify(::flatbuffers::Verifier &verifier) const { /// Should return the body parts reseted / being reset const flatbuffers::Vector *body_parts() const { return GetPointer *>(VT_BODY_PARTS); @@ -6546,14 +6591,15 @@ struct ResetResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct ResetResponseBuilder { typedef ResetResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_reset_type(solarxr_protocol::rpc::ResetType reset_type) { fbb_.AddElement(ResetResponse::VT_RESET_TYPE, static_cast(reset_type), 0); } void add_status(solarxr_protocol::rpc::ResetStatus status) { fbb_.AddElement(ResetResponse::VT_STATUS, static_cast(status), 0); } + explicit ResetResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_body_parts(flatbuffers::Offset> body_parts) { fbb_.AddOffset(ResetResponse::VT_BODY_PARTS, body_parts); } @@ -6567,15 +6613,15 @@ struct ResetResponseBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateResetResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateResetResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, solarxr_protocol::rpc::ResetStatus status = solarxr_protocol::rpc::ResetStatus::STARTED, flatbuffers::Offset> body_parts = 0, @@ -6590,6 +6636,7 @@ inline flatbuffers::Offset CreateResetResponse( return builder_.Finish(); } +struct AssignTrackerRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { inline flatbuffers::Offset CreateResetResponseDirect( flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, @@ -6625,13 +6672,13 @@ struct AssignTrackerRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table const solarxr_protocol::datatypes::math::Quat *mounting_orientation() const { return GetStruct(VT_MOUNTING_ORIENTATION); } - const flatbuffers::String *display_name() const { - return GetPointer(VT_DISPLAY_NAME); + const ::flatbuffers::String *display_name() const { + return GetPointer(VT_DISPLAY_NAME); } bool allow_drift_compensation() const { return GetField(VT_ALLOW_DRIFT_COMPENSATION, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -6646,9 +6693,9 @@ struct AssignTrackerRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct AssignTrackerRequestBuilder { typedef AssignTrackerRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_id(flatbuffers::Offset tracker_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { fbb_.AddOffset(AssignTrackerRequest::VT_TRACKER_ID, tracker_id); } void add_body_position(solarxr_protocol::datatypes::BodyPart body_position) { @@ -6657,29 +6704,29 @@ struct AssignTrackerRequestBuilder { void add_mounting_orientation(const solarxr_protocol::datatypes::math::Quat *mounting_orientation) { fbb_.AddStruct(AssignTrackerRequest::VT_MOUNTING_ORIENTATION, mounting_orientation); } - void add_display_name(flatbuffers::Offset display_name) { + void add_display_name(::flatbuffers::Offset<::flatbuffers::String> display_name) { fbb_.AddOffset(AssignTrackerRequest::VT_DISPLAY_NAME, display_name); } void add_allow_drift_compensation(bool allow_drift_compensation) { fbb_.AddElement(AssignTrackerRequest::VT_ALLOW_DRIFT_COMPENSATION, static_cast(allow_drift_compensation), 0); } - explicit AssignTrackerRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit AssignTrackerRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAssignTrackerRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0, +inline ::flatbuffers::Offset CreateAssignTrackerRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0, solarxr_protocol::datatypes::BodyPart body_position = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::math::Quat *mounting_orientation = nullptr, - flatbuffers::Offset display_name = 0, + ::flatbuffers::Offset<::flatbuffers::String> display_name = 0, bool allow_drift_compensation = false) { AssignTrackerRequestBuilder builder_(_fbb); builder_.add_display_name(display_name); @@ -6690,9 +6737,9 @@ inline flatbuffers::Offset CreateAssignTrackerRequest( return builder_.Finish(); } -inline flatbuffers::Offset CreateAssignTrackerRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0, +inline ::flatbuffers::Offset CreateAssignTrackerRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0, solarxr_protocol::datatypes::BodyPart body_position = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::math::Quat *mounting_orientation = nullptr, const char *display_name = nullptr, @@ -6707,9 +6754,9 @@ inline flatbuffers::Offset CreateAssignTrackerRequestDirec allow_drift_compensation); } -struct ClearDriftCompensationRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ClearDriftCompensationRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ClearDriftCompensationRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6717,28 +6764,28 @@ struct ClearDriftCompensationRequest FLATBUFFERS_FINAL_CLASS : private flatbuffe struct ClearDriftCompensationRequestBuilder { typedef ClearDriftCompensationRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit ClearDriftCompensationRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit ClearDriftCompensationRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateClearDriftCompensationRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateClearDriftCompensationRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { ClearDriftCompensationRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SettingsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SettingsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SettingsRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6746,26 +6793,26 @@ struct SettingsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct SettingsRequestBuilder { typedef SettingsRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SettingsRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SettingsRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSettingsRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSettingsRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SettingsRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SettingsResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STEAM_VR_TRACKERS = 4, @@ -6813,7 +6860,7 @@ struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::StayAlignedSettings *stay_aligned() const { return GetPointer(VT_STAY_ALIGNED); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_STEAM_VR_TRACKERS) && verifier.VerifyTable(steam_vr_trackers()) && @@ -6843,65 +6890,65 @@ struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct SettingsResponseBuilder { typedef SettingsResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_steam_vr_trackers(flatbuffers::Offset steam_vr_trackers) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_steam_vr_trackers(::flatbuffers::Offset steam_vr_trackers) { fbb_.AddOffset(SettingsResponse::VT_STEAM_VR_TRACKERS, steam_vr_trackers); } - void add_filtering(flatbuffers::Offset filtering) { + void add_filtering(::flatbuffers::Offset filtering) { fbb_.AddOffset(SettingsResponse::VT_FILTERING, filtering); } - void add_drift_compensation(flatbuffers::Offset drift_compensation) { + void add_drift_compensation(::flatbuffers::Offset drift_compensation) { fbb_.AddOffset(SettingsResponse::VT_DRIFT_COMPENSATION, drift_compensation); } - void add_osc_router(flatbuffers::Offset osc_router) { + void add_osc_router(::flatbuffers::Offset osc_router) { fbb_.AddOffset(SettingsResponse::VT_OSC_ROUTER, osc_router); } - void add_vrc_osc(flatbuffers::Offset vrc_osc) { + void add_vrc_osc(::flatbuffers::Offset vrc_osc) { fbb_.AddOffset(SettingsResponse::VT_VRC_OSC, vrc_osc); } - void add_vmc_osc(flatbuffers::Offset vmc_osc) { + void add_vmc_osc(::flatbuffers::Offset vmc_osc) { fbb_.AddOffset(SettingsResponse::VT_VMC_OSC, vmc_osc); } - void add_model_settings(flatbuffers::Offset model_settings) { + void add_model_settings(::flatbuffers::Offset model_settings) { fbb_.AddOffset(SettingsResponse::VT_MODEL_SETTINGS, model_settings); } - void add_tap_detection_settings(flatbuffers::Offset tap_detection_settings) { + void add_tap_detection_settings(::flatbuffers::Offset tap_detection_settings) { fbb_.AddOffset(SettingsResponse::VT_TAP_DETECTION_SETTINGS, tap_detection_settings); } - void add_auto_bone_settings(flatbuffers::Offset auto_bone_settings) { + void add_auto_bone_settings(::flatbuffers::Offset auto_bone_settings) { fbb_.AddOffset(SettingsResponse::VT_AUTO_BONE_SETTINGS, auto_bone_settings); } - void add_resets_settings(flatbuffers::Offset resets_settings) { + void add_resets_settings(::flatbuffers::Offset resets_settings) { fbb_.AddOffset(SettingsResponse::VT_RESETS_SETTINGS, resets_settings); } - void add_stay_aligned(flatbuffers::Offset stay_aligned) { + void add_stay_aligned(::flatbuffers::Offset stay_aligned) { fbb_.AddOffset(SettingsResponse::VT_STAY_ALIGNED, stay_aligned); } - explicit SettingsResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SettingsResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSettingsResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset steam_vr_trackers = 0, - flatbuffers::Offset filtering = 0, - flatbuffers::Offset drift_compensation = 0, - flatbuffers::Offset osc_router = 0, - flatbuffers::Offset vrc_osc = 0, - flatbuffers::Offset vmc_osc = 0, - flatbuffers::Offset model_settings = 0, - flatbuffers::Offset tap_detection_settings = 0, - flatbuffers::Offset auto_bone_settings = 0, - flatbuffers::Offset resets_settings = 0, - flatbuffers::Offset stay_aligned = 0) { +inline ::flatbuffers::Offset CreateSettingsResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset steam_vr_trackers = 0, + ::flatbuffers::Offset filtering = 0, + ::flatbuffers::Offset drift_compensation = 0, + ::flatbuffers::Offset osc_router = 0, + ::flatbuffers::Offset vrc_osc = 0, + ::flatbuffers::Offset vmc_osc = 0, + ::flatbuffers::Offset model_settings = 0, + ::flatbuffers::Offset tap_detection_settings = 0, + ::flatbuffers::Offset auto_bone_settings = 0, + ::flatbuffers::Offset resets_settings = 0, + ::flatbuffers::Offset stay_aligned = 0) { SettingsResponseBuilder builder_(_fbb); builder_.add_stay_aligned(stay_aligned); builder_.add_resets_settings(resets_settings); @@ -6917,7 +6964,7 @@ inline flatbuffers::Offset CreateSettingsResponse( return builder_.Finish(); } -struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ChangeSettingsRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STEAM_VR_TRACKERS = 4, @@ -6965,7 +7012,7 @@ struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl const solarxr_protocol::rpc::StayAlignedSettings *stay_aligned() const { return GetPointer(VT_STAY_ALIGNED); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_STEAM_VR_TRACKERS) && verifier.VerifyTable(steam_vr_trackers()) && @@ -6995,65 +7042,65 @@ struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl struct ChangeSettingsRequestBuilder { typedef ChangeSettingsRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_steam_vr_trackers(flatbuffers::Offset steam_vr_trackers) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_steam_vr_trackers(::flatbuffers::Offset steam_vr_trackers) { fbb_.AddOffset(ChangeSettingsRequest::VT_STEAM_VR_TRACKERS, steam_vr_trackers); } - void add_filtering(flatbuffers::Offset filtering) { + void add_filtering(::flatbuffers::Offset filtering) { fbb_.AddOffset(ChangeSettingsRequest::VT_FILTERING, filtering); } - void add_drift_compensation(flatbuffers::Offset drift_compensation) { + void add_drift_compensation(::flatbuffers::Offset drift_compensation) { fbb_.AddOffset(ChangeSettingsRequest::VT_DRIFT_COMPENSATION, drift_compensation); } - void add_osc_router(flatbuffers::Offset osc_router) { + void add_osc_router(::flatbuffers::Offset osc_router) { fbb_.AddOffset(ChangeSettingsRequest::VT_OSC_ROUTER, osc_router); } - void add_vrc_osc(flatbuffers::Offset vrc_osc) { + void add_vrc_osc(::flatbuffers::Offset vrc_osc) { fbb_.AddOffset(ChangeSettingsRequest::VT_VRC_OSC, vrc_osc); } - void add_vmc_osc(flatbuffers::Offset vmc_osc) { + void add_vmc_osc(::flatbuffers::Offset vmc_osc) { fbb_.AddOffset(ChangeSettingsRequest::VT_VMC_OSC, vmc_osc); } - void add_model_settings(flatbuffers::Offset model_settings) { + void add_model_settings(::flatbuffers::Offset model_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_MODEL_SETTINGS, model_settings); } - void add_tap_detection_settings(flatbuffers::Offset tap_detection_settings) { + void add_tap_detection_settings(::flatbuffers::Offset tap_detection_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_TAP_DETECTION_SETTINGS, tap_detection_settings); } - void add_auto_bone_settings(flatbuffers::Offset auto_bone_settings) { + void add_auto_bone_settings(::flatbuffers::Offset auto_bone_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_AUTO_BONE_SETTINGS, auto_bone_settings); } - void add_resets_settings(flatbuffers::Offset resets_settings) { + void add_resets_settings(::flatbuffers::Offset resets_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_RESETS_SETTINGS, resets_settings); } - void add_stay_aligned(flatbuffers::Offset stay_aligned) { + void add_stay_aligned(::flatbuffers::Offset stay_aligned) { fbb_.AddOffset(ChangeSettingsRequest::VT_STAY_ALIGNED, stay_aligned); } - explicit ChangeSettingsRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ChangeSettingsRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateChangeSettingsRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset steam_vr_trackers = 0, - flatbuffers::Offset filtering = 0, - flatbuffers::Offset drift_compensation = 0, - flatbuffers::Offset osc_router = 0, - flatbuffers::Offset vrc_osc = 0, - flatbuffers::Offset vmc_osc = 0, - flatbuffers::Offset model_settings = 0, - flatbuffers::Offset tap_detection_settings = 0, - flatbuffers::Offset auto_bone_settings = 0, - flatbuffers::Offset resets_settings = 0, - flatbuffers::Offset stay_aligned = 0) { +inline ::flatbuffers::Offset CreateChangeSettingsRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset steam_vr_trackers = 0, + ::flatbuffers::Offset filtering = 0, + ::flatbuffers::Offset drift_compensation = 0, + ::flatbuffers::Offset osc_router = 0, + ::flatbuffers::Offset vrc_osc = 0, + ::flatbuffers::Offset vmc_osc = 0, + ::flatbuffers::Offset model_settings = 0, + ::flatbuffers::Offset tap_detection_settings = 0, + ::flatbuffers::Offset auto_bone_settings = 0, + ::flatbuffers::Offset resets_settings = 0, + ::flatbuffers::Offset stay_aligned = 0) { ChangeSettingsRequestBuilder builder_(_fbb); builder_.add_stay_aligned(stay_aligned); builder_.add_resets_settings(resets_settings); @@ -7069,7 +7116,7 @@ inline flatbuffers::Offset CreateChangeSettingsRequest( return builder_.Finish(); } -struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SteamVRTrackersSettingBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_WAIST = 4, @@ -7117,7 +7164,7 @@ struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab bool right_hand() const { return GetField(VT_RIGHT_HAND, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_WAIST, 1) && VerifyField(verifier, VT_CHEST, 1) && @@ -7136,8 +7183,8 @@ struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab struct SteamVRTrackersSettingBuilder { typedef SteamVRTrackersSetting Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_waist(bool waist) { fbb_.AddElement(SteamVRTrackersSetting::VT_WAIST, static_cast(waist), 0); } @@ -7171,19 +7218,19 @@ struct SteamVRTrackersSettingBuilder { void add_right_hand(bool right_hand) { fbb_.AddElement(SteamVRTrackersSetting::VT_RIGHT_HAND, static_cast(right_hand), 0); } - explicit SteamVRTrackersSettingBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SteamVRTrackersSettingBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSteamVRTrackersSetting( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSteamVRTrackersSetting( + ::flatbuffers::FlatBufferBuilder &_fbb, bool waist = false, bool chest = false, bool automaticTrackerToggle = false, @@ -7210,7 +7257,7 @@ inline flatbuffers::Offset CreateSteamVRTrackersSetting( return builder_.Finish(); } -struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef FilteringSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TYPE = 4, @@ -7223,7 +7270,7 @@ struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { float amount() const { return GetField(VT_AMOUNT, 0.0f); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TYPE, 1) && VerifyField(verifier, VT_AMOUNT, 4) && @@ -7233,27 +7280,27 @@ struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct FilteringSettingsBuilder { typedef FilteringSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_type(solarxr_protocol::datatypes::FilteringType type) { fbb_.AddElement(FilteringSettings::VT_TYPE, static_cast(type), 0); } void add_amount(float amount) { fbb_.AddElement(FilteringSettings::VT_AMOUNT, amount, 0.0f); } - explicit FilteringSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit FilteringSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateFilteringSettings( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateFilteringSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::FilteringType type = solarxr_protocol::datatypes::FilteringType::NONE, float amount = 0.0f) { FilteringSettingsBuilder builder_(_fbb); @@ -7263,7 +7310,7 @@ inline flatbuffers::Offset CreateFilteringSettings( } /// Settings related to IMU yaw drift compensation -struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef DriftCompensationSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ENABLED = 4, @@ -7285,7 +7332,7 @@ struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers:: uint16_t max_resets() const { return GetField(VT_MAX_RESETS, 0); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLED, 1) && VerifyField(verifier, VT_PREDICTION, 1) && @@ -7297,8 +7344,8 @@ struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers:: struct DriftCompensationSettingsBuilder { typedef DriftCompensationSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_enabled(bool enabled) { fbb_.AddElement(DriftCompensationSettings::VT_ENABLED, static_cast(enabled), 0); } @@ -7311,19 +7358,19 @@ struct DriftCompensationSettingsBuilder { void add_max_resets(uint16_t max_resets) { fbb_.AddElement(DriftCompensationSettings::VT_MAX_RESETS, max_resets, 0); } - explicit DriftCompensationSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit DriftCompensationSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateDriftCompensationSettings( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateDriftCompensationSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, bool prediction = false, float amount = 0.0f, @@ -7337,7 +7384,7 @@ inline flatbuffers::Offset CreateDriftCompensationSet } /// OSC router forwards messages it receives, to allow the usage of multiple OSC programs for the same app. -struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OSCRouterSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_OSC_SETTINGS = 4 @@ -7345,7 +7392,7 @@ struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::OSCSettings *osc_settings() const { return GetPointer(VT_OSC_SETTINGS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_OSC_SETTINGS) && verifier.VerifyTable(osc_settings()) && @@ -7355,32 +7402,32 @@ struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct OSCRouterSettingsBuilder { typedef OSCRouterSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_osc_settings(flatbuffers::Offset osc_settings) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_osc_settings(::flatbuffers::Offset osc_settings) { fbb_.AddOffset(OSCRouterSettings::VT_OSC_SETTINGS, osc_settings); } - explicit OSCRouterSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit OSCRouterSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOSCRouterSettings( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset osc_settings = 0) { +inline ::flatbuffers::Offset CreateOSCRouterSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset osc_settings = 0) { OSCRouterSettingsBuilder builder_(_fbb); builder_.add_osc_settings(osc_settings); return builder_.Finish(); } /// OSC Settings specific to VRChat -struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef VRCOSCSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_OSC_SETTINGS = 4, @@ -7396,7 +7443,7 @@ struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool oscquery_enabled() const { return GetField(VT_OSCQUERY_ENABLED, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_OSC_SETTINGS) && verifier.VerifyTable(osc_settings()) && @@ -7409,32 +7456,32 @@ struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct VRCOSCSettingsBuilder { typedef VRCOSCSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_osc_settings(flatbuffers::Offset osc_settings) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_osc_settings(::flatbuffers::Offset osc_settings) { fbb_.AddOffset(VRCOSCSettings::VT_OSC_SETTINGS, osc_settings); } - void add_trackers(flatbuffers::Offset trackers) { + void add_trackers(::flatbuffers::Offset trackers) { fbb_.AddOffset(VRCOSCSettings::VT_TRACKERS, trackers); } void add_oscquery_enabled(bool oscquery_enabled) { fbb_.AddElement(VRCOSCSettings::VT_OSCQUERY_ENABLED, static_cast(oscquery_enabled), 0); } - explicit VRCOSCSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCOSCSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateVRCOSCSettings( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset osc_settings = 0, - flatbuffers::Offset trackers = 0, +inline ::flatbuffers::Offset CreateVRCOSCSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset osc_settings = 0, + ::flatbuffers::Offset trackers = 0, bool oscquery_enabled = false) { VRCOSCSettingsBuilder builder_(_fbb); builder_.add_trackers(trackers); @@ -7444,7 +7491,7 @@ inline flatbuffers::Offset CreateVRCOSCSettings( } /// OSC Settings specific to VMC -struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef VMCOSCSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_OSC_SETTINGS = 4, @@ -7455,8 +7502,8 @@ struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::OSCSettings *osc_settings() const { return GetPointer(VT_OSC_SETTINGS); } - const flatbuffers::String *vrm_json() const { - return GetPointer(VT_VRM_JSON); + const ::flatbuffers::String *vrm_json() const { + return GetPointer(VT_VRM_JSON); } bool anchor_hip() const { return GetField(VT_ANCHOR_HIP, 0) != 0; @@ -7464,7 +7511,7 @@ struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool mirror_tracking() const { return GetField(VT_MIRROR_TRACKING, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_OSC_SETTINGS) && verifier.VerifyTable(osc_settings()) && @@ -7478,12 +7525,12 @@ struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct VMCOSCSettingsBuilder { typedef VMCOSCSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_osc_settings(flatbuffers::Offset osc_settings) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_osc_settings(::flatbuffers::Offset osc_settings) { fbb_.AddOffset(VMCOSCSettings::VT_OSC_SETTINGS, osc_settings); } - void add_vrm_json(flatbuffers::Offset vrm_json) { + void add_vrm_json(::flatbuffers::Offset<::flatbuffers::String> vrm_json) { fbb_.AddOffset(VMCOSCSettings::VT_VRM_JSON, vrm_json); } void add_anchor_hip(bool anchor_hip) { @@ -7492,21 +7539,21 @@ struct VMCOSCSettingsBuilder { void add_mirror_tracking(bool mirror_tracking) { fbb_.AddElement(VMCOSCSettings::VT_MIRROR_TRACKING, static_cast(mirror_tracking), 0); } - explicit VMCOSCSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit VMCOSCSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateVMCOSCSettings( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset osc_settings = 0, - flatbuffers::Offset vrm_json = 0, +inline ::flatbuffers::Offset CreateVMCOSCSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset osc_settings = 0, + ::flatbuffers::Offset<::flatbuffers::String> vrm_json = 0, bool anchor_hip = false, bool mirror_tracking = false) { VMCOSCSettingsBuilder builder_(_fbb); @@ -7517,9 +7564,9 @@ inline flatbuffers::Offset CreateVMCOSCSettings( return builder_.Finish(); } -inline flatbuffers::Offset CreateVMCOSCSettingsDirect( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset osc_settings = 0, +inline ::flatbuffers::Offset CreateVMCOSCSettingsDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset osc_settings = 0, const char *vrm_json = nullptr, bool anchor_hip = false, bool mirror_tracking = false) { @@ -7533,7 +7580,7 @@ inline flatbuffers::Offset CreateVMCOSCSettingsDirect( } /// OSC Settings that are used in *any* osc application. -struct OSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OSCSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ENABLED = 4, @@ -7550,10 +7597,10 @@ struct OSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { uint16_t port_out() const { return GetField(VT_PORT_OUT, 0); } - const flatbuffers::String *address() const { - return GetPointer(VT_ADDRESS); + const ::flatbuffers::String *address() const { + return GetPointer(VT_ADDRESS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLED, 1) && VerifyField(verifier, VT_PORT_IN, 2) && @@ -7566,8 +7613,8 @@ struct OSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct OSCSettingsBuilder { typedef OSCSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_enabled(bool enabled) { fbb_.AddElement(OSCSettings::VT_ENABLED, static_cast(enabled), 0); } @@ -7577,26 +7624,26 @@ struct OSCSettingsBuilder { void add_port_out(uint16_t port_out) { fbb_.AddElement(OSCSettings::VT_PORT_OUT, port_out, 0); } - void add_address(flatbuffers::Offset address) { + void add_address(::flatbuffers::Offset<::flatbuffers::String> address) { fbb_.AddOffset(OSCSettings::VT_ADDRESS, address); } - explicit OSCSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit OSCSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOSCSettings( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateOSCSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, uint16_t port_in = 0, uint16_t port_out = 0, - flatbuffers::Offset address = 0) { + ::flatbuffers::Offset<::flatbuffers::String> address = 0) { OSCSettingsBuilder builder_(_fbb); builder_.add_address(address); builder_.add_port_out(port_out); @@ -7605,8 +7652,8 @@ inline flatbuffers::Offset CreateOSCSettings( return builder_.Finish(); } -inline flatbuffers::Offset CreateOSCSettingsDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateOSCSettingsDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, uint16_t port_in = 0, uint16_t port_out = 0, @@ -7620,7 +7667,7 @@ inline flatbuffers::Offset CreateOSCSettingsDirect( address__); } -struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OSCTrackersSettingBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_HEAD = 4, @@ -7652,7 +7699,7 @@ struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool hands() const { return GetField(VT_HANDS, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_HEAD, 1) && VerifyField(verifier, VT_CHEST, 1) && @@ -7667,8 +7714,8 @@ struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct OSCTrackersSettingBuilder { typedef OSCTrackersSetting Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_head(bool head) { fbb_.AddElement(OSCTrackersSetting::VT_HEAD, static_cast(head), 0); } @@ -7690,19 +7737,19 @@ struct OSCTrackersSettingBuilder { void add_hands(bool hands) { fbb_.AddElement(OSCTrackersSetting::VT_HANDS, static_cast(hands), 0); } - explicit OSCTrackersSettingBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit OSCTrackersSettingBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOSCTrackersSetting( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateOSCTrackersSetting( + ::flatbuffers::FlatBufferBuilder &_fbb, bool head = false, bool chest = false, bool waist = false, @@ -7721,7 +7768,7 @@ inline flatbuffers::Offset CreateOSCTrackersSetting( return builder_.Finish(); } -struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TapDetectionSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FULL_RESET_DELAY = 4, @@ -7736,42 +7783,42 @@ struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table VT_SETUP_MODE = 22, VT_NUMBER_TRACKERS_OVER_THRESHOLD = 24 }; - flatbuffers::Optional full_reset_delay() const { + ::flatbuffers::Optional full_reset_delay() const { return GetOptional(VT_FULL_RESET_DELAY); } - flatbuffers::Optional full_reset_enabled() const { + ::flatbuffers::Optional full_reset_enabled() const { return GetOptional(VT_FULL_RESET_ENABLED); } - flatbuffers::Optional full_reset_taps() const { + ::flatbuffers::Optional full_reset_taps() const { return GetOptional(VT_FULL_RESET_TAPS); } - flatbuffers::Optional yaw_reset_delay() const { + ::flatbuffers::Optional yaw_reset_delay() const { return GetOptional(VT_YAW_RESET_DELAY); } - flatbuffers::Optional yaw_reset_enabled() const { + ::flatbuffers::Optional yaw_reset_enabled() const { return GetOptional(VT_YAW_RESET_ENABLED); } - flatbuffers::Optional yaw_reset_taps() const { + ::flatbuffers::Optional yaw_reset_taps() const { return GetOptional(VT_YAW_RESET_TAPS); } - flatbuffers::Optional mounting_reset_delay() const { + ::flatbuffers::Optional mounting_reset_delay() const { return GetOptional(VT_MOUNTING_RESET_DELAY); } - flatbuffers::Optional mounting_reset_enabled() const { + ::flatbuffers::Optional mounting_reset_enabled() const { return GetOptional(VT_MOUNTING_RESET_ENABLED); } - flatbuffers::Optional mounting_reset_taps() const { + ::flatbuffers::Optional mounting_reset_taps() const { return GetOptional(VT_MOUNTING_RESET_TAPS); } /// If true, disables reset behavior of tap detection and sends a /// TapDetectionSetupNotification, each time 2 taps are detected on any tracker - flatbuffers::Optional setup_mode() const { + ::flatbuffers::Optional setup_mode() const { return GetOptional(VT_SETUP_MODE); } - flatbuffers::Optional number_trackers_over_threshold() const { + ::flatbuffers::Optional number_trackers_over_threshold() const { return GetOptional(VT_NUMBER_TRACKERS_OVER_THRESHOLD); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FULL_RESET_DELAY, 4) && VerifyField(verifier, VT_FULL_RESET_ENABLED, 1) && @@ -7790,8 +7837,8 @@ struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct TapDetectionSettingsBuilder { typedef TapDetectionSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_full_reset_delay(float full_reset_delay) { fbb_.AddElement(TapDetectionSettings::VT_FULL_RESET_DELAY, full_reset_delay); } @@ -7825,30 +7872,30 @@ struct TapDetectionSettingsBuilder { void add_number_trackers_over_threshold(uint8_t number_trackers_over_threshold) { fbb_.AddElement(TapDetectionSettings::VT_NUMBER_TRACKERS_OVER_THRESHOLD, number_trackers_over_threshold); } - explicit TapDetectionSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TapDetectionSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTapDetectionSettings( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional full_reset_delay = flatbuffers::nullopt, - flatbuffers::Optional full_reset_enabled = flatbuffers::nullopt, - flatbuffers::Optional full_reset_taps = flatbuffers::nullopt, - flatbuffers::Optional yaw_reset_delay = flatbuffers::nullopt, - flatbuffers::Optional yaw_reset_enabled = flatbuffers::nullopt, - flatbuffers::Optional yaw_reset_taps = flatbuffers::nullopt, - flatbuffers::Optional mounting_reset_delay = flatbuffers::nullopt, - flatbuffers::Optional mounting_reset_enabled = flatbuffers::nullopt, - flatbuffers::Optional mounting_reset_taps = flatbuffers::nullopt, - flatbuffers::Optional setup_mode = flatbuffers::nullopt, - flatbuffers::Optional number_trackers_over_threshold = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateTapDetectionSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional full_reset_delay = ::flatbuffers::nullopt, + ::flatbuffers::Optional full_reset_enabled = ::flatbuffers::nullopt, + ::flatbuffers::Optional full_reset_taps = ::flatbuffers::nullopt, + ::flatbuffers::Optional yaw_reset_delay = ::flatbuffers::nullopt, + ::flatbuffers::Optional yaw_reset_enabled = ::flatbuffers::nullopt, + ::flatbuffers::Optional yaw_reset_taps = ::flatbuffers::nullopt, + ::flatbuffers::Optional mounting_reset_delay = ::flatbuffers::nullopt, + ::flatbuffers::Optional mounting_reset_enabled = ::flatbuffers::nullopt, + ::flatbuffers::Optional mounting_reset_taps = ::flatbuffers::nullopt, + ::flatbuffers::Optional setup_mode = ::flatbuffers::nullopt, + ::flatbuffers::Optional number_trackers_over_threshold = ::flatbuffers::nullopt) { TapDetectionSettingsBuilder builder_(_fbb); if(mounting_reset_delay) { builder_.add_mounting_reset_delay(*mounting_reset_delay); } if(yaw_reset_delay) { builder_.add_yaw_reset_delay(*yaw_reset_delay); } @@ -7864,7 +7911,7 @@ inline flatbuffers::Offset CreateTapDetectionSettings( return builder_.Finish(); } -struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ResetsSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RESET_MOUNTING_FEET = 4, @@ -7888,7 +7935,7 @@ struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool reset_hmd_pitch() const { return GetField(VT_RESET_HMD_PITCH, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_RESET_MOUNTING_FEET, 1) && VerifyField(verifier, VT_ARMS_MOUNTING_RESET_MODE, 1) && @@ -7901,8 +7948,8 @@ struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct ResetsSettingsBuilder { typedef ResetsSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_reset_mounting_feet(bool reset_mounting_feet) { fbb_.AddElement(ResetsSettings::VT_RESET_MOUNTING_FEET, static_cast(reset_mounting_feet), 0); } @@ -7918,19 +7965,19 @@ struct ResetsSettingsBuilder { void add_reset_hmd_pitch(bool reset_hmd_pitch) { fbb_.AddElement(ResetsSettings::VT_RESET_HMD_PITCH, static_cast(reset_hmd_pitch), 0); } - explicit ResetsSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ResetsSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateResetsSettings( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateResetsSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, bool reset_mounting_feet = false, solarxr_protocol::rpc::ArmsMountingResetMode arms_mounting_reset_mode = solarxr_protocol::rpc::ArmsMountingResetMode::BACK, float yaw_reset_smooth_time = 0.0f, @@ -7945,7 +7992,7 @@ inline flatbuffers::Offset CreateResetsSettings( return builder_.Finish(); } -struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StayAlignedSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ENABLED = 4, @@ -8013,7 +8060,7 @@ struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table bool setupComplete() const { return GetField(VT_SETUPCOMPLETE, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLED, 1) && VerifyField(verifier, VT_EXTRAYAWCORRECTION, 1) && @@ -8037,8 +8084,8 @@ struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct StayAlignedSettingsBuilder { typedef StayAlignedSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_enabled(bool enabled) { fbb_.AddElement(StayAlignedSettings::VT_ENABLED, static_cast(enabled), 0); } @@ -8087,19 +8134,19 @@ struct StayAlignedSettingsBuilder { void add_setupComplete(bool setupComplete) { fbb_.AddElement(StayAlignedSettings::VT_SETUPCOMPLETE, static_cast(setupComplete), 0); } - explicit StayAlignedSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StayAlignedSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStayAlignedSettings( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStayAlignedSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, bool extraYawCorrection = false, bool hideYawCorrection = false, @@ -8137,7 +8184,7 @@ inline flatbuffers::Offset CreateStayAlignedSettings( } /// See TapDetectionSettings::setup_mode -struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TapDetectionSetupNotificationBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -8145,7 +8192,7 @@ struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private flatbuffe const solarxr_protocol::datatypes::TrackerId *tracker_id() const { return GetPointer(VT_TRACKER_ID); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -8155,31 +8202,31 @@ struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private flatbuffe struct TapDetectionSetupNotificationBuilder { typedef TapDetectionSetupNotification Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_id(flatbuffers::Offset tracker_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { fbb_.AddOffset(TapDetectionSetupNotification::VT_TRACKER_ID, tracker_id); } - explicit TapDetectionSetupNotificationBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TapDetectionSetupNotificationBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTapDetectionSetupNotification( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0) { +inline ::flatbuffers::Offset CreateTapDetectionSetupNotification( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0) { TapDetectionSetupNotificationBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); return builder_.Finish(); } -struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef RecordBVHRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STOP = 4, @@ -8190,10 +8237,10 @@ struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { } /// Path sent when starting the recording, if null the recording won't happen. /// Has different behavior depending if its a file path or a directory path. - const flatbuffers::String *path() const { - return GetPointer(VT_PATH); + const ::flatbuffers::String *path() const { + return GetPointer(VT_PATH); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_STOP, 1) && VerifyOffset(verifier, VT_PATH) && @@ -8204,37 +8251,37 @@ struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct RecordBVHRequestBuilder { typedef RecordBVHRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_stop(bool stop) { fbb_.AddElement(RecordBVHRequest::VT_STOP, static_cast(stop), 0); } - void add_path(flatbuffers::Offset path) { + void add_path(::flatbuffers::Offset<::flatbuffers::String> path) { fbb_.AddOffset(RecordBVHRequest::VT_PATH, path); } - explicit RecordBVHRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit RecordBVHRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateRecordBVHRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateRecordBVHRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, bool stop = false, - flatbuffers::Offset path = 0) { + ::flatbuffers::Offset<::flatbuffers::String> path = 0) { RecordBVHRequestBuilder builder_(_fbb); builder_.add_path(path); builder_.add_stop(stop); return builder_.Finish(); } -inline flatbuffers::Offset CreateRecordBVHRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateRecordBVHRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, bool stop = false, const char *path = nullptr) { auto path__ = path ? _fbb.CreateString(path) : 0; @@ -8244,7 +8291,7 @@ inline flatbuffers::Offset CreateRecordBVHRequestDirect( path__); } -struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef RecordBVHStatusBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RECORDING = 4 @@ -8252,7 +8299,7 @@ struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool recording() const { return GetField(VT_RECORDING, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_RECORDING, 1) && verifier.EndTable(); @@ -8261,33 +8308,33 @@ struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct RecordBVHStatusBuilder { typedef RecordBVHStatus Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_recording(bool recording) { fbb_.AddElement(RecordBVHStatus::VT_RECORDING, static_cast(recording), 0); } - explicit RecordBVHStatusBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit RecordBVHStatusBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateRecordBVHStatus( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateRecordBVHStatus( + ::flatbuffers::FlatBufferBuilder &_fbb, bool recording = false) { RecordBVHStatusBuilder builder_(_fbb); builder_.add_recording(recording); return builder_.Finish(); } -struct RecordBVHStatusRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct RecordBVHStatusRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef RecordBVHStatusRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8295,26 +8342,26 @@ struct RecordBVHStatusRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab struct RecordBVHStatusRequestBuilder { typedef RecordBVHStatusRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit RecordBVHStatusRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit RecordBVHStatusRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateRecordBVHStatusRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateRecordBVHStatusRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { RecordBVHStatusRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SkeletonPartBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BONE = 4, @@ -8326,7 +8373,7 @@ struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { float value() const { return GetField(VT_VALUE, 0.0f); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_BONE, 1) && VerifyField(verifier, VT_VALUE, 4) && @@ -8336,27 +8383,27 @@ struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct SkeletonPartBuilder { typedef SkeletonPart Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_bone(solarxr_protocol::rpc::SkeletonBone bone) { fbb_.AddElement(SkeletonPart::VT_BONE, static_cast(bone), 0); } void add_value(float value) { fbb_.AddElement(SkeletonPart::VT_VALUE, value, 0.0f); } - explicit SkeletonPartBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SkeletonPartBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSkeletonPart( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSkeletonPart( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::SkeletonBone bone = solarxr_protocol::rpc::SkeletonBone::NONE, float value = 0.0f) { SkeletonPartBuilder builder_(_fbb); @@ -8365,9 +8412,9 @@ inline flatbuffers::Offset CreateSkeletonPart( return builder_.Finish(); } -struct SkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SkeletonConfigRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8375,38 +8422,38 @@ struct SkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl struct SkeletonConfigRequestBuilder { typedef SkeletonConfigRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SkeletonConfigRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SkeletonConfigRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSkeletonConfigRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSkeletonConfigRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SkeletonConfigRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SkeletonConfigResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SkeletonConfigResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SkeletonConfigResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_SKELETON_PARTS = 4, VT_USER_HEIGHT = 6 }; - const flatbuffers::Vector> *skeleton_parts() const { - return GetPointer> *>(VT_SKELETON_PARTS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *skeleton_parts() const { + return GetPointer> *>(VT_SKELETON_PARTS); } float user_height() const { return GetField(VT_USER_HEIGHT, 0.0f); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_SKELETON_PARTS) && verifier.VerifyVector(skeleton_parts()) && @@ -8418,28 +8465,28 @@ struct SkeletonConfigResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab struct SkeletonConfigResponseBuilder { typedef SkeletonConfigResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_skeleton_parts(flatbuffers::Offset>> skeleton_parts) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_skeleton_parts(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> skeleton_parts) { fbb_.AddOffset(SkeletonConfigResponse::VT_SKELETON_PARTS, skeleton_parts); } void add_user_height(float user_height) { fbb_.AddElement(SkeletonConfigResponse::VT_USER_HEIGHT, user_height, 0.0f); } - explicit SkeletonConfigResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SkeletonConfigResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSkeletonConfigResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> skeleton_parts = 0, +inline ::flatbuffers::Offset CreateSkeletonConfigResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> skeleton_parts = 0, float user_height = 0.0f) { SkeletonConfigResponseBuilder builder_(_fbb); builder_.add_user_height(user_height); @@ -8447,20 +8494,20 @@ inline flatbuffers::Offset CreateSkeletonConfigResponse( return builder_.Finish(); } -inline flatbuffers::Offset CreateSkeletonConfigResponseDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *skeleton_parts = nullptr, +inline ::flatbuffers::Offset CreateSkeletonConfigResponseDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset> *skeleton_parts = nullptr, float user_height = 0.0f) { - auto skeleton_parts__ = skeleton_parts ? _fbb.CreateVector>(*skeleton_parts) : 0; + auto skeleton_parts__ = skeleton_parts ? _fbb.CreateVector<::flatbuffers::Offset>(*skeleton_parts) : 0; return solarxr_protocol::rpc::CreateSkeletonConfigResponse( _fbb, skeleton_parts__, user_height); } -struct SkeletonResetAllRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SkeletonResetAllRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SkeletonResetAllRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8468,26 +8515,26 @@ struct SkeletonResetAllRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Ta struct SkeletonResetAllRequestBuilder { typedef SkeletonResetAllRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SkeletonResetAllRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SkeletonResetAllRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSkeletonResetAllRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSkeletonResetAllRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SkeletonResetAllRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ChangeSkeletonConfigRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BONE = 4, @@ -8499,7 +8546,7 @@ struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers float value() const { return GetField(VT_VALUE, 0.0f); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_BONE, 1) && VerifyField(verifier, VT_VALUE, 4) && @@ -8509,27 +8556,27 @@ struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers struct ChangeSkeletonConfigRequestBuilder { typedef ChangeSkeletonConfigRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_bone(solarxr_protocol::rpc::SkeletonBone bone) { fbb_.AddElement(ChangeSkeletonConfigRequest::VT_BONE, static_cast(bone), 0); } void add_value(float value) { fbb_.AddElement(ChangeSkeletonConfigRequest::VT_VALUE, value, 0.0f); } - explicit ChangeSkeletonConfigRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ChangeSkeletonConfigRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateChangeSkeletonConfigRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateChangeSkeletonConfigRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::SkeletonBone bone = solarxr_protocol::rpc::SkeletonBone::NONE, float value = 0.0f) { ChangeSkeletonConfigRequestBuilder builder_(_fbb); @@ -8538,19 +8585,19 @@ inline flatbuffers::Offset CreateChangeSkeletonConf return builder_.Finish(); } -struct SerialDevice FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialDevice FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialDeviceBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PORT = 4, VT_NAME = 6 }; - const flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const ::flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - const flatbuffers::String *name() const { - return GetPointer(VT_NAME); + const ::flatbuffers::String *name() const { + return GetPointer(VT_NAME); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_PORT) && verifier.VerifyString(port()) && @@ -8562,37 +8609,37 @@ struct SerialDevice FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct SerialDeviceBuilder { typedef SerialDevice Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_port(flatbuffers::Offset port) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { fbb_.AddOffset(SerialDevice::VT_PORT, port); } - void add_name(flatbuffers::Offset name) { + void add_name(::flatbuffers::Offset<::flatbuffers::String> name) { fbb_.AddOffset(SerialDevice::VT_NAME, name); } - explicit SerialDeviceBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialDeviceBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialDevice( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset port = 0, - flatbuffers::Offset name = 0) { +inline ::flatbuffers::Offset CreateSerialDevice( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> port = 0, + ::flatbuffers::Offset<::flatbuffers::String> name = 0) { SerialDeviceBuilder builder_(_fbb); builder_.add_name(name); builder_.add_port(port); return builder_.Finish(); } -inline flatbuffers::Offset CreateSerialDeviceDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSerialDeviceDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *port = nullptr, const char *name = nullptr) { auto port__ = port ? _fbb.CreateString(port) : 0; @@ -8603,7 +8650,7 @@ inline flatbuffers::Offset CreateSerialDeviceDirect( name__); } -struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OpenSerialRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_AUTO_ = 4, @@ -8613,10 +8660,10 @@ struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool auto_() const { return GetField(VT_AUTO_, 0) != 0; } - const flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const ::flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_AUTO_, 1) && VerifyOffset(verifier, VT_PORT) && @@ -8627,37 +8674,37 @@ struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct OpenSerialRequestBuilder { typedef OpenSerialRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_auto_(bool auto_) { fbb_.AddElement(OpenSerialRequest::VT_AUTO_, static_cast(auto_), 0); } - void add_port(flatbuffers::Offset port) { + void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { fbb_.AddOffset(OpenSerialRequest::VT_PORT, port); } - explicit OpenSerialRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit OpenSerialRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOpenSerialRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateOpenSerialRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, bool auto_ = false, - flatbuffers::Offset port = 0) { + ::flatbuffers::Offset<::flatbuffers::String> port = 0) { OpenSerialRequestBuilder builder_(_fbb); builder_.add_port(port); builder_.add_auto_(auto_); return builder_.Finish(); } -inline flatbuffers::Offset CreateOpenSerialRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateOpenSerialRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, bool auto_ = false, const char *port = nullptr) { auto port__ = port ? _fbb.CreateString(port) : 0; @@ -8667,9 +8714,9 @@ inline flatbuffers::Offset CreateOpenSerialRequestDirect( port__); } -struct CloseSerialRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct CloseSerialRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef CloseSerialRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8677,38 +8724,38 @@ struct CloseSerialRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct CloseSerialRequestBuilder { typedef CloseSerialRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit CloseSerialRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit CloseSerialRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateCloseSerialRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateCloseSerialRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { CloseSerialRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SetWifiRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SetWifiRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SetWifiRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_SSID = 4, VT_PASSWORD = 6 }; - const flatbuffers::String *ssid() const { - return GetPointer(VT_SSID); + const ::flatbuffers::String *ssid() const { + return GetPointer(VT_SSID); } - const flatbuffers::String *password() const { - return GetPointer(VT_PASSWORD); + const ::flatbuffers::String *password() const { + return GetPointer(VT_PASSWORD); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_SSID) && verifier.VerifyString(ssid()) && @@ -8720,37 +8767,37 @@ struct SetWifiRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct SetWifiRequestBuilder { typedef SetWifiRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_ssid(flatbuffers::Offset ssid) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_ssid(::flatbuffers::Offset<::flatbuffers::String> ssid) { fbb_.AddOffset(SetWifiRequest::VT_SSID, ssid); } - void add_password(flatbuffers::Offset password) { + void add_password(::flatbuffers::Offset<::flatbuffers::String> password) { fbb_.AddOffset(SetWifiRequest::VT_PASSWORD, password); } - explicit SetWifiRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SetWifiRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSetWifiRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset ssid = 0, - flatbuffers::Offset password = 0) { +inline ::flatbuffers::Offset CreateSetWifiRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> ssid = 0, + ::flatbuffers::Offset<::flatbuffers::String> password = 0) { SetWifiRequestBuilder builder_(_fbb); builder_.add_password(password); builder_.add_ssid(ssid); return builder_.Finish(); } -inline flatbuffers::Offset CreateSetWifiRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSetWifiRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *ssid = nullptr, const char *password = nullptr) { auto ssid__ = ssid ? _fbb.CreateString(ssid) : 0; @@ -8761,19 +8808,19 @@ inline flatbuffers::Offset CreateSetWifiRequestDirect( password__); } -struct SerialUpdateResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialUpdateResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialUpdateResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LOG = 4, VT_CLOSED = 6 }; - const flatbuffers::String *log() const { - return GetPointer(VT_LOG); + const ::flatbuffers::String *log() const { + return GetPointer(VT_LOG); } bool closed() const { return GetField(VT_CLOSED, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_LOG) && verifier.VerifyString(log()) && @@ -8784,28 +8831,28 @@ struct SerialUpdateResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct SerialUpdateResponseBuilder { typedef SerialUpdateResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_log(flatbuffers::Offset log) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_log(::flatbuffers::Offset<::flatbuffers::String> log) { fbb_.AddOffset(SerialUpdateResponse::VT_LOG, log); } void add_closed(bool closed) { fbb_.AddElement(SerialUpdateResponse::VT_CLOSED, static_cast(closed), 0); } - explicit SerialUpdateResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialUpdateResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialUpdateResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset log = 0, +inline ::flatbuffers::Offset CreateSerialUpdateResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> log = 0, bool closed = false) { SerialUpdateResponseBuilder builder_(_fbb); builder_.add_log(log); @@ -8813,8 +8860,8 @@ inline flatbuffers::Offset CreateSerialUpdateResponse( return builder_.Finish(); } -inline flatbuffers::Offset CreateSerialUpdateResponseDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSerialUpdateResponseDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *log = nullptr, bool closed = false) { auto log__ = log ? _fbb.CreateString(log) : 0; @@ -8825,9 +8872,9 @@ inline flatbuffers::Offset CreateSerialUpdateResponseDirec } /// Reboots the tracker connected to the serial monitor -struct SerialTrackerRebootRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialTrackerRebootRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialTrackerRebootRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8835,29 +8882,29 @@ struct SerialTrackerRebootRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers: struct SerialTrackerRebootRequestBuilder { typedef SerialTrackerRebootRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SerialTrackerRebootRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SerialTrackerRebootRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialTrackerRebootRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSerialTrackerRebootRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerRebootRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sends the GET INFO cmd to the current tracker on the serial monitor -struct SerialTrackerGetInfoRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialTrackerGetInfoRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialTrackerGetInfoRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8865,29 +8912,29 @@ struct SerialTrackerGetInfoRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers struct SerialTrackerGetInfoRequestBuilder { typedef SerialTrackerGetInfoRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SerialTrackerGetInfoRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SerialTrackerGetInfoRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialTrackerGetInfoRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSerialTrackerGetInfoRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerGetInfoRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sends the FRST cmd to the currently connected Tracker over the Serial Monitor -struct SerialTrackerFactoryResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialTrackerFactoryResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialTrackerFactoryResetRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8895,35 +8942,35 @@ struct SerialTrackerFactoryResetRequest FLATBUFFERS_FINAL_CLASS : private flatbu struct SerialTrackerFactoryResetRequestBuilder { typedef SerialTrackerFactoryResetRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SerialTrackerFactoryResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SerialTrackerFactoryResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialTrackerFactoryResetRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSerialTrackerFactoryResetRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerFactoryResetRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sends a custom cmd to the currently connected Tracker over the Serial Monitor -struct SerialTrackerCustomCommandRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialTrackerCustomCommandRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialTrackerCustomCommandRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_COMMAND = 4 }; - const flatbuffers::String *command() const { - return GetPointer(VT_COMMAND); + const ::flatbuffers::String *command() const { + return GetPointer(VT_COMMAND); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_COMMAND) && verifier.VerifyString(command()) && @@ -8933,32 +8980,32 @@ struct SerialTrackerCustomCommandRequest FLATBUFFERS_FINAL_CLASS : private flatb struct SerialTrackerCustomCommandRequestBuilder { typedef SerialTrackerCustomCommandRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_command(flatbuffers::Offset command) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_command(::flatbuffers::Offset<::flatbuffers::String> command) { fbb_.AddOffset(SerialTrackerCustomCommandRequest::VT_COMMAND, command); } - explicit SerialTrackerCustomCommandRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialTrackerCustomCommandRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialTrackerCustomCommandRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset command = 0) { +inline ::flatbuffers::Offset CreateSerialTrackerCustomCommandRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> command = 0) { SerialTrackerCustomCommandRequestBuilder builder_(_fbb); builder_.add_command(command); return builder_.Finish(); } -inline flatbuffers::Offset CreateSerialTrackerCustomCommandRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSerialTrackerCustomCommandRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *command = nullptr) { auto command__ = command ? _fbb.CreateString(command) : 0; return solarxr_protocol::rpc::CreateSerialTrackerCustomCommandRequest( @@ -8966,9 +9013,9 @@ inline flatbuffers::Offset CreateSerialTracke command__); } -struct SerialDevicesRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialDevicesRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialDevicesRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8976,34 +9023,34 @@ struct SerialDevicesRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct SerialDevicesRequestBuilder { typedef SerialDevicesRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SerialDevicesRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SerialDevicesRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialDevicesRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSerialDevicesRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SerialDevicesRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SerialDevicesResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialDevicesResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialDevicesResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICES = 4 }; - const flatbuffers::Vector> *devices() const { - return GetPointer> *>(VT_DEVICES); + const ::flatbuffers::Vector<::flatbuffers::Offset> *devices() const { + return GetPointer> *>(VT_DEVICES); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DEVICES) && verifier.VerifyVector(devices()) && @@ -9014,40 +9061,40 @@ struct SerialDevicesResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl struct SerialDevicesResponseBuilder { typedef SerialDevicesResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_devices(flatbuffers::Offset>> devices) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_devices(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices) { fbb_.AddOffset(SerialDevicesResponse::VT_DEVICES, devices); } - explicit SerialDevicesResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialDevicesResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialDevicesResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> devices = 0) { +inline ::flatbuffers::Offset CreateSerialDevicesResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices = 0) { SerialDevicesResponseBuilder builder_(_fbb); builder_.add_devices(devices); return builder_.Finish(); } -inline flatbuffers::Offset CreateSerialDevicesResponseDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *devices = nullptr) { - auto devices__ = devices ? _fbb.CreateVector>(*devices) : 0; +inline ::flatbuffers::Offset CreateSerialDevicesResponseDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset> *devices = nullptr) { + auto devices__ = devices ? _fbb.CreateVector<::flatbuffers::Offset>(*devices) : 0; return solarxr_protocol::rpc::CreateSerialDevicesResponse( _fbb, devices__); } -struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef NewSerialDeviceResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE = 4 @@ -9055,7 +9102,7 @@ struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Ta const solarxr_protocol::rpc::SerialDevice *device() const { return GetPointer(VT_DEVICE); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DEVICE) && verifier.VerifyTable(device()) && @@ -9065,47 +9112,47 @@ struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Ta struct NewSerialDeviceResponseBuilder { typedef NewSerialDeviceResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_device(flatbuffers::Offset device) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_device(::flatbuffers::Offset device) { fbb_.AddOffset(NewSerialDeviceResponse::VT_DEVICE, device); } - explicit NewSerialDeviceResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit NewSerialDeviceResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateNewSerialDeviceResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset device = 0) { +inline ::flatbuffers::Offset CreateNewSerialDeviceResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset device = 0) { NewSerialDeviceResponseBuilder builder_(_fbb); builder_.add_device(device); return builder_.Finish(); } -struct StartWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StartWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StartWifiProvisioningRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_SSID = 4, VT_PASSWORD = 6, VT_PORT = 8 }; - const flatbuffers::String *ssid() const { - return GetPointer(VT_SSID); + const ::flatbuffers::String *ssid() const { + return GetPointer(VT_SSID); } - const flatbuffers::String *password() const { - return GetPointer(VT_PASSWORD); + const ::flatbuffers::String *password() const { + return GetPointer(VT_PASSWORD); } - const flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const ::flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_SSID) && verifier.VerifyString(ssid()) && @@ -9119,33 +9166,33 @@ struct StartWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private flatbuffer struct StartWifiProvisioningRequestBuilder { typedef StartWifiProvisioningRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_ssid(flatbuffers::Offset ssid) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_ssid(::flatbuffers::Offset<::flatbuffers::String> ssid) { fbb_.AddOffset(StartWifiProvisioningRequest::VT_SSID, ssid); } - void add_password(flatbuffers::Offset password) { + void add_password(::flatbuffers::Offset<::flatbuffers::String> password) { fbb_.AddOffset(StartWifiProvisioningRequest::VT_PASSWORD, password); } - void add_port(flatbuffers::Offset port) { + void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { fbb_.AddOffset(StartWifiProvisioningRequest::VT_PORT, port); } - explicit StartWifiProvisioningRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StartWifiProvisioningRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStartWifiProvisioningRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset ssid = 0, - flatbuffers::Offset password = 0, - flatbuffers::Offset port = 0) { +inline ::flatbuffers::Offset CreateStartWifiProvisioningRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> ssid = 0, + ::flatbuffers::Offset<::flatbuffers::String> password = 0, + ::flatbuffers::Offset<::flatbuffers::String> port = 0) { StartWifiProvisioningRequestBuilder builder_(_fbb); builder_.add_port(port); builder_.add_password(password); @@ -9153,8 +9200,8 @@ inline flatbuffers::Offset CreateStartWifiProvisio return builder_.Finish(); } -inline flatbuffers::Offset CreateStartWifiProvisioningRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStartWifiProvisioningRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *ssid = nullptr, const char *password = nullptr, const char *port = nullptr) { @@ -9168,9 +9215,9 @@ inline flatbuffers::Offset CreateStartWifiProvisio port__); } -struct StopWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StopWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StopWifiProvisioningRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9178,26 +9225,26 @@ struct StopWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers struct StopWifiProvisioningRequestBuilder { typedef StopWifiProvisioningRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit StopWifiProvisioningRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit StopWifiProvisioningRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStopWifiProvisioningRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateStopWifiProvisioningRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { StopWifiProvisioningRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef WifiProvisioningStatusResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STATUS = 4 @@ -9205,7 +9252,7 @@ struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuff solarxr_protocol::rpc::WifiProvisioningStatus status() const { return static_cast(GetField(VT_STATUS, 0)); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_STATUS, 1) && verifier.EndTable(); @@ -9214,31 +9261,31 @@ struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuff struct WifiProvisioningStatusResponseBuilder { typedef WifiProvisioningStatusResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_status(solarxr_protocol::rpc::WifiProvisioningStatus status) { fbb_.AddElement(WifiProvisioningStatusResponse::VT_STATUS, static_cast(status), 0); } - explicit WifiProvisioningStatusResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit WifiProvisioningStatusResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateWifiProvisioningStatusResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateWifiProvisioningStatusResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::WifiProvisioningStatus status = solarxr_protocol::rpc::WifiProvisioningStatus::NONE) { WifiProvisioningStatusResponseBuilder builder_(_fbb); builder_.add_status(status); return builder_.Finish(); } -struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AutoBoneProcessRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PROCESS_TYPE = 4 @@ -9246,7 +9293,7 @@ struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab solarxr_protocol::rpc::AutoBoneProcessType process_type() const { return static_cast(GetField(VT_PROCESS_TYPE, 0)); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_PROCESS_TYPE, 1) && verifier.EndTable(); @@ -9255,31 +9302,31 @@ struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab struct AutoBoneProcessRequestBuilder { typedef AutoBoneProcessRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_process_type(solarxr_protocol::rpc::AutoBoneProcessType process_type) { fbb_.AddElement(AutoBoneProcessRequest::VT_PROCESS_TYPE, static_cast(process_type), 0); } - explicit AutoBoneProcessRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneProcessRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAutoBoneProcessRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateAutoBoneProcessRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::AutoBoneProcessType process_type = solarxr_protocol::rpc::AutoBoneProcessType::NONE) { AutoBoneProcessRequestBuilder builder_(_fbb); builder_.add_process_type(process_type); return builder_.Finish(); } -struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AutoBoneProcessStatusResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PROCESS_TYPE = 4, @@ -9312,7 +9359,7 @@ struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffe float eta() const { return GetField(VT_ETA, 0.0f); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_PROCESS_TYPE, 1) && VerifyField(verifier, VT_CURRENT, 4) && @@ -9326,8 +9373,8 @@ struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffe struct AutoBoneProcessStatusResponseBuilder { typedef AutoBoneProcessStatusResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_process_type(solarxr_protocol::rpc::AutoBoneProcessType process_type) { fbb_.AddElement(AutoBoneProcessStatusResponse::VT_PROCESS_TYPE, static_cast(process_type), 0); } @@ -9346,19 +9393,19 @@ struct AutoBoneProcessStatusResponseBuilder { void add_eta(float eta) { fbb_.AddElement(AutoBoneProcessStatusResponse::VT_ETA, eta, 0.0f); } - explicit AutoBoneProcessStatusResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneProcessStatusResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAutoBoneProcessStatusResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateAutoBoneProcessStatusResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::AutoBoneProcessType process_type = solarxr_protocol::rpc::AutoBoneProcessType::NONE, uint32_t current = 0, uint32_t total = 0, @@ -9375,7 +9422,7 @@ inline flatbuffers::Offset CreateAutoBoneProcessS return builder_.Finish(); } -struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AutoBoneEpochResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CURRENT_EPOCH = 4, @@ -9394,10 +9441,10 @@ struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl return GetField(VT_EPOCH_ERROR, 0.0f); } /// A list of the current estimated body proportions. - const flatbuffers::Vector> *adjusted_skeleton_parts() const { - return GetPointer> *>(VT_ADJUSTED_SKELETON_PARTS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *adjusted_skeleton_parts() const { + return GetPointer> *>(VT_ADJUSTED_SKELETON_PARTS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_CURRENT_EPOCH, 4) && VerifyField(verifier, VT_TOTAL_EPOCHS, 4) && @@ -9411,8 +9458,8 @@ struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl struct AutoBoneEpochResponseBuilder { typedef AutoBoneEpochResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_current_epoch(uint32_t current_epoch) { fbb_.AddElement(AutoBoneEpochResponse::VT_CURRENT_EPOCH, current_epoch, 0); } @@ -9422,26 +9469,26 @@ struct AutoBoneEpochResponseBuilder { void add_epoch_error(float epoch_error) { fbb_.AddElement(AutoBoneEpochResponse::VT_EPOCH_ERROR, epoch_error, 0.0f); } - void add_adjusted_skeleton_parts(flatbuffers::Offset>> adjusted_skeleton_parts) { + void add_adjusted_skeleton_parts(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> adjusted_skeleton_parts) { fbb_.AddOffset(AutoBoneEpochResponse::VT_ADJUSTED_SKELETON_PARTS, adjusted_skeleton_parts); } - explicit AutoBoneEpochResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneEpochResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAutoBoneEpochResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateAutoBoneEpochResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, uint32_t current_epoch = 0, uint32_t total_epochs = 0, float epoch_error = 0.0f, - flatbuffers::Offset>> adjusted_skeleton_parts = 0) { + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> adjusted_skeleton_parts = 0) { AutoBoneEpochResponseBuilder builder_(_fbb); builder_.add_adjusted_skeleton_parts(adjusted_skeleton_parts); builder_.add_epoch_error(epoch_error); @@ -9450,13 +9497,13 @@ inline flatbuffers::Offset CreateAutoBoneEpochResponse( return builder_.Finish(); } -inline flatbuffers::Offset CreateAutoBoneEpochResponseDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateAutoBoneEpochResponseDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, uint32_t current_epoch = 0, uint32_t total_epochs = 0, float epoch_error = 0.0f, - const std::vector> *adjusted_skeleton_parts = nullptr) { - auto adjusted_skeleton_parts__ = adjusted_skeleton_parts ? _fbb.CreateVector>(*adjusted_skeleton_parts) : 0; + const std::vector<::flatbuffers::Offset> *adjusted_skeleton_parts = nullptr) { + auto adjusted_skeleton_parts__ = adjusted_skeleton_parts ? _fbb.CreateVector<::flatbuffers::Offset>(*adjusted_skeleton_parts) : 0; return solarxr_protocol::rpc::CreateAutoBoneEpochResponse( _fbb, current_epoch, @@ -9466,7 +9513,7 @@ inline flatbuffers::Offset CreateAutoBoneEpochResponseDir } /// https://github.com/SlimeVR/SlimeVR-Server/blob/v0.8.3/server/src/main/java/dev/slimevr/config/AutoBoneConfig.kt -struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AutoBoneSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CURSOR_INCREMENT = 4, @@ -9492,73 +9539,73 @@ struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_USE_SKELETON_HEIGHT = 44, VT_RAND_SEED = 46 }; - flatbuffers::Optional cursor_increment() const { + ::flatbuffers::Optional cursor_increment() const { return GetOptional(VT_CURSOR_INCREMENT); } - flatbuffers::Optional min_data_distance() const { + ::flatbuffers::Optional min_data_distance() const { return GetOptional(VT_MIN_DATA_DISTANCE); } - flatbuffers::Optional max_data_distance() const { + ::flatbuffers::Optional max_data_distance() const { return GetOptional(VT_MAX_DATA_DISTANCE); } - flatbuffers::Optional num_epochs() const { + ::flatbuffers::Optional num_epochs() const { return GetOptional(VT_NUM_EPOCHS); } - flatbuffers::Optional print_every_num_epochs() const { + ::flatbuffers::Optional print_every_num_epochs() const { return GetOptional(VT_PRINT_EVERY_NUM_EPOCHS); } - flatbuffers::Optional initial_adjust_rate() const { + ::flatbuffers::Optional initial_adjust_rate() const { return GetOptional(VT_INITIAL_ADJUST_RATE); } - flatbuffers::Optional adjust_rate_decay() const { + ::flatbuffers::Optional adjust_rate_decay() const { return GetOptional(VT_ADJUST_RATE_DECAY); } - flatbuffers::Optional slide_error_factor() const { + ::flatbuffers::Optional slide_error_factor() const { return GetOptional(VT_SLIDE_ERROR_FACTOR); } - flatbuffers::Optional offset_slide_error_factor() const { + ::flatbuffers::Optional offset_slide_error_factor() const { return GetOptional(VT_OFFSET_SLIDE_ERROR_FACTOR); } - flatbuffers::Optional foot_height_offset_error_factor() const { + ::flatbuffers::Optional foot_height_offset_error_factor() const { return GetOptional(VT_FOOT_HEIGHT_OFFSET_ERROR_FACTOR); } - flatbuffers::Optional body_proportion_error_factor() const { + ::flatbuffers::Optional body_proportion_error_factor() const { return GetOptional(VT_BODY_PROPORTION_ERROR_FACTOR); } - flatbuffers::Optional height_error_factor() const { + ::flatbuffers::Optional height_error_factor() const { return GetOptional(VT_HEIGHT_ERROR_FACTOR); } - flatbuffers::Optional position_error_factor() const { + ::flatbuffers::Optional position_error_factor() const { return GetOptional(VT_POSITION_ERROR_FACTOR); } - flatbuffers::Optional position_offset_error_factor() const { + ::flatbuffers::Optional position_offset_error_factor() const { return GetOptional(VT_POSITION_OFFSET_ERROR_FACTOR); } - flatbuffers::Optional calc_init_error() const { + ::flatbuffers::Optional calc_init_error() const { return GetOptional(VT_CALC_INIT_ERROR); } - flatbuffers::Optional randomize_frame_order() const { + ::flatbuffers::Optional randomize_frame_order() const { return GetOptional(VT_RANDOMIZE_FRAME_ORDER); } - flatbuffers::Optional scale_each_step() const { + ::flatbuffers::Optional scale_each_step() const { return GetOptional(VT_SCALE_EACH_STEP); } - flatbuffers::Optional sample_count() const { + ::flatbuffers::Optional sample_count() const { return GetOptional(VT_SAMPLE_COUNT); } - flatbuffers::Optional sample_rate_ms() const { + ::flatbuffers::Optional sample_rate_ms() const { return GetOptional(VT_SAMPLE_RATE_MS); } - flatbuffers::Optional save_recordings() const { + ::flatbuffers::Optional save_recordings() const { return GetOptional(VT_SAVE_RECORDINGS); } - flatbuffers::Optional use_skeleton_height() const { + ::flatbuffers::Optional use_skeleton_height() const { return GetOptional(VT_USE_SKELETON_HEIGHT); } - flatbuffers::Optional rand_seed() const { + ::flatbuffers::Optional rand_seed() const { return GetOptional(VT_RAND_SEED); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_CURSOR_INCREMENT, 4) && VerifyField(verifier, VT_MIN_DATA_DISTANCE, 4) && @@ -9588,8 +9635,8 @@ struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct AutoBoneSettingsBuilder { typedef AutoBoneSettings Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_cursor_increment(int32_t cursor_increment) { fbb_.AddElement(AutoBoneSettings::VT_CURSOR_INCREMENT, cursor_increment); } @@ -9656,41 +9703,41 @@ struct AutoBoneSettingsBuilder { void add_rand_seed(int64_t rand_seed) { fbb_.AddElement(AutoBoneSettings::VT_RAND_SEED, rand_seed); } - explicit AutoBoneSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAutoBoneSettings( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional cursor_increment = flatbuffers::nullopt, - flatbuffers::Optional min_data_distance = flatbuffers::nullopt, - flatbuffers::Optional max_data_distance = flatbuffers::nullopt, - flatbuffers::Optional num_epochs = flatbuffers::nullopt, - flatbuffers::Optional print_every_num_epochs = flatbuffers::nullopt, - flatbuffers::Optional initial_adjust_rate = flatbuffers::nullopt, - flatbuffers::Optional adjust_rate_decay = flatbuffers::nullopt, - flatbuffers::Optional slide_error_factor = flatbuffers::nullopt, - flatbuffers::Optional offset_slide_error_factor = flatbuffers::nullopt, - flatbuffers::Optional foot_height_offset_error_factor = flatbuffers::nullopt, - flatbuffers::Optional body_proportion_error_factor = flatbuffers::nullopt, - flatbuffers::Optional height_error_factor = flatbuffers::nullopt, - flatbuffers::Optional position_error_factor = flatbuffers::nullopt, - flatbuffers::Optional position_offset_error_factor = flatbuffers::nullopt, - flatbuffers::Optional calc_init_error = flatbuffers::nullopt, - flatbuffers::Optional randomize_frame_order = flatbuffers::nullopt, - flatbuffers::Optional scale_each_step = flatbuffers::nullopt, - flatbuffers::Optional sample_count = flatbuffers::nullopt, - flatbuffers::Optional sample_rate_ms = flatbuffers::nullopt, - flatbuffers::Optional save_recordings = flatbuffers::nullopt, - flatbuffers::Optional use_skeleton_height = flatbuffers::nullopt, - flatbuffers::Optional rand_seed = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateAutoBoneSettings( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional cursor_increment = ::flatbuffers::nullopt, + ::flatbuffers::Optional min_data_distance = ::flatbuffers::nullopt, + ::flatbuffers::Optional max_data_distance = ::flatbuffers::nullopt, + ::flatbuffers::Optional num_epochs = ::flatbuffers::nullopt, + ::flatbuffers::Optional print_every_num_epochs = ::flatbuffers::nullopt, + ::flatbuffers::Optional initial_adjust_rate = ::flatbuffers::nullopt, + ::flatbuffers::Optional adjust_rate_decay = ::flatbuffers::nullopt, + ::flatbuffers::Optional slide_error_factor = ::flatbuffers::nullopt, + ::flatbuffers::Optional offset_slide_error_factor = ::flatbuffers::nullopt, + ::flatbuffers::Optional foot_height_offset_error_factor = ::flatbuffers::nullopt, + ::flatbuffers::Optional body_proportion_error_factor = ::flatbuffers::nullopt, + ::flatbuffers::Optional height_error_factor = ::flatbuffers::nullopt, + ::flatbuffers::Optional position_error_factor = ::flatbuffers::nullopt, + ::flatbuffers::Optional position_offset_error_factor = ::flatbuffers::nullopt, + ::flatbuffers::Optional calc_init_error = ::flatbuffers::nullopt, + ::flatbuffers::Optional randomize_frame_order = ::flatbuffers::nullopt, + ::flatbuffers::Optional scale_each_step = ::flatbuffers::nullopt, + ::flatbuffers::Optional sample_count = ::flatbuffers::nullopt, + ::flatbuffers::Optional sample_rate_ms = ::flatbuffers::nullopt, + ::flatbuffers::Optional save_recordings = ::flatbuffers::nullopt, + ::flatbuffers::Optional use_skeleton_height = ::flatbuffers::nullopt, + ::flatbuffers::Optional rand_seed = ::flatbuffers::nullopt) { AutoBoneSettingsBuilder builder_(_fbb); if(rand_seed) { builder_.add_rand_seed(*rand_seed); } if(sample_rate_ms) { builder_.add_sample_rate_ms(*sample_rate_ms); } @@ -9717,9 +9764,9 @@ inline flatbuffers::Offset CreateAutoBoneSettings( return builder_.Finish(); } -struct HeightRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct HeightRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef HeightRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9727,27 +9774,27 @@ struct HeightRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct HeightRequestBuilder { typedef HeightRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit HeightRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit HeightRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateHeightRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateHeightRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { HeightRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Returns the current min and max positional tracker heights -struct HeightResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct HeightResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef HeightResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MIN_HEIGHT = 4, @@ -9759,7 +9806,7 @@ struct HeightResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { float max_height() const { return GetField(VT_MAX_HEIGHT, 0.0f); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_MIN_HEIGHT, 4) && VerifyField(verifier, VT_MAX_HEIGHT, 4) && @@ -9769,27 +9816,27 @@ struct HeightResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct HeightResponseBuilder { typedef HeightResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_min_height(float min_height) { fbb_.AddElement(HeightResponse::VT_MIN_HEIGHT, min_height, 0.0f); } void add_max_height(float max_height) { fbb_.AddElement(HeightResponse::VT_MAX_HEIGHT, max_height, 0.0f); } - explicit HeightResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit HeightResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateHeightResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateHeightResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, float min_height = 0.0f, float max_height = 0.0f) { HeightResponseBuilder builder_(_fbb); @@ -9799,9 +9846,9 @@ inline flatbuffers::Offset CreateHeightResponse( } /// Applies the estimated proportions -struct AutoBoneApplyRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AutoBoneApplyRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AutoBoneApplyRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9809,29 +9856,29 @@ struct AutoBoneApplyRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct AutoBoneApplyRequestBuilder { typedef AutoBoneApplyRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit AutoBoneApplyRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit AutoBoneApplyRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAutoBoneApplyRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateAutoBoneApplyRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { AutoBoneApplyRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Stops the current recording, using it as far as it has been recorded -struct AutoBoneStopRecordingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AutoBoneStopRecordingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AutoBoneStopRecordingRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9839,29 +9886,29 @@ struct AutoBoneStopRecordingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffer struct AutoBoneStopRecordingRequestBuilder { typedef AutoBoneStopRecordingRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit AutoBoneStopRecordingRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit AutoBoneStopRecordingRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAutoBoneStopRecordingRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateAutoBoneStopRecordingRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { AutoBoneStopRecordingRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Cancels the current recording, aborting the process and discarding the data -struct AutoBoneCancelRecordingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AutoBoneCancelRecordingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AutoBoneCancelRecordingRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9869,29 +9916,29 @@ struct AutoBoneCancelRecordingRequest FLATBUFFERS_FINAL_CLASS : private flatbuff struct AutoBoneCancelRecordingRequestBuilder { typedef AutoBoneCancelRecordingRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit AutoBoneCancelRecordingRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit AutoBoneCancelRecordingRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAutoBoneCancelRecordingRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateAutoBoneCancelRecordingRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { AutoBoneCancelRecordingRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Requests the current state of `OverlayDisplayModeResponse`. -struct OverlayDisplayModeRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OverlayDisplayModeRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OverlayDisplayModeRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9899,39 +9946,39 @@ struct OverlayDisplayModeRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers:: struct OverlayDisplayModeRequestBuilder { typedef OverlayDisplayModeRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit OverlayDisplayModeRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit OverlayDisplayModeRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOverlayDisplayModeRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateOverlayDisplayModeRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { OverlayDisplayModeRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Changes the state of the overlay's display mode. -struct OverlayDisplayModeChangeRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OverlayDisplayModeChangeRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OverlayDisplayModeChangeRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IS_VISIBLE = 4, VT_IS_MIRRORED = 6 }; - flatbuffers::Optional is_visible() const { + ::flatbuffers::Optional is_visible() const { return GetOptional(VT_IS_VISIBLE); } - flatbuffers::Optional is_mirrored() const { + ::flatbuffers::Optional is_mirrored() const { return GetOptional(VT_IS_MIRRORED); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IS_VISIBLE, 1) && VerifyField(verifier, VT_IS_MIRRORED, 1) && @@ -9941,29 +9988,29 @@ struct OverlayDisplayModeChangeRequest FLATBUFFERS_FINAL_CLASS : private flatbuf struct OverlayDisplayModeChangeRequestBuilder { typedef OverlayDisplayModeChangeRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_is_visible(bool is_visible) { fbb_.AddElement(OverlayDisplayModeChangeRequest::VT_IS_VISIBLE, static_cast(is_visible)); } void add_is_mirrored(bool is_mirrored) { fbb_.AddElement(OverlayDisplayModeChangeRequest::VT_IS_MIRRORED, static_cast(is_mirrored)); } - explicit OverlayDisplayModeChangeRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit OverlayDisplayModeChangeRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOverlayDisplayModeChangeRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional is_visible = flatbuffers::nullopt, - flatbuffers::Optional is_mirrored = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateOverlayDisplayModeChangeRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional is_visible = ::flatbuffers::nullopt, + ::flatbuffers::Optional is_mirrored = ::flatbuffers::nullopt) { OverlayDisplayModeChangeRequestBuilder builder_(_fbb); if(is_mirrored) { builder_.add_is_mirrored(*is_mirrored); } if(is_visible) { builder_.add_is_visible(*is_visible); } @@ -9971,7 +10018,7 @@ inline flatbuffers::Offset CreateOverlayDisplay } /// The current state of the overlay's display mode. -struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OverlayDisplayModeResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IS_VISIBLE = 4, @@ -9983,7 +10030,7 @@ struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers: bool is_mirrored() const { return GetField(VT_IS_MIRRORED, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IS_VISIBLE, 1) && VerifyField(verifier, VT_IS_MIRRORED, 1) && @@ -9993,27 +10040,27 @@ struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers: struct OverlayDisplayModeResponseBuilder { typedef OverlayDisplayModeResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_is_visible(bool is_visible) { fbb_.AddElement(OverlayDisplayModeResponse::VT_IS_VISIBLE, static_cast(is_visible), 0); } void add_is_mirrored(bool is_mirrored) { fbb_.AddElement(OverlayDisplayModeResponse::VT_IS_MIRRORED, static_cast(is_mirrored), 0); } - explicit OverlayDisplayModeResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit OverlayDisplayModeResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOverlayDisplayModeResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateOverlayDisplayModeResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, bool is_visible = false, bool is_mirrored = false) { OverlayDisplayModeResponseBuilder builder_(_fbb); @@ -10026,9 +10073,9 @@ inline flatbuffers::Offset CreateOverlayDisplayModeR /// like the local ip address, the version of the server, the java version, /// the current working dir and other information we might want to show in the gui /// for information/debug purposes -struct ServerInfosRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ServerInfosRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ServerInfosRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -10036,21 +10083,21 @@ struct ServerInfosRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct ServerInfosRequestBuilder { typedef ServerInfosRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit ServerInfosRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit ServerInfosRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateServerInfosRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateServerInfosRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { ServerInfosRequestBuilder builder_(_fbb); return builder_.Finish(); } @@ -10059,15 +10106,15 @@ inline flatbuffers::Offset CreateServerInfosRequest( /// like its local ip address (useful for standalone users so they can specify the ip of the server more easily) and any more /// infos we might want to add in the future. (like java version, working dir, server version ....) /// This only holds the local ip for now. But there will be other information added as we chose to display them on the gui for instance -struct ServerInfosResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ServerInfosResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ServerInfosResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LOCALIP = 4 }; - const flatbuffers::String *localIp() const { - return GetPointer(VT_LOCALIP); + const ::flatbuffers::String *localIp() const { + return GetPointer(VT_LOCALIP); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_LOCALIP) && verifier.VerifyString(localIp()) && @@ -10077,32 +10124,32 @@ struct ServerInfosResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct ServerInfosResponseBuilder { typedef ServerInfosResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_localIp(flatbuffers::Offset localIp) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_localIp(::flatbuffers::Offset<::flatbuffers::String> localIp) { fbb_.AddOffset(ServerInfosResponse::VT_LOCALIP, localIp); } - explicit ServerInfosResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ServerInfosResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateServerInfosResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset localIp = 0) { +inline ::flatbuffers::Offset CreateServerInfosResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> localIp = 0) { ServerInfosResponseBuilder builder_(_fbb); builder_.add_localIp(localIp); return builder_.Finish(); } -inline flatbuffers::Offset CreateServerInfosResponseDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateServerInfosResponseDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *localIp = nullptr) { auto localIp__ = localIp ? _fbb.CreateString(localIp) : 0; return solarxr_protocol::rpc::CreateServerInfosResponse( @@ -10112,7 +10159,7 @@ inline flatbuffers::Offset CreateServerInfosResponseDirect( /// Makes a temporary change to legtweaks. This is not saved to disk, and can be /// cleared with `LegTweaksTmpClear` -struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef LegTweaksTmpChangeBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FLOOR_CLIP = 4, @@ -10120,19 +10167,19 @@ struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_TOE_SNAP = 8, VT_FOOT_PLANT = 10 }; - flatbuffers::Optional floor_clip() const { + ::flatbuffers::Optional floor_clip() const { return GetOptional(VT_FLOOR_CLIP); } - flatbuffers::Optional skating_correction() const { + ::flatbuffers::Optional skating_correction() const { return GetOptional(VT_SKATING_CORRECTION); } - flatbuffers::Optional toe_snap() const { + ::flatbuffers::Optional toe_snap() const { return GetOptional(VT_TOE_SNAP); } - flatbuffers::Optional foot_plant() const { + ::flatbuffers::Optional foot_plant() const { return GetOptional(VT_FOOT_PLANT); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FLOOR_CLIP, 1) && VerifyField(verifier, VT_SKATING_CORRECTION, 1) && @@ -10144,8 +10191,8 @@ struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct LegTweaksTmpChangeBuilder { typedef LegTweaksTmpChange Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_floor_clip(bool floor_clip) { fbb_.AddElement(LegTweaksTmpChange::VT_FLOOR_CLIP, static_cast(floor_clip)); } @@ -10158,23 +10205,23 @@ struct LegTweaksTmpChangeBuilder { void add_foot_plant(bool foot_plant) { fbb_.AddElement(LegTweaksTmpChange::VT_FOOT_PLANT, static_cast(foot_plant)); } - explicit LegTweaksTmpChangeBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit LegTweaksTmpChangeBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateLegTweaksTmpChange( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Optional floor_clip = flatbuffers::nullopt, - flatbuffers::Optional skating_correction = flatbuffers::nullopt, - flatbuffers::Optional toe_snap = flatbuffers::nullopt, - flatbuffers::Optional foot_plant = flatbuffers::nullopt) { +inline ::flatbuffers::Offset CreateLegTweaksTmpChange( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Optional floor_clip = ::flatbuffers::nullopt, + ::flatbuffers::Optional skating_correction = ::flatbuffers::nullopt, + ::flatbuffers::Optional toe_snap = ::flatbuffers::nullopt, + ::flatbuffers::Optional foot_plant = ::flatbuffers::nullopt) { LegTweaksTmpChangeBuilder builder_(_fbb); if(foot_plant) { builder_.add_foot_plant(*foot_plant); } if(toe_snap) { builder_.add_toe_snap(*toe_snap); } @@ -10185,7 +10232,7 @@ inline flatbuffers::Offset CreateLegTweaksTmpChange( /// Clears the legtweaks temporary state back to what the config has. /// Setting a field to `true` will reset that field. -struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef LegTweaksTmpClearBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FLOOR_CLIP = 4, @@ -10205,7 +10252,7 @@ struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool foot_plant() const { return GetField(VT_FOOT_PLANT, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FLOOR_CLIP, 1) && VerifyField(verifier, VT_SKATING_CORRECTION, 1) && @@ -10217,8 +10264,8 @@ struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct LegTweaksTmpClearBuilder { typedef LegTweaksTmpClear Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_floor_clip(bool floor_clip) { fbb_.AddElement(LegTweaksTmpClear::VT_FLOOR_CLIP, static_cast(floor_clip), 0); } @@ -10231,19 +10278,19 @@ struct LegTweaksTmpClearBuilder { void add_foot_plant(bool foot_plant) { fbb_.AddElement(LegTweaksTmpClear::VT_FOOT_PLANT, static_cast(foot_plant), 0); } - explicit LegTweaksTmpClearBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit LegTweaksTmpClearBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateLegTweaksTmpClear( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateLegTweaksTmpClear( + ::flatbuffers::FlatBufferBuilder &_fbb, bool floor_clip = false, bool skating_correction = false, bool toe_snap = false, @@ -10257,7 +10304,7 @@ inline flatbuffers::Offset CreateLegTweaksTmpClear( } /// Tracker requires full reset -struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusTrackerResetBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -10265,7 +10312,7 @@ struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const flatbuffers::Vector> *tracker_id() const { return GetPointer> *>(VT_TRACKER_ID); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyVector(tracker_id()) && @@ -10276,22 +10323,28 @@ struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StatusTrackerResetBuilder { typedef StatusTrackerReset Table; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { flatbuffers::FlatBufferBuilder &fbb_; flatbuffers::uoffset_t start_; void add_tracker_id(flatbuffers::Offset>> tracker_id) { fbb_.AddOffset(StatusTrackerReset::VT_TRACKER_ID, tracker_id); } - explicit StatusTrackerResetBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusTrackerResetBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; +inline ::flatbuffers::Offset CreateStatusTrackerReset( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0) { inline flatbuffers::Offset CreateStatusTrackerReset( flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset>> tracker_id = 0) { @@ -10300,6 +10353,8 @@ inline flatbuffers::Offset CreateStatusTrackerReset( return builder_.Finish(); } +/// Tracker has error state +struct StatusTrackerError FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { inline flatbuffers::Offset CreateStatusTrackerResetDirect( flatbuffers::FlatBufferBuilder &_fbb, const std::vector> *tracker_id = nullptr) { @@ -10318,7 +10373,7 @@ struct StatusTrackerError FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const flatbuffers::Vector> *tracker_id() const { return GetPointer> *>(VT_TRACKER_ID); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyVector(tracker_id()) && @@ -10329,22 +10384,28 @@ struct StatusTrackerError FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StatusTrackerErrorBuilder { typedef StatusTrackerError Table; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { flatbuffers::FlatBufferBuilder &fbb_; flatbuffers::uoffset_t start_; void add_tracker_id(flatbuffers::Offset>> tracker_id) { fbb_.AddOffset(StatusTrackerError::VT_TRACKER_ID, tracker_id); } - explicit StatusTrackerErrorBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusTrackerErrorBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; +inline ::flatbuffers::Offset CreateStatusTrackerError( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0) { inline flatbuffers::Offset CreateStatusTrackerError( flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset>> tracker_id = 0) { @@ -10363,16 +10424,16 @@ inline flatbuffers::Offset CreateStatusTrackerErrorDirect( } /// SteamVR bridge is disconnected -struct StatusSteamVRDisconnected FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusSteamVRDisconnected FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusSteamVRDisconnectedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BRIDGE_SETTINGS_NAME = 4 }; /// Name of bridge in the server's config - const flatbuffers::String *bridge_settings_name() const { - return GetPointer(VT_BRIDGE_SETTINGS_NAME); + const ::flatbuffers::String *bridge_settings_name() const { + return GetPointer(VT_BRIDGE_SETTINGS_NAME); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_BRIDGE_SETTINGS_NAME) && verifier.VerifyString(bridge_settings_name()) && @@ -10382,32 +10443,32 @@ struct StatusSteamVRDisconnected FLATBUFFERS_FINAL_CLASS : private flatbuffers:: struct StatusSteamVRDisconnectedBuilder { typedef StatusSteamVRDisconnected Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_bridge_settings_name(flatbuffers::Offset bridge_settings_name) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_bridge_settings_name(::flatbuffers::Offset<::flatbuffers::String> bridge_settings_name) { fbb_.AddOffset(StatusSteamVRDisconnected::VT_BRIDGE_SETTINGS_NAME, bridge_settings_name); } - explicit StatusSteamVRDisconnectedBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSteamVRDisconnectedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusSteamVRDisconnected( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset bridge_settings_name = 0) { +inline ::flatbuffers::Offset CreateStatusSteamVRDisconnected( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> bridge_settings_name = 0) { StatusSteamVRDisconnectedBuilder builder_(_fbb); builder_.add_bridge_settings_name(bridge_settings_name); return builder_.Finish(); } -inline flatbuffers::Offset CreateStatusSteamVRDisconnectedDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStatusSteamVRDisconnectedDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *bridge_settings_name = nullptr) { auto bridge_settings_name__ = bridge_settings_name ? _fbb.CreateString(bridge_settings_name) : 0; return solarxr_protocol::rpc::CreateStatusSteamVRDisconnected( @@ -10416,7 +10477,7 @@ inline flatbuffers::Offset CreateStatusSteamVRDisconn } /// There is an available HMD tracker and it's not assigned to head -struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusUnassignedHMDBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -10424,7 +10485,7 @@ struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table const solarxr_protocol::datatypes::TrackerId *tracker_id() const { return GetPointer(VT_TRACKER_ID); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -10434,34 +10495,34 @@ struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct StatusUnassignedHMDBuilder { typedef StatusUnassignedHMD Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_id(flatbuffers::Offset tracker_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { fbb_.AddOffset(StatusUnassignedHMD::VT_TRACKER_ID, tracker_id); } - explicit StatusUnassignedHMDBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusUnassignedHMDBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusUnassignedHMD( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0) { +inline ::flatbuffers::Offset CreateStatusUnassignedHMD( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0) { StatusUnassignedHMDBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); return builder_.Finish(); } /// Request current statuses that we have -struct StatusSystemRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusSystemRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusSystemRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -10469,35 +10530,35 @@ struct StatusSystemRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct StatusSystemRequestBuilder { typedef StatusSystemRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit StatusSystemRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit StatusSystemRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusSystemRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateStatusSystemRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { StatusSystemRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Response containing all current valid statuses -struct StatusSystemResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusSystemResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusSystemResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CURRENT_STATUSES = 4 }; - const flatbuffers::Vector> *current_statuses() const { - return GetPointer> *>(VT_CURRENT_STATUSES); + const ::flatbuffers::Vector<::flatbuffers::Offset> *current_statuses() const { + return GetPointer> *>(VT_CURRENT_STATUSES); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_CURRENT_STATUSES) && verifier.VerifyVector(current_statuses()) && @@ -10508,41 +10569,41 @@ struct StatusSystemResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct StatusSystemResponseBuilder { typedef StatusSystemResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_current_statuses(flatbuffers::Offset>> current_statuses) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_current_statuses(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> current_statuses) { fbb_.AddOffset(StatusSystemResponse::VT_CURRENT_STATUSES, current_statuses); } - explicit StatusSystemResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSystemResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusSystemResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> current_statuses = 0) { +inline ::flatbuffers::Offset CreateStatusSystemResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> current_statuses = 0) { StatusSystemResponseBuilder builder_(_fbb); builder_.add_current_statuses(current_statuses); return builder_.Finish(); } -inline flatbuffers::Offset CreateStatusSystemResponseDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *current_statuses = nullptr) { - auto current_statuses__ = current_statuses ? _fbb.CreateVector>(*current_statuses) : 0; +inline ::flatbuffers::Offset CreateStatusSystemResponseDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset> *current_statuses = nullptr) { + auto current_statuses__ = current_statuses ? _fbb.CreateVector<::flatbuffers::Offset>(*current_statuses) : 0; return solarxr_protocol::rpc::CreateStatusSystemResponse( _fbb, current_statuses__); } /// When a new status appears, it's sent alone -struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusSystemUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_NEW_STATUS = 4 @@ -10550,7 +10611,7 @@ struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::StatusMessage *new_status() const { return GetPointer(VT_NEW_STATUS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_NEW_STATUS) && verifier.VerifyTable(new_status()) && @@ -10560,32 +10621,32 @@ struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StatusSystemUpdateBuilder { typedef StatusSystemUpdate Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_new_status(flatbuffers::Offset new_status) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_new_status(::flatbuffers::Offset new_status) { fbb_.AddOffset(StatusSystemUpdate::VT_NEW_STATUS, new_status); } - explicit StatusSystemUpdateBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSystemUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusSystemUpdate( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset new_status = 0) { +inline ::flatbuffers::Offset CreateStatusSystemUpdate( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset new_status = 0) { StatusSystemUpdateBuilder builder_(_fbb); builder_.add_new_status(new_status); return builder_.Finish(); } /// When an status is fixed and it's removed, it's ID is sent -struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusSystemFixedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FIXED_STATUS_ID = 4 @@ -10593,7 +10654,7 @@ struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { uint32_t fixed_status_id() const { return GetField(VT_FIXED_STATUS_ID, 0); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FIXED_STATUS_ID, 4) && verifier.EndTable(); @@ -10602,24 +10663,24 @@ struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StatusSystemFixedBuilder { typedef StatusSystemFixed Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_fixed_status_id(uint32_t fixed_status_id) { fbb_.AddElement(StatusSystemFixed::VT_FIXED_STATUS_ID, fixed_status_id, 0); } - explicit StatusSystemFixedBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSystemFixedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusSystemFixed( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStatusSystemFixed( + ::flatbuffers::FlatBufferBuilder &_fbb, uint32_t fixed_status_id = 0) { StatusSystemFixedBuilder builder_(_fbb); builder_.add_fixed_status_id(fixed_status_id); @@ -10627,16 +10688,16 @@ inline flatbuffers::Offset CreateStatusSystemFixed( } /// When the server detects a public network profile -struct StatusPublicNetwork FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusPublicNetwork FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusPublicNetworkBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ADAPTERS = 4 }; /// names of the adapters set to public - const flatbuffers::Vector> *adapters() const { - return GetPointer> *>(VT_ADAPTERS); + const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *adapters() const { + return GetPointer> *>(VT_ADAPTERS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ADAPTERS) && verifier.VerifyVector(adapters()) && @@ -10647,34 +10708,34 @@ struct StatusPublicNetwork FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct StatusPublicNetworkBuilder { typedef StatusPublicNetwork Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_adapters(flatbuffers::Offset>> adapters) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_adapters(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> adapters) { fbb_.AddOffset(StatusPublicNetwork::VT_ADAPTERS, adapters); } - explicit StatusPublicNetworkBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusPublicNetworkBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusPublicNetwork( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> adapters = 0) { +inline ::flatbuffers::Offset CreateStatusPublicNetwork( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> adapters = 0) { StatusPublicNetworkBuilder builder_(_fbb); builder_.add_adapters(adapters); return builder_.Finish(); } -inline flatbuffers::Offset CreateStatusPublicNetworkDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *adapters = nullptr) { - auto adapters__ = adapters ? _fbb.CreateVector>(*adapters) : 0; +inline ::flatbuffers::Offset CreateStatusPublicNetworkDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *adapters = nullptr) { + auto adapters__ = adapters ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*adapters) : 0; return solarxr_protocol::rpc::CreateStatusPublicNetwork( _fbb, adapters__); @@ -10682,7 +10743,7 @@ inline flatbuffers::Offset CreateStatusPublicNetworkDirect( /// An status is some kind of warning sent by the server, it's mainly made for /// showing problems with the server and need attention from the user. -struct StatusMessage FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct StatusMessage FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef StatusMessageBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4, @@ -10720,7 +10781,7 @@ struct StatusMessage FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::StatusPublicNetwork *data_as_StatusPublicNetwork() const { return data_type() == solarxr_protocol::rpc::StatusData::StatusPublicNetwork ? static_cast(data()) : nullptr; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 4) && VerifyField(verifier, VT_PRIORITIZED, 1) && @@ -10753,8 +10814,8 @@ template<> inline const solarxr_protocol::rpc::StatusPublicNetwork *StatusMessag struct StatusMessageBuilder { typedef StatusMessage Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_id(uint32_t id) { fbb_.AddElement(StatusMessage::VT_ID, id, 0); } @@ -10764,26 +10825,26 @@ struct StatusMessageBuilder { void add_data_type(solarxr_protocol::rpc::StatusData data_type) { fbb_.AddElement(StatusMessage::VT_DATA_TYPE, static_cast(data_type), 0); } - void add_data(flatbuffers::Offset data) { + void add_data(::flatbuffers::Offset data) { fbb_.AddOffset(StatusMessage::VT_DATA, data); } - explicit StatusMessageBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusMessageBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateStatusMessage( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateStatusMessage( + ::flatbuffers::FlatBufferBuilder &_fbb, uint32_t id = 0, bool prioritized = false, solarxr_protocol::rpc::StatusData data_type = solarxr_protocol::rpc::StatusData::NONE, - flatbuffers::Offset data = 0) { + ::flatbuffers::Offset data = 0) { StatusMessageBuilder builder_(_fbb); builder_.add_data(data); builder_.add_id(id); @@ -10792,7 +10853,7 @@ inline flatbuffers::Offset CreateStatusMessage( return builder_.Finish(); } -struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SetPauseTrackingRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PAUSETRACKING = 4 @@ -10801,7 +10862,7 @@ struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Ta bool pauseTracking() const { return GetField(VT_PAUSETRACKING, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_PAUSETRACKING, 1) && verifier.EndTable(); @@ -10810,24 +10871,24 @@ struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Ta struct SetPauseTrackingRequestBuilder { typedef SetPauseTrackingRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_pauseTracking(bool pauseTracking) { fbb_.AddElement(SetPauseTrackingRequest::VT_PAUSETRACKING, static_cast(pauseTracking), 0); } - explicit SetPauseTrackingRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SetPauseTrackingRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSetPauseTrackingRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSetPauseTrackingRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, bool pauseTracking = false) { SetPauseTrackingRequestBuilder builder_(_fbb); builder_.add_pauseTracking(pauseTracking); @@ -10835,9 +10896,9 @@ inline flatbuffers::Offset CreateSetPauseTrackingReques } /// Clears mounting reset data, defaulting to the manually set mounting orientations -struct ClearMountingResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ClearMountingResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ClearMountingResetRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -10845,27 +10906,27 @@ struct ClearMountingResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers:: struct ClearMountingResetRequestBuilder { typedef ClearMountingResetRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit ClearMountingResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit ClearMountingResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateClearMountingResetRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateClearMountingResetRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { ClearMountingResetRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Used for the server to save a file and have it prompt in the user side -struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SaveFileNotificationBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DATA = 4, @@ -10875,26 +10936,26 @@ struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table VT_EXPECTED_FILENAME = 12 }; /// Binary data of the file - const flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); + const ::flatbuffers::Vector *data() const { + return GetPointer *>(VT_DATA); } /// MIME type of file if one exists, use `file_extension` otherwise - const flatbuffers::String *mime_type() const { - return GetPointer(VT_MIME_TYPE); + const ::flatbuffers::String *mime_type() const { + return GetPointer(VT_MIME_TYPE); } /// Use MIME type preferably if one exists - const flatbuffers::String *file_extension() const { - return GetPointer(VT_FILE_EXTENSION); + const ::flatbuffers::String *file_extension() const { + return GetPointer(VT_FILE_EXTENSION); } /// Directory recommended to save the file on - flatbuffers::Optional expected_dir() const { + ::flatbuffers::Optional expected_dir() const { return GetOptional(VT_EXPECTED_DIR); } /// Recommended filename - const flatbuffers::String *expected_filename() const { - return GetPointer(VT_EXPECTED_FILENAME); + const ::flatbuffers::String *expected_filename() const { + return GetPointer(VT_EXPECTED_FILENAME); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DATA) && verifier.VerifyVector(data()) && @@ -10911,41 +10972,41 @@ struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct SaveFileNotificationBuilder { typedef SaveFileNotification Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_data(flatbuffers::Offset> data) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { fbb_.AddOffset(SaveFileNotification::VT_DATA, data); } - void add_mime_type(flatbuffers::Offset mime_type) { + void add_mime_type(::flatbuffers::Offset<::flatbuffers::String> mime_type) { fbb_.AddOffset(SaveFileNotification::VT_MIME_TYPE, mime_type); } - void add_file_extension(flatbuffers::Offset file_extension) { + void add_file_extension(::flatbuffers::Offset<::flatbuffers::String> file_extension) { fbb_.AddOffset(SaveFileNotification::VT_FILE_EXTENSION, file_extension); } void add_expected_dir(solarxr_protocol::rpc::ComputerDirectory expected_dir) { fbb_.AddElement(SaveFileNotification::VT_EXPECTED_DIR, static_cast(expected_dir)); } - void add_expected_filename(flatbuffers::Offset expected_filename) { + void add_expected_filename(::flatbuffers::Offset<::flatbuffers::String> expected_filename) { fbb_.AddOffset(SaveFileNotification::VT_EXPECTED_FILENAME, expected_filename); } - explicit SaveFileNotificationBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SaveFileNotificationBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSaveFileNotification( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset> data = 0, - flatbuffers::Offset mime_type = 0, - flatbuffers::Offset file_extension = 0, - flatbuffers::Optional expected_dir = flatbuffers::nullopt, - flatbuffers::Offset expected_filename = 0) { +inline ::flatbuffers::Offset CreateSaveFileNotification( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector> data = 0, + ::flatbuffers::Offset<::flatbuffers::String> mime_type = 0, + ::flatbuffers::Offset<::flatbuffers::String> file_extension = 0, + ::flatbuffers::Optional expected_dir = ::flatbuffers::nullopt, + ::flatbuffers::Offset<::flatbuffers::String> expected_filename = 0) { SaveFileNotificationBuilder builder_(_fbb); builder_.add_expected_filename(expected_filename); builder_.add_file_extension(file_extension); @@ -10955,12 +11016,12 @@ inline flatbuffers::Offset CreateSaveFileNotification( return builder_.Finish(); } -inline flatbuffers::Offset CreateSaveFileNotificationDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSaveFileNotificationDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const std::vector *data = nullptr, const char *mime_type = nullptr, const char *file_extension = nullptr, - flatbuffers::Optional expected_dir = flatbuffers::nullopt, + ::flatbuffers::Optional expected_dir = ::flatbuffers::nullopt, const char *expected_filename = nullptr) { auto data__ = data ? _fbb.CreateVector(*data) : 0; auto mime_type__ = mime_type ? _fbb.CreateString(mime_type) : 0; @@ -10975,15 +11036,15 @@ inline flatbuffers::Offset CreateSaveFileNotificationDirec expected_filename__); } -struct SerialDevicePort FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialDevicePort FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialDevicePortBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PORT = 4 }; - const flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const ::flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_PORT) && verifier.VerifyString(port()) && @@ -10993,32 +11054,32 @@ struct SerialDevicePort FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct SerialDevicePortBuilder { typedef SerialDevicePort Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_port(flatbuffers::Offset port) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { fbb_.AddOffset(SerialDevicePort::VT_PORT, port); } - explicit SerialDevicePortBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialDevicePortBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialDevicePort( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset port = 0) { +inline ::flatbuffers::Offset CreateSerialDevicePort( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> port = 0) { SerialDevicePortBuilder builder_(_fbb); builder_.add_port(port); return builder_.Finish(); } -inline flatbuffers::Offset CreateSerialDevicePortDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSerialDevicePortDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *port = nullptr) { auto port__ = port ? _fbb.CreateString(port) : 0; return solarxr_protocol::rpc::CreateSerialDevicePort( @@ -11026,7 +11087,7 @@ inline flatbuffers::Offset CreateSerialDevicePortDirect( port__); } -struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef FirmwarePartBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_URL = 4, @@ -11034,8 +11095,8 @@ struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_DIGEST = 8 }; /// Url of the firmware bin to download - const flatbuffers::String *url() const { - return GetPointer(VT_URL); + const ::flatbuffers::String *url() const { + return GetPointer(VT_URL); } /// Offset of the firmware, used when flashing to the mcu, it indicates where to write this file in memory /// Will be ignored in the case of OTA flashing @@ -11059,9 +11120,9 @@ struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct FirmwarePartBuilder { typedef FirmwarePart Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_url(flatbuffers::Offset url) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_url(::flatbuffers::Offset<::flatbuffers::String> url) { fbb_.AddOffset(FirmwarePart::VT_URL, url); } void add_offset(uint32_t offset) { @@ -11074,9 +11135,9 @@ struct FirmwarePartBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; @@ -11093,8 +11154,8 @@ inline flatbuffers::Offset CreateFirmwarePart( return builder_.Finish(); } -inline flatbuffers::Offset CreateFirmwarePartDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateFirmwarePartDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *url = nullptr, uint32_t offset = 0, const char *digest = nullptr) { @@ -11107,7 +11168,7 @@ inline flatbuffers::Offset CreateFirmwarePartDirect( digest__); } -struct FirmwareUpdateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct FirmwareUpdateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef FirmwareUpdateRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_METHOD_TYPE = 4, @@ -11126,7 +11187,7 @@ struct FirmwareUpdateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl const solarxr_protocol::rpc::SerialFirmwareUpdate *method_as_SerialFirmwareUpdate() const { return method_type() == solarxr_protocol::rpc::FirmwareUpdateMethod::SerialFirmwareUpdate ? static_cast(method()) : nullptr; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_METHOD_TYPE, 1) && VerifyOffset(verifier, VT_METHOD) && @@ -11145,36 +11206,36 @@ template<> inline const solarxr_protocol::rpc::SerialFirmwareUpdate *FirmwareUpd struct FirmwareUpdateRequestBuilder { typedef FirmwareUpdateRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_method_type(solarxr_protocol::rpc::FirmwareUpdateMethod method_type) { fbb_.AddElement(FirmwareUpdateRequest::VT_METHOD_TYPE, static_cast(method_type), 0); } - void add_method(flatbuffers::Offset method) { + void add_method(::flatbuffers::Offset method) { fbb_.AddOffset(FirmwareUpdateRequest::VT_METHOD, method); } - explicit FirmwareUpdateRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit FirmwareUpdateRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateFirmwareUpdateRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateFirmwareUpdateRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::FirmwareUpdateMethod method_type = solarxr_protocol::rpc::FirmwareUpdateMethod::NONE, - flatbuffers::Offset method = 0) { + ::flatbuffers::Offset method = 0) { FirmwareUpdateRequestBuilder builder_(_fbb); builder_.add_method(method); builder_.add_method_type(method_type); return builder_.Finish(); } -struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef OTAFirmwareUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID = 4, @@ -11188,7 +11249,7 @@ struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::FirmwarePart *firmware_part() const { return GetPointer(VT_FIRMWARE_PART); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_DEVICE_ID, 1) && VerifyOffset(verifier, VT_FIRMWARE_PART) && @@ -11199,36 +11260,36 @@ struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct OTAFirmwareUpdateBuilder { typedef OTAFirmwareUpdate Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_device_id(const solarxr_protocol::datatypes::DeviceId *device_id) { fbb_.AddStruct(OTAFirmwareUpdate::VT_DEVICE_ID, device_id); } - void add_firmware_part(flatbuffers::Offset firmware_part) { + void add_firmware_part(::flatbuffers::Offset firmware_part) { fbb_.AddOffset(OTAFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } - explicit OTAFirmwareUpdateBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit OTAFirmwareUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateOTAFirmwareUpdate( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateOTAFirmwareUpdate( + ::flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *device_id = nullptr, - flatbuffers::Offset firmware_part = 0) { + ::flatbuffers::Offset firmware_part = 0) { OTAFirmwareUpdateBuilder builder_(_fbb); builder_.add_firmware_part(firmware_part); builder_.add_device_id(device_id); return builder_.Finish(); } -struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialFirmwareUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID = 4, @@ -11248,17 +11309,17 @@ struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table } /// Credentials to provision after the flashing /// Only used with Serial flashing, because OTA is already connected to the wifi - const flatbuffers::String *ssid() const { - return GetPointer(VT_SSID); + const ::flatbuffers::String *ssid() const { + return GetPointer(VT_SSID); } - const flatbuffers::String *password() const { - return GetPointer(VT_PASSWORD); + const ::flatbuffers::String *password() const { + return GetPointer(VT_PASSWORD); } /// A list of urls and offsets of the different firmware files to flash - const flatbuffers::Vector> *firmware_part() const { - return GetPointer> *>(VT_FIRMWARE_PART); + const ::flatbuffers::Vector<::flatbuffers::Offset> *firmware_part() const { + return GetPointer> *>(VT_FIRMWARE_PART); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DEVICE_ID) && verifier.VerifyTable(device_id()) && @@ -11276,41 +11337,41 @@ struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct SerialFirmwareUpdateBuilder { typedef SerialFirmwareUpdate Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_device_id(flatbuffers::Offset device_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_device_id(::flatbuffers::Offset device_id) { fbb_.AddOffset(SerialFirmwareUpdate::VT_DEVICE_ID, device_id); } void add_needManualReboot(bool needManualReboot) { fbb_.AddElement(SerialFirmwareUpdate::VT_NEEDMANUALREBOOT, static_cast(needManualReboot), 0); } - void add_ssid(flatbuffers::Offset ssid) { + void add_ssid(::flatbuffers::Offset<::flatbuffers::String> ssid) { fbb_.AddOffset(SerialFirmwareUpdate::VT_SSID, ssid); } - void add_password(flatbuffers::Offset password) { + void add_password(::flatbuffers::Offset<::flatbuffers::String> password) { fbb_.AddOffset(SerialFirmwareUpdate::VT_PASSWORD, password); } - void add_firmware_part(flatbuffers::Offset>> firmware_part) { + void add_firmware_part(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> firmware_part) { fbb_.AddOffset(SerialFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } - explicit SerialFirmwareUpdateBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialFirmwareUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialFirmwareUpdate( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset device_id = 0, +inline ::flatbuffers::Offset CreateSerialFirmwareUpdate( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset device_id = 0, bool needManualReboot = false, - flatbuffers::Offset ssid = 0, - flatbuffers::Offset password = 0, - flatbuffers::Offset>> firmware_part = 0) { + ::flatbuffers::Offset<::flatbuffers::String> ssid = 0, + ::flatbuffers::Offset<::flatbuffers::String> password = 0, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> firmware_part = 0) { SerialFirmwareUpdateBuilder builder_(_fbb); builder_.add_firmware_part(firmware_part); builder_.add_password(password); @@ -11320,16 +11381,16 @@ inline flatbuffers::Offset CreateSerialFirmwareUpdate( return builder_.Finish(); } -inline flatbuffers::Offset CreateSerialFirmwareUpdateDirect( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset device_id = 0, +inline ::flatbuffers::Offset CreateSerialFirmwareUpdateDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset device_id = 0, bool needManualReboot = false, const char *ssid = nullptr, const char *password = nullptr, - const std::vector> *firmware_part = nullptr) { + const std::vector<::flatbuffers::Offset> *firmware_part = nullptr) { auto ssid__ = ssid ? _fbb.CreateString(ssid) : 0; auto password__ = password ? _fbb.CreateString(password) : 0; - auto firmware_part__ = firmware_part ? _fbb.CreateVector>(*firmware_part) : 0; + auto firmware_part__ = firmware_part ? _fbb.CreateVector<::flatbuffers::Offset>(*firmware_part) : 0; return solarxr_protocol::rpc::CreateSerialFirmwareUpdate( _fbb, device_id, @@ -11339,7 +11400,7 @@ inline flatbuffers::Offset CreateSerialFirmwareUpdateDirec firmware_part__); } -struct FirmwareUpdateStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct FirmwareUpdateStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef FirmwareUpdateStatusResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID_TYPE = 4, @@ -11367,7 +11428,7 @@ struct FirmwareUpdateStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffer int8_t progress() const { return GetField(VT_PROGRESS, 0); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_DEVICE_ID_TYPE, 1) && VerifyOffset(verifier, VT_DEVICE_ID) && @@ -11388,12 +11449,12 @@ template<> inline const solarxr_protocol::rpc::SerialDevicePort *FirmwareUpdateS struct FirmwareUpdateStatusResponseBuilder { typedef FirmwareUpdateStatusResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_device_id_type(solarxr_protocol::rpc::FirmwareUpdateDeviceId device_id_type) { fbb_.AddElement(FirmwareUpdateStatusResponse::VT_DEVICE_ID_TYPE, static_cast(device_id_type), 0); } - void add_device_id(flatbuffers::Offset device_id) { + void add_device_id(::flatbuffers::Offset device_id) { fbb_.AddOffset(FirmwareUpdateStatusResponse::VT_DEVICE_ID, device_id); } void add_status(solarxr_protocol::rpc::FirmwareUpdateStatus status) { @@ -11402,21 +11463,21 @@ struct FirmwareUpdateStatusResponseBuilder { void add_progress(int8_t progress) { fbb_.AddElement(FirmwareUpdateStatusResponse::VT_PROGRESS, progress, 0); } - explicit FirmwareUpdateStatusResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit FirmwareUpdateStatusResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateFirmwareUpdateStatusResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateFirmwareUpdateStatusResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::FirmwareUpdateDeviceId device_id_type = solarxr_protocol::rpc::FirmwareUpdateDeviceId::NONE, - flatbuffers::Offset device_id = 0, + ::flatbuffers::Offset device_id = 0, solarxr_protocol::rpc::FirmwareUpdateStatus status = solarxr_protocol::rpc::FirmwareUpdateStatus::DOWNLOADING, int8_t progress = 0) { FirmwareUpdateStatusResponseBuilder builder_(_fbb); @@ -11427,9 +11488,9 @@ inline flatbuffers::Offset CreateFirmwareUpdateSta return builder_.Finish(); } -struct FirmwareUpdateStopQueuesRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct FirmwareUpdateStopQueuesRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef FirmwareUpdateStopQueuesRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11437,29 +11498,29 @@ struct FirmwareUpdateStopQueuesRequest FLATBUFFERS_FINAL_CLASS : private flatbuf struct FirmwareUpdateStopQueuesRequestBuilder { typedef FirmwareUpdateStopQueuesRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit FirmwareUpdateStopQueuesRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit FirmwareUpdateStopQueuesRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateFirmwareUpdateStopQueuesRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateFirmwareUpdateStopQueuesRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { FirmwareUpdateStopQueuesRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Requests the current state of tracking pause -struct TrackingPauseStateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TrackingPauseStateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TrackingPauseStateRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11467,26 +11528,26 @@ struct TrackingPauseStateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers:: struct TrackingPauseStateRequestBuilder { typedef TrackingPauseStateRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit TrackingPauseStateRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit TrackingPauseStateRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTrackingPauseStateRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateTrackingPauseStateRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { TrackingPauseStateRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TrackingPauseStateResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKINGPAUSED = 4 @@ -11495,7 +11556,7 @@ struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers: bool trackingPaused() const { return GetField(VT_TRACKINGPAUSED, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TRACKINGPAUSED, 1) && verifier.EndTable(); @@ -11504,24 +11565,24 @@ struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers: struct TrackingPauseStateResponseBuilder { typedef TrackingPauseStateResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_trackingPaused(bool trackingPaused) { fbb_.AddElement(TrackingPauseStateResponse::VT_TRACKINGPAUSED, static_cast(trackingPaused), 0); } - explicit TrackingPauseStateResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackingPauseStateResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTrackingPauseStateResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateTrackingPauseStateResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, bool trackingPaused = false) { TrackingPauseStateResponseBuilder builder_(_fbb); builder_.add_trackingPaused(trackingPaused); @@ -11529,9 +11590,9 @@ inline flatbuffers::Offset CreateTrackingPauseStateR } /// Sends the GET WIFISCAN cmd to the current tracker on the serial monitor -struct SerialTrackerGetWifiScanRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SerialTrackerGetWifiScanRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SerialTrackerGetWifiScanRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11539,21 +11600,21 @@ struct SerialTrackerGetWifiScanRequest FLATBUFFERS_FINAL_CLASS : private flatbuf struct SerialTrackerGetWifiScanRequestBuilder { typedef SerialTrackerGetWifiScanRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SerialTrackerGetWifiScanRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SerialTrackerGetWifiScanRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSerialTrackerGetWifiScanRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSerialTrackerGetWifiScanRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerGetWifiScanRequestBuilder builder_(_fbb); return builder_.Finish(); } @@ -11561,15 +11622,15 @@ inline flatbuffers::Offset CreateSerialTrackerG /// Server notifies connection of an unknown device. /// If the notification is no longer sent, it means the device connected to another /// server, got connected to this server or it was turned off. -struct UnknownDeviceHandshakeNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct UnknownDeviceHandshakeNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef UnknownDeviceHandshakeNotificationBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MAC_ADDRESS = 4 }; - const flatbuffers::String *mac_address() const { - return GetPointer(VT_MAC_ADDRESS); + const ::flatbuffers::String *mac_address() const { + return GetPointer(VT_MAC_ADDRESS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MAC_ADDRESS) && verifier.VerifyString(mac_address()) && @@ -11579,32 +11640,32 @@ struct UnknownDeviceHandshakeNotification FLATBUFFERS_FINAL_CLASS : private flat struct UnknownDeviceHandshakeNotificationBuilder { typedef UnknownDeviceHandshakeNotification Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_mac_address(flatbuffers::Offset mac_address) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_mac_address(::flatbuffers::Offset<::flatbuffers::String> mac_address) { fbb_.AddOffset(UnknownDeviceHandshakeNotification::VT_MAC_ADDRESS, mac_address); } - explicit UnknownDeviceHandshakeNotificationBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit UnknownDeviceHandshakeNotificationBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateUnknownDeviceHandshakeNotification( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset mac_address = 0) { +inline ::flatbuffers::Offset CreateUnknownDeviceHandshakeNotification( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> mac_address = 0) { UnknownDeviceHandshakeNotificationBuilder builder_(_fbb); builder_.add_mac_address(mac_address); return builder_.Finish(); } -inline flatbuffers::Offset CreateUnknownDeviceHandshakeNotificationDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateUnknownDeviceHandshakeNotificationDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *mac_address = nullptr) { auto mac_address__ = mac_address ? _fbb.CreateString(mac_address) : 0; return solarxr_protocol::rpc::CreateUnknownDeviceHandshakeNotification( @@ -11612,15 +11673,15 @@ inline flatbuffers::Offset CreateUnknownDevi mac_address__); } -struct AddUnknownDeviceRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct AddUnknownDeviceRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef AddUnknownDeviceRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MAC_ADDRESS = 4 }; - const flatbuffers::String *mac_address() const { - return GetPointer(VT_MAC_ADDRESS); + const ::flatbuffers::String *mac_address() const { + return GetPointer(VT_MAC_ADDRESS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MAC_ADDRESS) && verifier.VerifyString(mac_address()) && @@ -11630,32 +11691,32 @@ struct AddUnknownDeviceRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Ta struct AddUnknownDeviceRequestBuilder { typedef AddUnknownDeviceRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_mac_address(flatbuffers::Offset mac_address) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_mac_address(::flatbuffers::Offset<::flatbuffers::String> mac_address) { fbb_.AddOffset(AddUnknownDeviceRequest::VT_MAC_ADDRESS, mac_address); } - explicit AddUnknownDeviceRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit AddUnknownDeviceRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateAddUnknownDeviceRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset mac_address = 0) { +inline ::flatbuffers::Offset CreateAddUnknownDeviceRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> mac_address = 0) { AddUnknownDeviceRequestBuilder builder_(_fbb); builder_.add_mac_address(mac_address); return builder_.Finish(); } -inline flatbuffers::Offset CreateAddUnknownDeviceRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateAddUnknownDeviceRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *mac_address = nullptr) { auto mac_address__ = mac_address ? _fbb.CreateString(mac_address) : 0; return solarxr_protocol::rpc::CreateAddUnknownDeviceRequest( @@ -11663,15 +11724,15 @@ inline flatbuffers::Offset CreateAddUnknownDeviceReques mac_address__); } -struct ForgetDeviceRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ForgetDeviceRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ForgetDeviceRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MAC_ADDRESS = 4 }; - const flatbuffers::String *mac_address() const { - return GetPointer(VT_MAC_ADDRESS); + const ::flatbuffers::String *mac_address() const { + return GetPointer(VT_MAC_ADDRESS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MAC_ADDRESS) && verifier.VerifyString(mac_address()) && @@ -11681,32 +11742,32 @@ struct ForgetDeviceRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct ForgetDeviceRequestBuilder { typedef ForgetDeviceRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_mac_address(flatbuffers::Offset mac_address) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_mac_address(::flatbuffers::Offset<::flatbuffers::String> mac_address) { fbb_.AddOffset(ForgetDeviceRequest::VT_MAC_ADDRESS, mac_address); } - explicit ForgetDeviceRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ForgetDeviceRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateForgetDeviceRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset mac_address = 0) { +inline ::flatbuffers::Offset CreateForgetDeviceRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> mac_address = 0) { ForgetDeviceRequestBuilder builder_(_fbb); builder_.add_mac_address(mac_address); return builder_.Finish(); } -inline flatbuffers::Offset CreateForgetDeviceRequestDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateForgetDeviceRequestDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *mac_address = nullptr) { auto mac_address__ = mac_address ? _fbb.CreateString(mac_address) : 0; return solarxr_protocol::rpc::CreateForgetDeviceRequest( @@ -11714,9 +11775,9 @@ inline flatbuffers::Offset CreateForgetDeviceRequestDirect( mac_address__); } -struct SettingsResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SettingsResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SettingsResetRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11724,27 +11785,27 @@ struct SettingsResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct SettingsResetRequestBuilder { typedef SettingsResetRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit SettingsResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit SettingsResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSettingsResetRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateSettingsResetRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { SettingsResetRequestBuilder builder_(_fbb); return builder_.Finish(); } /// If no tracker ID is given, it's the setting for every tracker/device -struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef MagToggleRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -11752,7 +11813,7 @@ struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::datatypes::TrackerId *tracker_id() const { return GetPointer(VT_TRACKER_ID); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -11762,32 +11823,32 @@ struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct MagToggleRequestBuilder { typedef MagToggleRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_id(flatbuffers::Offset tracker_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { fbb_.AddOffset(MagToggleRequest::VT_TRACKER_ID, tracker_id); } - explicit MagToggleRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit MagToggleRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateMagToggleRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0) { +inline ::flatbuffers::Offset CreateMagToggleRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0) { MagToggleRequestBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); return builder_.Finish(); } /// If no tracker ID is given, it's the setting for every tracker/device -struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef MagToggleResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4, @@ -11799,7 +11860,7 @@ struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool enable() const { return GetField(VT_ENABLE, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -11810,28 +11871,28 @@ struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct MagToggleResponseBuilder { typedef MagToggleResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_id(flatbuffers::Offset tracker_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { fbb_.AddOffset(MagToggleResponse::VT_TRACKER_ID, tracker_id); } void add_enable(bool enable) { fbb_.AddElement(MagToggleResponse::VT_ENABLE, static_cast(enable), 0); } - explicit MagToggleResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit MagToggleResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateMagToggleResponse( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0, +inline ::flatbuffers::Offset CreateMagToggleResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0, bool enable = false) { MagToggleResponseBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); @@ -11840,7 +11901,7 @@ inline flatbuffers::Offset CreateMagToggleResponse( } /// If no tracker ID is given, it's the setting for every tracker/device -struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ChangeMagToggleRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4, @@ -11852,7 +11913,7 @@ struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab bool enable() const { return GetField(VT_ENABLE, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -11863,28 +11924,28 @@ struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab struct ChangeMagToggleRequestBuilder { typedef ChangeMagToggleRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_tracker_id(flatbuffers::Offset tracker_id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_tracker_id(::flatbuffers::Offset tracker_id) { fbb_.AddOffset(ChangeMagToggleRequest::VT_TRACKER_ID, tracker_id); } void add_enable(bool enable) { fbb_.AddElement(ChangeMagToggleRequest::VT_ENABLE, static_cast(enable), 0); } - explicit ChangeMagToggleRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ChangeMagToggleRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateChangeMagToggleRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset tracker_id = 0, +inline ::flatbuffers::Offset CreateChangeMagToggleRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset tracker_id = 0, bool enable = false) { ChangeMagToggleRequestBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); @@ -11892,7 +11953,7 @@ inline flatbuffers::Offset CreateChangeMagToggleRequest( return builder_.Finish(); } -struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef VRCConfigValidityBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LEGACY_MODE_OK = 4, @@ -11932,7 +11993,7 @@ struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool shoulder_width_compensation_ok() const { return GetField(VT_SHOULDER_WIDTH_COMPENSATION_OK, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_LEGACY_MODE_OK, 1) && VerifyField(verifier, VT_SHOULDER_TRACKING_OK, 1) && @@ -11949,8 +12010,8 @@ struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct VRCConfigValidityBuilder { typedef VRCConfigValidity Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_legacy_mode_ok(bool legacy_mode_ok) { fbb_.AddElement(VRCConfigValidity::VT_LEGACY_MODE_OK, static_cast(legacy_mode_ok), 0); } @@ -11978,19 +12039,19 @@ struct VRCConfigValidityBuilder { void add_shoulder_width_compensation_ok(bool shoulder_width_compensation_ok) { fbb_.AddElement(VRCConfigValidity::VT_SHOULDER_WIDTH_COMPENSATION_OK, static_cast(shoulder_width_compensation_ok), 0); } - explicit VRCConfigValidityBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCConfigValidityBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateVRCConfigValidity( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateVRCConfigValidity( + ::flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode_ok = false, bool shoulder_tracking_ok = false, bool user_height_ok = false, @@ -12013,7 +12074,7 @@ inline flatbuffers::Offset CreateVRCConfigValidity( return builder_.Finish(); } -struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef VRCConfigValuesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LEGACY_MODE = 4, @@ -12053,7 +12114,7 @@ struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool shoulder_width_compensation() const { return GetField(VT_SHOULDER_WIDTH_COMPENSATION, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_LEGACY_MODE, 1) && VerifyField(verifier, VT_SHOULDER_TRACKING_DISABLED, 1) && @@ -12070,8 +12131,8 @@ struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct VRCConfigValuesBuilder { typedef VRCConfigValues Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_legacy_mode(bool legacy_mode) { fbb_.AddElement(VRCConfigValues::VT_LEGACY_MODE, static_cast(legacy_mode), 0); } @@ -12099,19 +12160,19 @@ struct VRCConfigValuesBuilder { void add_shoulder_width_compensation(bool shoulder_width_compensation) { fbb_.AddElement(VRCConfigValues::VT_SHOULDER_WIDTH_COMPENSATION, static_cast(shoulder_width_compensation), 0); } - explicit VRCConfigValuesBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCConfigValuesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateVRCConfigValues( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateVRCConfigValues( + ::flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode = false, bool shoulder_tracking_disabled = false, float user_height = 0.0f, @@ -12134,7 +12195,7 @@ inline flatbuffers::Offset CreateVRCConfigValues( return builder_.Finish(); } -struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef VRCConfigRecommendedValuesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LEGACY_MODE = 4, @@ -12165,8 +12226,8 @@ struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private flatbuffers: solarxr_protocol::rpc::VRCTrackerModel tracker_model() const { return static_cast(GetField(VT_TRACKER_MODEL, 0)); } - const flatbuffers::Vector *spine_mode() const { - return GetPointer *>(VT_SPINE_MODE); + const ::flatbuffers::Vector *spine_mode() const { + return GetPointer *>(VT_SPINE_MODE); } solarxr_protocol::rpc::VRCAvatarMeasurementType avatar_measurement_type() const { return static_cast(GetField(VT_AVATAR_MEASUREMENT_TYPE, 0)); @@ -12174,7 +12235,7 @@ struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private flatbuffers: bool shoulder_width_compensation() const { return GetField(VT_SHOULDER_WIDTH_COMPENSATION, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_LEGACY_MODE, 1) && VerifyField(verifier, VT_SHOULDER_TRACKING_DISABLED, 1) && @@ -12192,8 +12253,8 @@ struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private flatbuffers: struct VRCConfigRecommendedValuesBuilder { typedef VRCConfigRecommendedValues Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_legacy_mode(bool legacy_mode) { fbb_.AddElement(VRCConfigRecommendedValues::VT_LEGACY_MODE, static_cast(legacy_mode), 0); } @@ -12212,7 +12273,7 @@ struct VRCConfigRecommendedValuesBuilder { void add_tracker_model(solarxr_protocol::rpc::VRCTrackerModel tracker_model) { fbb_.AddElement(VRCConfigRecommendedValues::VT_TRACKER_MODEL, static_cast(tracker_model), 0); } - void add_spine_mode(flatbuffers::Offset> spine_mode) { + void add_spine_mode(::flatbuffers::Offset<::flatbuffers::Vector> spine_mode) { fbb_.AddOffset(VRCConfigRecommendedValues::VT_SPINE_MODE, spine_mode); } void add_avatar_measurement_type(solarxr_protocol::rpc::VRCAvatarMeasurementType avatar_measurement_type) { @@ -12221,26 +12282,26 @@ struct VRCConfigRecommendedValuesBuilder { void add_shoulder_width_compensation(bool shoulder_width_compensation) { fbb_.AddElement(VRCConfigRecommendedValues::VT_SHOULDER_WIDTH_COMPENSATION, static_cast(shoulder_width_compensation), 0); } - explicit VRCConfigRecommendedValuesBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCConfigRecommendedValuesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateVRCConfigRecommendedValues( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateVRCConfigRecommendedValues( + ::flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode = false, bool shoulder_tracking_disabled = false, float user_height = 0.0f, float calibration_range = 0.0f, bool calibration_visuals = false, solarxr_protocol::rpc::VRCTrackerModel tracker_model = solarxr_protocol::rpc::VRCTrackerModel::UNKNOWN, - flatbuffers::Offset> spine_mode = 0, + ::flatbuffers::Offset<::flatbuffers::Vector> spine_mode = 0, solarxr_protocol::rpc::VRCAvatarMeasurementType avatar_measurement_type = solarxr_protocol::rpc::VRCAvatarMeasurementType::UNKNOWN, bool shoulder_width_compensation = false) { VRCConfigRecommendedValuesBuilder builder_(_fbb); @@ -12256,8 +12317,8 @@ inline flatbuffers::Offset CreateVRCConfigRecommende return builder_.Finish(); } -inline flatbuffers::Offset CreateVRCConfigRecommendedValuesDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateVRCConfigRecommendedValuesDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode = false, bool shoulder_tracking_disabled = false, float user_height = 0.0f, @@ -12281,9 +12342,9 @@ inline flatbuffers::Offset CreateVRCConfigRecommende shoulder_width_compensation); } -struct VRCConfigStateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct VRCConfigStateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef VRCConfigStateRequestBuilder Builder; - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -12291,28 +12352,28 @@ struct VRCConfigStateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl struct VRCConfigStateRequestBuilder { typedef VRCConfigStateRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - explicit VRCConfigStateRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + explicit VRCConfigStateRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateVRCConfigStateRequest( - flatbuffers::FlatBufferBuilder &_fbb) { +inline ::flatbuffers::Offset CreateVRCConfigStateRequest( + ::flatbuffers::FlatBufferBuilder &_fbb) { VRCConfigStateRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sent every time the vrchat config state gets updated /// used to display vrchat missconfig settings to the user -struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef VRCConfigStateChangeResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IS_SUPPORTED = 4, @@ -12333,6 +12394,7 @@ struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffer const solarxr_protocol::rpc::VRCConfigRecommendedValues *recommended() const { return GetPointer(VT_RECOMMENDED); } + bool Verify(::flatbuffers::Verifier &verifier) const { const flatbuffers::Vector> *muted() const { return GetPointer> *>(VT_MUTED); } @@ -12354,20 +12416,21 @@ struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffer struct VRCConfigStateChangeResponseBuilder { typedef VRCConfigStateChangeResponse Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_is_supported(bool is_supported) { fbb_.AddElement(VRCConfigStateChangeResponse::VT_IS_SUPPORTED, static_cast(is_supported), 0); } - void add_validity(flatbuffers::Offset validity) { + void add_validity(::flatbuffers::Offset validity) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_VALIDITY, validity); } - void add_state(flatbuffers::Offset state) { + void add_state(::flatbuffers::Offset state) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_STATE, state); } - void add_recommended(flatbuffers::Offset recommended) { + void add_recommended(::flatbuffers::Offset recommended) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_RECOMMENDED, recommended); } + explicit VRCConfigStateChangeResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_muted(flatbuffers::Offset>> muted) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_MUTED, muted); } @@ -12375,16 +12438,19 @@ struct VRCConfigStateChangeResponseBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateVRCConfigStateChangeResponse( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateVRCConfigStateChangeResponse( + ::flatbuffers::FlatBufferBuilder &_fbb, bool is_supported = false, + ::flatbuffers::Offset validity = 0, + ::flatbuffers::Offset state = 0, + ::flatbuffers::Offset recommended = 0) { flatbuffers::Offset validity = 0, flatbuffers::Offset state = 0, flatbuffers::Offset recommended = 0, @@ -12398,6 +12464,7 @@ inline flatbuffers::Offset CreateVRCConfigStateCha return builder_.Finish(); } +struct EnableStayAlignedRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { inline flatbuffers::Offset CreateVRCConfigStateChangeResponseDirect( flatbuffers::FlatBufferBuilder &_fbb, bool is_supported = false, @@ -13079,7 +13146,7 @@ struct EnableStayAlignedRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::T bool enable() const { return GetField(VT_ENABLE, 0) != 0; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLE, 1) && verifier.EndTable(); @@ -13088,31 +13155,31 @@ struct EnableStayAlignedRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::T struct EnableStayAlignedRequestBuilder { typedef EnableStayAlignedRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_enable(bool enable) { fbb_.AddElement(EnableStayAlignedRequest::VT_ENABLE, static_cast(enable), 0); } - explicit EnableStayAlignedRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit EnableStayAlignedRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateEnableStayAlignedRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateEnableStayAlignedRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, bool enable = false) { EnableStayAlignedRequestBuilder builder_(_fbb); builder_.add_enable(enable); return builder_.Finish(); } -struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef DetectStayAlignedRelaxedPoseRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_POSE = 4 @@ -13120,7 +13187,7 @@ struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private fla solarxr_protocol::rpc::StayAlignedRelaxedPose pose() const { return static_cast(GetField(VT_POSE, 0)); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_POSE, 1) && verifier.EndTable(); @@ -13129,31 +13196,31 @@ struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private fla struct DetectStayAlignedRelaxedPoseRequestBuilder { typedef DetectStayAlignedRelaxedPoseRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_pose(solarxr_protocol::rpc::StayAlignedRelaxedPose pose) { fbb_.AddElement(DetectStayAlignedRelaxedPoseRequest::VT_POSE, static_cast(pose), 0); } - explicit DetectStayAlignedRelaxedPoseRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit DetectStayAlignedRelaxedPoseRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateDetectStayAlignedRelaxedPoseRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateDetectStayAlignedRelaxedPoseRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::StayAlignedRelaxedPose pose = solarxr_protocol::rpc::StayAlignedRelaxedPose::STANDING) { DetectStayAlignedRelaxedPoseRequestBuilder builder_(_fbb); builder_.add_pose(pose); return builder_.Finish(); } -struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef ResetStayAlignedRelaxedPoseRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_POSE = 4 @@ -13161,7 +13228,7 @@ struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private flat solarxr_protocol::rpc::StayAlignedRelaxedPose pose() const { return static_cast(GetField(VT_POSE, 0)); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_POSE, 1) && verifier.EndTable(); @@ -13170,24 +13237,24 @@ struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private flat struct ResetStayAlignedRelaxedPoseRequestBuilder { typedef ResetStayAlignedRelaxedPoseRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_pose(solarxr_protocol::rpc::StayAlignedRelaxedPose pose) { fbb_.AddElement(ResetStayAlignedRelaxedPoseRequest::VT_POSE, static_cast(pose), 0); } - explicit ResetStayAlignedRelaxedPoseRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit ResetStayAlignedRelaxedPoseRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateResetStayAlignedRelaxedPoseRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateResetStayAlignedRelaxedPoseRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::StayAlignedRelaxedPose pose = solarxr_protocol::rpc::StayAlignedRelaxedPose::STANDING) { ResetStayAlignedRelaxedPoseRequestBuilder builder_(_fbb); builder_.add_pose(pose); @@ -13314,7 +13381,7 @@ namespace pub_sub { /// For example, "bob" may have an "overlay" app with a "settings" topic for controlling /// the overlay visibility and other settings, as well as a "video feed" topic for /// allowing other applications to display video data in a wrist mounted window in VR. -struct TopicId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TopicId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TopicIdBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ORGANIZATION = 4, @@ -13323,18 +13390,18 @@ struct TopicId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { }; /// The organization/developer that defines the meaning of this feature. Avoids name /// clashes. Should be something unique - same idea as java package identifier. - const flatbuffers::String *organization() const { - return GetPointer(VT_ORGANIZATION); + const ::flatbuffers::String *organization() const { + return GetPointer(VT_ORGANIZATION); } /// The name of the application/device. Should be unique within the organization. - const flatbuffers::String *app_name() const { - return GetPointer(VT_APP_NAME); + const ::flatbuffers::String *app_name() const { + return GetPointer(VT_APP_NAME); } /// The name of the topic. Should be unique within the application. - const flatbuffers::String *topic() const { - return GetPointer(VT_TOPIC); + const ::flatbuffers::String *topic() const { + return GetPointer(VT_TOPIC); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ORGANIZATION) && verifier.VerifyString(organization()) && @@ -13348,33 +13415,33 @@ struct TopicId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TopicIdBuilder { typedef TopicId Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_organization(flatbuffers::Offset organization) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_organization(::flatbuffers::Offset<::flatbuffers::String> organization) { fbb_.AddOffset(TopicId::VT_ORGANIZATION, organization); } - void add_app_name(flatbuffers::Offset app_name) { + void add_app_name(::flatbuffers::Offset<::flatbuffers::String> app_name) { fbb_.AddOffset(TopicId::VT_APP_NAME, app_name); } - void add_topic(flatbuffers::Offset topic) { + void add_topic(::flatbuffers::Offset<::flatbuffers::String> topic) { fbb_.AddOffset(TopicId::VT_TOPIC, topic); } - explicit TopicIdBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicIdBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTopicId( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset organization = 0, - flatbuffers::Offset app_name = 0, - flatbuffers::Offset topic = 0) { +inline ::flatbuffers::Offset CreateTopicId( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::String> organization = 0, + ::flatbuffers::Offset<::flatbuffers::String> app_name = 0, + ::flatbuffers::Offset<::flatbuffers::String> topic = 0) { TopicIdBuilder builder_(_fbb); builder_.add_topic(topic); builder_.add_app_name(app_name); @@ -13382,8 +13449,8 @@ inline flatbuffers::Offset CreateTopicId( return builder_.Finish(); } -inline flatbuffers::Offset CreateTopicIdDirect( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateTopicIdDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, const char *organization = nullptr, const char *app_name = nullptr, const char *topic = nullptr) { @@ -13399,7 +13466,7 @@ inline flatbuffers::Offset CreateTopicIdDirect( /// A handle for the topic, allows referencing a topic without sending a huge /// `TopicId`. -struct TopicHandle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TopicHandle FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TopicHandleBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4 @@ -13407,7 +13474,7 @@ struct TopicHandle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { uint16_t id() const { return GetField(VT_ID, 0); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 2) && verifier.EndTable(); @@ -13416,24 +13483,24 @@ struct TopicHandle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TopicHandleBuilder { typedef TopicHandle Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_id(uint16_t id) { fbb_.AddElement(TopicHandle::VT_ID, id, 0); } - explicit TopicHandleBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicHandleBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTopicHandle( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateTopicHandle( + ::flatbuffers::FlatBufferBuilder &_fbb, uint16_t id = 0) { TopicHandleBuilder builder_(_fbb); builder_.add_id(id); @@ -13441,7 +13508,7 @@ inline flatbuffers::Offset CreateTopicHandle( } /// Response for `TopicHandleRequest` or `SubscriptionRequest`. -struct TopicMapping FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TopicMapping FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TopicMappingBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4, @@ -13453,7 +13520,7 @@ struct TopicMapping FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::pub_sub::TopicHandle *handle() const { return GetPointer(VT_HANDLE); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ID) && verifier.VerifyTable(id()) && @@ -13465,29 +13532,29 @@ struct TopicMapping FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TopicMappingBuilder { typedef TopicMapping Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_id(flatbuffers::Offset id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_id(::flatbuffers::Offset id) { fbb_.AddOffset(TopicMapping::VT_ID, id); } - void add_handle(flatbuffers::Offset handle) { + void add_handle(::flatbuffers::Offset handle) { fbb_.AddOffset(TopicMapping::VT_HANDLE, handle); } - explicit TopicMappingBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicMappingBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTopicMapping( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset id = 0, - flatbuffers::Offset handle = 0) { +inline ::flatbuffers::Offset CreateTopicMapping( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset id = 0, + ::flatbuffers::Offset handle = 0) { TopicMappingBuilder builder_(_fbb); builder_.add_handle(handle); builder_.add_id(id); @@ -13496,7 +13563,7 @@ inline flatbuffers::Offset CreateTopicMapping( /// Request to get the `FeatureHandle` from a `FeatureId`. This is useful for reducing /// bandwidth, since `FeatureId` can be large. -struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef TopicHandleRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4 @@ -13504,7 +13571,7 @@ struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::pub_sub::TopicId *id() const { return GetPointer(VT_ID); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ID) && verifier.VerifyTable(id()) && @@ -13514,32 +13581,32 @@ struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct TopicHandleRequestBuilder { typedef TopicHandleRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_id(flatbuffers::Offset id) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_id(::flatbuffers::Offset id) { fbb_.AddOffset(TopicHandleRequest::VT_ID, id); } - explicit TopicHandleRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicHandleRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateTopicHandleRequest( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset id = 0) { +inline ::flatbuffers::Offset CreateTopicHandleRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset id = 0) { TopicHandleRequestBuilder builder_(_fbb); builder_.add_id(id); return builder_.Finish(); } /// Requests a subscription to `topic`. Replies with a `TopicMapping`. -struct SubscriptionRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct SubscriptionRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef SubscriptionRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TOPIC_TYPE = 4, @@ -13558,7 +13625,7 @@ struct SubscriptionRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table const solarxr_protocol::pub_sub::TopicId *topic_as_TopicId() const { return topic_type() == solarxr_protocol::pub_sub::Topic::TopicId ? static_cast(topic()) : nullptr; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TOPIC_TYPE, 1) && VerifyOffset(verifier, VT_TOPIC) && @@ -13577,36 +13644,36 @@ template<> inline const solarxr_protocol::pub_sub::TopicId *SubscriptionRequest: struct SubscriptionRequestBuilder { typedef SubscriptionRequest Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_topic_type(solarxr_protocol::pub_sub::Topic topic_type) { fbb_.AddElement(SubscriptionRequest::VT_TOPIC_TYPE, static_cast(topic_type), 0); } - void add_topic(flatbuffers::Offset topic) { + void add_topic(::flatbuffers::Offset topic) { fbb_.AddOffset(SubscriptionRequest::VT_TOPIC, topic); } - explicit SubscriptionRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit SubscriptionRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateSubscriptionRequest( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateSubscriptionRequest( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::pub_sub::Topic topic_type = solarxr_protocol::pub_sub::Topic::NONE, - flatbuffers::Offset topic = 0) { + ::flatbuffers::Offset topic = 0) { SubscriptionRequestBuilder builder_(_fbb); builder_.add_topic(topic); builder_.add_topic_type(topic_type); return builder_.Finish(); } -struct PubSubHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct PubSubHeader FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef PubSubHeaderBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_U_TYPE = 4, @@ -13631,7 +13698,7 @@ struct PubSubHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::pub_sub::TopicMapping *u_as_TopicMapping() const { return u_type() == solarxr_protocol::pub_sub::PubSubUnion::TopicMapping ? static_cast(u()) : nullptr; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_U_TYPE, 1) && VerifyOffset(verifier, VT_U) && @@ -13658,29 +13725,29 @@ template<> inline const solarxr_protocol::pub_sub::TopicMapping *PubSubHeader::u struct PubSubHeaderBuilder { typedef PubSubHeader Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_u_type(solarxr_protocol::pub_sub::PubSubUnion u_type) { fbb_.AddElement(PubSubHeader::VT_U_TYPE, static_cast(u_type), 0); } - void add_u(flatbuffers::Offset u) { + void add_u(::flatbuffers::Offset u) { fbb_.AddOffset(PubSubHeader::VT_U, u); } - explicit PubSubHeaderBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit PubSubHeaderBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreatePubSubHeader( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreatePubSubHeader( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::pub_sub::PubSubUnion u_type = solarxr_protocol::pub_sub::PubSubUnion::NONE, - flatbuffers::Offset u = 0) { + ::flatbuffers::Offset u = 0) { PubSubHeaderBuilder builder_(_fbb); builder_.add_u(u); builder_.add_u_type(u_type); @@ -13688,7 +13755,7 @@ inline flatbuffers::Offset CreatePubSubHeader( } /// Data that is sent from publishers to subscribers -struct Message FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct Message FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef MessageBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TOPIC_TYPE = 4, @@ -13725,7 +13792,7 @@ struct Message FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::pub_sub::KeyValues *payload_as_KeyValues() const { return payload_type() == solarxr_protocol::pub_sub::Payload::KeyValues ? static_cast(payload()) : nullptr; } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TOPIC_TYPE, 1) && VerifyOffset(verifier, VT_TOPIC) && @@ -13759,37 +13826,37 @@ template<> inline const solarxr_protocol::pub_sub::KeyValues *Message::payload_a struct MessageBuilder { typedef Message Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; void add_topic_type(solarxr_protocol::pub_sub::Topic topic_type) { fbb_.AddElement(Message::VT_TOPIC_TYPE, static_cast(topic_type), 0); } - void add_topic(flatbuffers::Offset topic) { + void add_topic(::flatbuffers::Offset topic) { fbb_.AddOffset(Message::VT_TOPIC, topic); } void add_payload_type(solarxr_protocol::pub_sub::Payload payload_type) { fbb_.AddElement(Message::VT_PAYLOAD_TYPE, static_cast(payload_type), 0); } - void add_payload(flatbuffers::Offset payload) { + void add_payload(::flatbuffers::Offset payload) { fbb_.AddOffset(Message::VT_PAYLOAD, payload); } - explicit MessageBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit MessageBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateMessage( - flatbuffers::FlatBufferBuilder &_fbb, +inline ::flatbuffers::Offset CreateMessage( + ::flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::pub_sub::Topic topic_type = solarxr_protocol::pub_sub::Topic::NONE, - flatbuffers::Offset topic = 0, + ::flatbuffers::Offset topic = 0, solarxr_protocol::pub_sub::Payload payload_type = solarxr_protocol::pub_sub::Payload::NONE, - flatbuffers::Offset payload = 0) { + ::flatbuffers::Offset payload = 0) { MessageBuilder builder_(_fbb); builder_.add_payload(payload); builder_.add_topic(topic); @@ -13798,19 +13865,19 @@ inline flatbuffers::Offset CreateMessage( return builder_.Finish(); } -struct KeyValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct KeyValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef KeyValuesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_KEYS = 4, VT_VALUES = 6 }; - const flatbuffers::Vector> *keys() const { - return GetPointer> *>(VT_KEYS); + const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *keys() const { + return GetPointer> *>(VT_KEYS); } - const flatbuffers::Vector> *values() const { - return GetPointer> *>(VT_VALUES); + const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *values() const { + return GetPointer> *>(VT_VALUES); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_KEYS) && verifier.VerifyVector(keys()) && @@ -13824,41 +13891,41 @@ struct KeyValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct KeyValuesBuilder { typedef KeyValues Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_keys(flatbuffers::Offset>> keys) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_keys(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> keys) { fbb_.AddOffset(KeyValues::VT_KEYS, keys); } - void add_values(flatbuffers::Offset>> values) { + void add_values(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> values) { fbb_.AddOffset(KeyValues::VT_VALUES, values); } - explicit KeyValuesBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit KeyValuesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateKeyValues( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> keys = 0, - flatbuffers::Offset>> values = 0) { +inline ::flatbuffers::Offset CreateKeyValues( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> keys = 0, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> values = 0) { KeyValuesBuilder builder_(_fbb); builder_.add_values(values); builder_.add_keys(keys); return builder_.Finish(); } -inline flatbuffers::Offset CreateKeyValuesDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *keys = nullptr, - const std::vector> *values = nullptr) { - auto keys__ = keys ? _fbb.CreateVector>(*keys) : 0; - auto values__ = values ? _fbb.CreateVector>(*values) : 0; +inline ::flatbuffers::Offset CreateKeyValuesDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *keys = nullptr, + const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *values = nullptr) { + auto keys__ = keys ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*keys) : 0; + auto values__ = values ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*values) : 0; return solarxr_protocol::pub_sub::CreateKeyValues( _fbb, keys__, @@ -13869,23 +13936,23 @@ inline flatbuffers::Offset CreateKeyValuesDirect( /// MessageBundle contains all of the messages for the data feed system and the /// rpc system that will be sent in one buffer. -struct MessageBundle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { +struct MessageBundle FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { typedef MessageBundleBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DATA_FEED_MSGS = 4, VT_RPC_MSGS = 6, VT_PUB_SUB_MSGS = 8 }; - const flatbuffers::Vector> *data_feed_msgs() const { - return GetPointer> *>(VT_DATA_FEED_MSGS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *data_feed_msgs() const { + return GetPointer> *>(VT_DATA_FEED_MSGS); } - const flatbuffers::Vector> *rpc_msgs() const { - return GetPointer> *>(VT_RPC_MSGS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *rpc_msgs() const { + return GetPointer> *>(VT_RPC_MSGS); } - const flatbuffers::Vector> *pub_sub_msgs() const { - return GetPointer> *>(VT_PUB_SUB_MSGS); + const ::flatbuffers::Vector<::flatbuffers::Offset> *pub_sub_msgs() const { + return GetPointer> *>(VT_PUB_SUB_MSGS); } - bool Verify(flatbuffers::Verifier &verifier) const { + bool Verify(::flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DATA_FEED_MSGS) && verifier.VerifyVector(data_feed_msgs()) && @@ -13902,33 +13969,33 @@ struct MessageBundle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct MessageBundleBuilder { typedef MessageBundle Table; - flatbuffers::FlatBufferBuilder &fbb_; - flatbuffers::uoffset_t start_; - void add_data_feed_msgs(flatbuffers::Offset>> data_feed_msgs) { + ::flatbuffers::FlatBufferBuilder &fbb_; + ::flatbuffers::uoffset_t start_; + void add_data_feed_msgs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feed_msgs) { fbb_.AddOffset(MessageBundle::VT_DATA_FEED_MSGS, data_feed_msgs); } - void add_rpc_msgs(flatbuffers::Offset>> rpc_msgs) { + void add_rpc_msgs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rpc_msgs) { fbb_.AddOffset(MessageBundle::VT_RPC_MSGS, rpc_msgs); } - void add_pub_sub_msgs(flatbuffers::Offset>> pub_sub_msgs) { + void add_pub_sub_msgs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> pub_sub_msgs) { fbb_.AddOffset(MessageBundle::VT_PUB_SUB_MSGS, pub_sub_msgs); } - explicit MessageBundleBuilder(flatbuffers::FlatBufferBuilder &_fbb) + explicit MessageBundleBuilder(::flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - flatbuffers::Offset Finish() { + ::flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = flatbuffers::Offset(end); + auto o = ::flatbuffers::Offset(end); return o; } }; -inline flatbuffers::Offset CreateMessageBundle( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> data_feed_msgs = 0, - flatbuffers::Offset>> rpc_msgs = 0, - flatbuffers::Offset>> pub_sub_msgs = 0) { +inline ::flatbuffers::Offset CreateMessageBundle( + ::flatbuffers::FlatBufferBuilder &_fbb, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feed_msgs = 0, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rpc_msgs = 0, + ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> pub_sub_msgs = 0) { MessageBundleBuilder builder_(_fbb); builder_.add_pub_sub_msgs(pub_sub_msgs); builder_.add_rpc_msgs(rpc_msgs); @@ -13936,14 +14003,14 @@ inline flatbuffers::Offset CreateMessageBundle( return builder_.Finish(); } -inline flatbuffers::Offset CreateMessageBundleDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *data_feed_msgs = nullptr, - const std::vector> *rpc_msgs = nullptr, - const std::vector> *pub_sub_msgs = nullptr) { - auto data_feed_msgs__ = data_feed_msgs ? _fbb.CreateVector>(*data_feed_msgs) : 0; - auto rpc_msgs__ = rpc_msgs ? _fbb.CreateVector>(*rpc_msgs) : 0; - auto pub_sub_msgs__ = pub_sub_msgs ? _fbb.CreateVector>(*pub_sub_msgs) : 0; +inline ::flatbuffers::Offset CreateMessageBundleDirect( + ::flatbuffers::FlatBufferBuilder &_fbb, + const std::vector<::flatbuffers::Offset> *data_feed_msgs = nullptr, + const std::vector<::flatbuffers::Offset> *rpc_msgs = nullptr, + const std::vector<::flatbuffers::Offset> *pub_sub_msgs = nullptr) { + auto data_feed_msgs__ = data_feed_msgs ? _fbb.CreateVector<::flatbuffers::Offset>(*data_feed_msgs) : 0; + auto rpc_msgs__ = rpc_msgs ? _fbb.CreateVector<::flatbuffers::Offset>(*rpc_msgs) : 0; + auto pub_sub_msgs__ = pub_sub_msgs ? _fbb.CreateVector<::flatbuffers::Offset>(*pub_sub_msgs) : 0; return solarxr_protocol::CreateMessageBundle( _fbb, data_feed_msgs__, @@ -13990,7 +14057,7 @@ namespace pub_sub { namespace data_feed { -inline bool VerifyDataFeedMessage(flatbuffers::Verifier &verifier, const void *obj, DataFeedMessage type) { +inline bool VerifyDataFeedMessage(::flatbuffers::Verifier &verifier, const void *obj, DataFeedMessage type) { switch (type) { case DataFeedMessage::NONE: { return true; @@ -14015,10 +14082,10 @@ inline bool VerifyDataFeedMessage(flatbuffers::Verifier &verifier, const void *o } } -inline bool VerifyDataFeedMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyDataFeedMessageVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyDataFeedMessage( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14031,7 +14098,7 @@ inline bool VerifyDataFeedMessageVector(flatbuffers::Verifier &verifier, const f namespace rpc { -inline bool VerifyRpcMessage(flatbuffers::Verifier &verifier, const void *obj, RpcMessage type) { +inline bool VerifyRpcMessage(::flatbuffers::Verifier &verifier, const void *obj, RpcMessage type) { switch (type) { case RpcMessage::NONE: { return true; @@ -14352,10 +14419,10 @@ inline bool VerifyRpcMessage(flatbuffers::Verifier &verifier, const void *obj, R } } -inline bool VerifyRpcMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyRpcMessageVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyRpcMessage( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14364,7 +14431,7 @@ inline bool VerifyRpcMessageVector(flatbuffers::Verifier &verifier, const flatbu return true; } -inline bool VerifyStatusData(flatbuffers::Verifier &verifier, const void *obj, StatusData type) { +inline bool VerifyStatusData(::flatbuffers::Verifier &verifier, const void *obj, StatusData type) { switch (type) { case StatusData::NONE: { return true; @@ -14393,10 +14460,10 @@ inline bool VerifyStatusData(flatbuffers::Verifier &verifier, const void *obj, S } } -inline bool VerifyStatusDataVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyStatusDataVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyStatusData( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14405,7 +14472,7 @@ inline bool VerifyStatusDataVector(flatbuffers::Verifier &verifier, const flatbu return true; } -inline bool VerifyFirmwareUpdateDeviceId(flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateDeviceId type) { +inline bool VerifyFirmwareUpdateDeviceId(::flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateDeviceId type) { switch (type) { case FirmwareUpdateDeviceId::NONE: { return true; @@ -14422,10 +14489,10 @@ inline bool VerifyFirmwareUpdateDeviceId(flatbuffers::Verifier &verifier, const } } -inline bool VerifyFirmwareUpdateDeviceIdVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyFirmwareUpdateDeviceIdVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyFirmwareUpdateDeviceId( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14434,7 +14501,7 @@ inline bool VerifyFirmwareUpdateDeviceIdVector(flatbuffers::Verifier &verifier, return true; } -inline bool VerifyFirmwareUpdateMethod(flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateMethod type) { +inline bool VerifyFirmwareUpdateMethod(::flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateMethod type) { switch (type) { case FirmwareUpdateMethod::NONE: { return true; @@ -14451,10 +14518,10 @@ inline bool VerifyFirmwareUpdateMethod(flatbuffers::Verifier &verifier, const vo } } -inline bool VerifyFirmwareUpdateMethodVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyFirmwareUpdateMethodVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyFirmwareUpdateMethod( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14512,7 +14579,7 @@ inline bool VerifyTrackingChecklistExtraDataVector(flatbuffers::Verifier &verifi namespace pub_sub { -inline bool VerifyTopic(flatbuffers::Verifier &verifier, const void *obj, Topic type) { +inline bool VerifyTopic(::flatbuffers::Verifier &verifier, const void *obj, Topic type) { switch (type) { case Topic::NONE: { return true; @@ -14529,10 +14596,10 @@ inline bool VerifyTopic(flatbuffers::Verifier &verifier, const void *obj, Topic } } -inline bool VerifyTopicVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyTopicVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyTopic( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14541,7 +14608,7 @@ inline bool VerifyTopicVector(flatbuffers::Verifier &verifier, const flatbuffers return true; } -inline bool VerifyPubSubUnion(flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type) { +inline bool VerifyPubSubUnion(::flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type) { switch (type) { case PubSubUnion::NONE: { return true; @@ -14566,10 +14633,10 @@ inline bool VerifyPubSubUnion(flatbuffers::Verifier &verifier, const void *obj, } } -inline bool VerifyPubSubUnionVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyPubSubUnionVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyPubSubUnion( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14578,7 +14645,7 @@ inline bool VerifyPubSubUnionVector(flatbuffers::Verifier &verifier, const flatb return true; } -inline bool VerifyPayload(flatbuffers::Verifier &verifier, const void *obj, Payload type) { +inline bool VerifyPayload(::flatbuffers::Verifier &verifier, const void *obj, Payload type) { switch (type) { case Payload::NONE: { return true; @@ -14599,10 +14666,10 @@ inline bool VerifyPayload(flatbuffers::Verifier &verifier, const void *obj, Payl } } -inline bool VerifyPayloadVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { +inline bool VerifyPayloadVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyPayload( verifier, values->Get(i), types->GetEnum(i))) { return false; diff --git a/protocol/java/gradle/wrapper/gradle-wrapper.jar b/protocol/java/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..41d9927a4d4fb3f96a785543079b8df6723c946b GIT binary patch literal 59821 zcma&NV|1p`(k7gaZQHhOJ9%QKV?D8LCmq{1JGRYE(y=?XJw0>InKkE~^UnAEs2gk5 zUVGPCwX3dOb!}xiFmPB95NK!+5D<~S0s;d1zn&lrfAn7 zC?Nb-LFlib|DTEqB8oDS5&$(u1<5;wsY!V`2F7^=IR@I9so5q~=3i_(hqqG<9SbL8Q(LqDrz+aNtGYWGJ2;p*{a-^;C>BfGzkz_@fPsK8{pTT~_VzB$E`P@> z7+V1WF2+tSW=`ZRj3&0m&d#x_lfXq`bb-Y-SC-O{dkN2EVM7@!n|{s+2=xSEMtW7( zz~A!cBpDMpQu{FP=y;sO4Le}Z)I$wuFwpugEY3vEGfVAHGqZ-<{vaMv-5_^uO%a{n zE_Zw46^M|0*dZ`;t%^3C19hr=8FvVdDp1>SY>KvG!UfD`O_@weQH~;~W=fXK_!Yc> z`EY^PDJ&C&7LC;CgQJeXH2 zjfM}2(1i5Syj)Jj4EaRyiIl#@&lC5xD{8hS4Wko7>J)6AYPC-(ROpVE-;|Z&u(o=X z2j!*>XJ|>Lo+8T?PQm;SH_St1wxQPz)b)Z^C(KDEN$|-6{A>P7r4J1R-=R7|FX*@! zmA{Ja?XE;AvisJy6;cr9Q5ovphdXR{gE_7EF`ji;n|RokAJ30Zo5;|v!xtJr+}qbW zY!NI6_Wk#6pWFX~t$rAUWi?bAOv-oL6N#1>C~S|7_e4 zF}b9(&a*gHk+4@J26&xpiWYf2HN>P;4p|TD4f586umA2t@cO1=Fx+qd@1Ae#Le>{-?m!PnbuF->g3u)7(n^llJfVI%Q2rMvetfV5 z6g|sGf}pV)3_`$QiKQnqQ<&ghOWz4_{`rA1+7*M0X{y(+?$|{n zs;FEW>YzUWg{sO*+D2l6&qd+$JJP_1Tm;To<@ZE%5iug8vCN3yH{!6u5Hm=#3HJ6J zmS(4nG@PI^7l6AW+cWAo9sFmE`VRcM`sP7X$^vQY(NBqBYU8B|n-PrZdNv8?K?kUTT3|IE`-A8V*eEM2=u*kDhhKsmVPWGns z8QvBk=BPjvu!QLtlF0qW(k+4i+?H&L*qf262G#fks9}D5-L{yiaD10~a;-j!p!>5K zl@Lh+(9D{ePo_S4F&QXv|q_yT`GIPEWNHDD8KEcF*2DdZD;=J6u z|8ICSoT~5Wd!>g%2ovFh`!lTZhAwpIbtchDc{$N%<~e$E<7GWsD42UdJh1fD($89f2on`W`9XZJmr*7lRjAA8K0!(t8-u>2H*xn5cy1EG{J;w;Q-H8Yyx+WW(qoZZM7p(KQx^2-yI6Sw?k<=lVOVwYn zY*eDm%~=|`c{tUupZ^oNwIr!o9T;H3Fr|>NE#By8SvHb&#;cyBmY1LwdXqZwi;qn8 zK+&z{{95(SOPXAl%EdJ3jC5yV^|^}nOT@M0)|$iOcq8G{#*OH7=DlfOb; z#tRO#tcrc*yQB5!{l5AF3(U4>e}nEvkoE_XCX=a3&A6Atwnr&`r&f2d%lDr8f?hBB zr1dKNypE$CFbT9I?n){q<1zHmY>C=5>9_phi79pLJG)f=#dKdQ7We8emMjwR*qIMF zE_P-T*$hX#FUa%bjv4Vm=;oxxv`B*`weqUn}K=^TXjJG=UxdFMSj-QV6fu~;- z|IsUq`#|73M%Yn;VHJUbt<0UHRzbaF{X@76=8*-IRx~bYgSf*H(t?KH=?D@wk*E{| z2@U%jKlmf~C^YxD=|&H?(g~R9-jzEb^y|N5d`p#2-@?BUcHys({pUz4Zto7XwKq2X zSB~|KQGgv_Mh@M!*{nl~2~VV_te&E7K39|WYH zCxfd|v_4!h$Ps2@atm+gj14Ru)DhivY&(e_`eA)!O1>nkGq|F-#-6oo5|XKEfF4hR z%{U%ar7Z8~B!foCd_VRHr;Z1c0Et~y8>ZyVVo9>LLi(qb^bxVkbq-Jq9IF7!FT`(- zTMrf6I*|SIznJLRtlP)_7tQ>J`Um>@pP=TSfaPB(bto$G1C zx#z0$=zNpP-~R);kM4O)9Mqn@5Myv5MmmXOJln312kq#_94)bpSd%fcEo7cD#&|<` zrcal$(1Xv(nDEquG#`{&9Ci~W)-zd_HbH-@2F6+|a4v}P!w!Q*h$#Zu+EcZeY>u&?hn#DCfC zVuye5@Ygr+T)0O2R1*Hvlt>%rez)P2wS}N-i{~IQItGZkp&aeY^;>^m7JT|O^{`78 z$KaK0quwcajja;LU%N|{`2o&QH@u%jtH+j!haGj;*ZCR*`UgOXWE>qpXqHc?g&vA& zt-?_g8k%ZS|D;()0Lf!>7KzTSo-8hUh%OA~i76HKRLudaNiwo*E9HxmzN4y>YpZNO zUE%Q|H_R_UmX=*f=2g=xyP)l-DP}kB@PX|(Ye$NOGN{h+fI6HVw`~Cd0cKqO;s6aiYLy7sl~%gs`~XaL z^KrZ9QeRA{O*#iNmB7_P!=*^pZiJ5O@iE&X2UmUCPz!)`2G3)5;H?d~3#P|)O(OQ_ zua+ZzwWGkWflk4j^Lb=x56M75_p9M*Q50#(+!aT01y80x#rs9##!;b-BH?2Fu&vx} za%4!~GAEDsB54X9wCF~juV@aU}fp_(a<`Ig0Pip8IjpRe#BR?-niYcz@jI+QY zBU9!8dAfq@%p;FX)X=E7?B=qJJNXlJ&7FBsz;4&|*z{^kEE!XbA)(G_O6I9GVzMAF z8)+Un(6od`W7O!!M=0Z)AJuNyN8q>jNaOdC-zAZ31$Iq%{c_SYZe+(~_R`a@ zOFiE*&*o5XG;~UjsuW*ja-0}}rJdd@^VnQD!z2O~+k-OSF%?hqcFPa4e{mV1UOY#J zTf!PM=KMNAzbf(+|AL%K~$ahX0Ol zbAxKu3;v#P{Qia{_WzHl`!@!8c#62XSegM{tW1nu?Ee{sQq(t{0TSq67YfG;KrZ$n z*$S-+R2G?aa*6kRiTvVxqgUhJ{ASSgtepG3hb<3hlM|r>Hr~v_DQ>|Nc%&)r0A9go z&F3Ao!PWKVq~aWOzLQIy&R*xo>}{UTr}?`)KS&2$3NR@a+>+hqK*6r6Uu-H};ZG^| zfq_Vl%YE1*uGwtJ>H*Y(Q9E6kOfLJRlrDNv`N;jnag&f<4#UErM0ECf$8DASxMFF& zK=mZgu)xBz6lXJ~WZR7OYw;4&?v3Kk-QTs;v1r%XhgzSWVf|`Sre2XGdJb}l1!a~z zP92YjnfI7OnF@4~g*LF>G9IZ5c+tifpcm6#m)+BmnZ1kz+pM8iUhwag`_gqr(bnpy zl-noA2L@2+?*7`ZO{P7&UL~ahldjl`r3=HIdo~Hq#d+&Q;)LHZ4&5zuDNug@9-uk; z<2&m#0Um`s=B}_}9s&70Tv_~Va@WJ$n~s`7tVxi^s&_nPI0`QX=JnItlOu*Tn;T@> zXsVNAHd&K?*u~a@u8MWX17VaWuE0=6B93P2IQ{S$-WmT+Yp!9eA>@n~=s>?uDQ4*X zC(SxlKap@0R^z1p9C(VKM>nX8-|84nvIQJ-;9ei0qs{}X>?f%&E#%-)Bpv_p;s4R+ z;PMpG5*rvN&l;i{^~&wKnEhT!S!LQ>udPzta#Hc9)S8EUHK=%x+z@iq!O{)*XM}aI zBJE)vokFFXTeG<2Pq}5Na+kKnu?Ch|YoxdPb&Z{07nq!yzj0=xjzZj@3XvwLF0}Pa zn;x^HW504NNfLY~w!}5>`z=e{nzGB>t4ntE>R}r7*hJF3OoEx}&6LvZz4``m{AZxC zz6V+^73YbuY>6i9ulu)2`ozP(XBY5n$!kiAE_Vf4}Ih)tlOjgF3HW|DF+q-jI_0p%6Voc^e;g28* z;Sr4X{n(X7eEnACWRGNsHqQ_OfWhAHwnSQ87@PvPcpa!xr9`9+{QRn;bh^jgO8q@v zLekO@-cdc&eOKsvXs-eMCH8Y{*~3Iy!+CANy+(WXYS&6XB$&1+tB?!qcL@@) zS7XQ|5=o1fr8yM7r1AyAD~c@Mo`^i~hjx{N17%pDX?j@2bdBEbxY}YZxz!h#)q^1x zpc_RnoC3`V?L|G2R1QbR6pI{Am?yW?4Gy`G-xBYfebXvZ=(nTD7u?OEw>;vQICdPJBmi~;xhVV zisVvnE!bxI5|@IIlDRolo_^tc1{m)XTbIX^<{TQfsUA1Wv(KjJED^nj`r!JjEA%MaEGqPB z9YVt~ol3%e`PaqjZt&-)Fl^NeGmZ)nbL;92cOeLM2H*r-zA@d->H5T_8_;Jut0Q_G zBM2((-VHy2&eNkztIpHk&1H3M3@&wvvU9+$RO%fSEa_d5-qZ!<`-5?L9lQ1@AEpo* z3}Zz~R6&^i9KfRM8WGc6fTFD%PGdruE}`X$tP_*A)_7(uI5{k|LYc-WY*%GJ6JMmw zNBT%^E#IhekpA(i zcB$!EB}#>{^=G%rQ~2;gbObT9PQ{~aVx_W6?(j@)S$&Ja1s}aLT%A*mP}NiG5G93- z_DaRGP77PzLv0s32{UFm##C2LsU!w{vHdKTM1X)}W%OyZ&{3d^2Zu-zw?fT=+zi*q z^fu6CXQ!i?=ljsqSUzw>g#PMk>(^#ejrYp(C)7+@Z1=Mw$Rw!l8c9}+$Uz;9NUO(kCd#A1DX4Lbis0k; z?~pO(;@I6Ajp}PL;&`3+;OVkr3A^dQ(j?`by@A!qQam@_5(w6fG>PvhO`#P(y~2ue zW1BH_GqUY&>PggMhhi@8kAY;XWmj>y1M@c`0v+l~l0&~Kd8ZSg5#46wTLPo*Aom-5 z>qRXyWl}Yda=e@hJ%`x=?I42(B0lRiR~w>n6p8SHN~B6Y>W(MOxLpv>aB)E<1oEcw z%X;#DJpeDaD;CJRLX%u!t23F|cv0ZaE183LXxMq*uWn)cD_ zp!@i5zsmcxb!5uhp^@>U;K>$B|8U@3$65CmhuLlZ2(lF#hHq-<<+7ZN9m3-hFAPgA zKi;jMBa*59ficc#TRbH_l`2r>z(Bm_XEY}rAwyp~c8L>{A<0@Q)j*uXns^q5z~>KI z)43=nMhcU1ZaF;CaBo>hl6;@(2#9yXZ7_BwS4u>gN%SBS<;j{{+p}tbD8y_DFu1#0 zx)h&?`_`=ti_6L>VDH3>PPAc@?wg=Omdoip5j-2{$T;E9m)o2noyFW$5dXb{9CZ?c z);zf3U526r3Fl+{82!z)aHkZV6GM@%OKJB5mS~JcDjieFaVn}}M5rtPnHQVw0Stn- zEHs_gqfT8(0b-5ZCk1%1{QQaY3%b>wU z7lyE?lYGuPmB6jnMI6s$1uxN{Tf_n7H~nKu+h7=%60WK-C&kEIq_d4`wU(*~rJsW< zo^D$-(b0~uNVgC+$J3MUK)(>6*k?92mLgpod{Pd?{os+yHr&t+9ZgM*9;dCQBzE!V zk6e6)9U6Bq$^_`E1xd}d;5O8^6?@bK>QB&7l{vAy^P6FOEO^l7wK4K=lLA45gQ3$X z=$N{GR1{cxO)j;ZxKI*1kZIT9p>%FhoFbRK;M(m&bL?SaN zzkZS9xMf={o@gpG%wE857u@9dq>UKvbaM1SNtMA9EFOp7$BjJQVkIm$wU?-yOOs{i z1^(E(WwZZG{_#aIzfpGc@g5-AtK^?Q&vY#CtVpfLbW?g0{BEX4Vlk(`AO1{-D@31J zce}#=$?Gq+FZG-SD^z)-;wQg9`qEO}Dvo+S9*PUB*JcU)@S;UVIpN7rOqXmEIerWo zP_lk!@RQvyds&zF$Rt>N#_=!?5{XI`Dbo0<@>fIVgcU*9Y+ z)}K(Y&fdgve3ruT{WCNs$XtParmvV;rjr&R(V&_#?ob1LzO0RW3?8_kSw)bjom#0; zeNllfz(HlOJw012B}rgCUF5o|Xp#HLC~of%lg+!pr(g^n;wCX@Yk~SQOss!j9f(KL zDiI1h#k{po=Irl)8N*KU*6*n)A8&i9Wf#7;HUR^5*6+Bzh;I*1cICa|`&`e{pgrdc zs}ita0AXb$c6{tu&hxmT0faMG0GFc)unG8tssRJd%&?^62!_h_kn^HU_kBgp$bSew zqu)M3jTn;)tipv9Wt4Ll#1bmO2n?^)t^ZPxjveoOuK89$oy4(8Ujw{nd*Rs*<+xFi z{k*9v%sl?wS{aBSMMWdazhs0#gX9Has=pi?DhG&_0|cIyRG7c`OBiVG6W#JjYf7-n zIQU*Jc+SYnI8oG^Q8So9SP_-w;Y00$p5+LZ{l+81>v7|qa#Cn->312n=YQd$PaVz8 zL*s?ZU*t-RxoR~4I7e^c!8TA4g>w@R5F4JnEWJpy>|m5la2b#F4d*uoz!m=i1;`L` zB(f>1fAd~;*wf%GEbE8`EA>IO9o6TdgbIC%+en!}(C5PGYqS0{pa?PD)5?ds=j9{w za9^@WBXMZ|D&(yfc~)tnrDd#*;u;0?8=lh4%b-lFPR3ItwVJp};HMdEw#SXg>f-zU zEiaj5H=jzRSy(sWVd%hnLZE{SUj~$xk&TfheSch#23)YTcjrB+IVe0jJqsdz__n{- zC~7L`DG}-Dgrinzf7Jr)e&^tdQ}8v7F+~eF*<`~Vph=MIB|YxNEtLo1jXt#9#UG5` zQ$OSk`u!US+Z!=>dGL>%i#uV<5*F?pivBH@@1idFrzVAzttp5~>Y?D0LV;8Yv`wAa{hewVjlhhBM z_mJhU9yWz9Jexg@G~dq6EW5^nDXe(sU^5{}qbd0*yW2Xq6G37f8{{X&Z>G~dUGDFu zgmsDDZZ5ZmtiBw58CERFPrEG>*)*`_B75!MDsOoK`T1aJ4GZ1avI?Z3OX|Hg?P(xy zSPgO$alKZuXd=pHP6UZy0G>#BFm(np+dekv0l6gd=36FijlT8^kI5; zw?Z*FPsibF2d9T$_L@uX9iw*>y_w9HSh8c=Rm}f>%W+8OS=Hj_wsH-^actull3c@!z@R4NQ4qpytnwMaY z)>!;FUeY?h2N9tD(othc7Q=(dF zZAX&Y1ac1~0n(z}!9{J2kPPnru1?qteJPvA2m!@3Zh%+f1VQt~@leK^$&ZudOpS!+ zw#L0usf!?Df1tB?9=zPZ@q2sG!A#9 zKZL`2cs%|Jf}wG=_rJkwh|5Idb;&}z)JQuMVCZSH9kkG%zvQO01wBN)c4Q`*xnto3 zi7TscilQ>t_SLij{@Fepen*a(`upw#RJAx|JYYXvP1v8f)dTHv9pc3ZUwx!0tOH?c z^Hn=gfjUyo!;+3vZhxNE?LJgP`qYJ`J)umMXT@b z{nU(a^xFfofcxfHN-!Jn*{Dp5NZ&i9#9r{)s^lUFCzs5LQL9~HgxvmU#W|iNs0<3O z%Y2FEgvts4t({%lfX1uJ$w{JwfpV|HsO{ZDl2|Q$-Q?UJd`@SLBsMKGjFFrJ(s?t^ z2Llf`deAe@YaGJf)k2e&ryg*m8R|pcjct@rOXa=64#V9!sp=6tC#~QvYh&M~zmJ;% zr*A}V)Ka^3JE!1pcF5G}b&jdrt;bM^+J;G^#R08x@{|ZWy|547&L|k6)HLG|sN<~o z?y`%kbfRN_vc}pwS!Zr}*q6DG7;be0qmxn)eOcD%s3Wk`=@GM>U3ojhAW&WRppi0e zudTj{ufwO~H7izZJmLJD3uPHtjAJvo6H=)&SJ_2%qRRECN#HEU_RGa(Pefk*HIvOH zW7{=Tt(Q(LZ6&WX_Z9vpen}jqge|wCCaLYpiw@f_%9+-!l{kYi&gT@Cj#D*&rz1%e z@*b1W13bN8^j7IpAi$>`_0c!aVzLe*01DY-AcvwE;kW}=Z{3RJLR|O~^iOS(dNEnL zJJ?Dv^ab++s2v!4Oa_WFDLc4fMspglkh;+vzg)4;LS{%CR*>VwyP4>1Tly+!fA-k? z6$bg!*>wKtg!qGO6GQ=cAmM_RC&hKg$~(m2LdP{{*M+*OVf07P$OHp*4SSj9H;)1p z^b1_4p4@C;8G7cBCB6XC{i@vTB3#55iRBZiml^jc4sYnepCKUD+~k}TiuA;HWC6V3 zV{L5uUAU9CdoU+qsFszEwp;@d^!6XnX~KI|!o|=r?qhs`(-Y{GfO4^d6?8BC0xonf zKtZc1C@dNu$~+p#m%JW*J7alfz^$x`U~)1{c7svkIgQ3~RK2LZ5;2TAx=H<4AjC8{ z;)}8OfkZy7pSzVsdX|wzLe=SLg$W1+`Isf=o&}npxWdVR(i8Rr{uzE516a@28VhVr zVgZ3L&X(Q}J0R2{V(}bbNwCDD5K)<5h9CLM*~!xmGTl{Mq$@;~+|U*O#nc^oHnFOy z9Kz%AS*=iTBY_bSZAAY6wXCI?EaE>8^}WF@|}O@I#i69ljjWQPBJVk zQ_rt#J56_wGXiyItvAShJpLEMtW_)V5JZAuK#BAp6bV3K;IkS zK0AL(3ia99!vUPL#j>?<>mA~Q!mC@F-9I$9Z!96ZCSJO8FDz1SP3gF~m`1c#y!efq8QN}eHd+BHwtm%M5586jlU8&e!CmOC z^N_{YV$1`II$~cTxt*dV{-yp61nUuX5z?N8GNBuZZR}Uy_Y3_~@Y3db#~-&0TX644OuG^D3w_`?Yci{gTaPWST8`LdE)HK5OYv>a=6B%R zw|}>ngvSTE1rh`#1Rey0?LXTq;bCIy>TKm^CTV4BCSqdpx1pzC3^ca*S3fUBbKMzF z6X%OSdtt50)yJw*V_HE`hnBA)1yVN3Ruq3l@lY;%Bu+Q&hYLf_Z@fCUVQY-h4M3)- zE_G|moU)Ne0TMjhg?tscN7#ME6!Rb+y#Kd&-`!9gZ06o3I-VX1d4b1O=bpRG-tDK0 zSEa9y46s7QI%LmhbU3P`RO?w#FDM(}k8T`&>OCU3xD=s5N7}w$GntXF;?jdVfg5w9OR8VPxp5{uw zD+_;Gb}@7Vo_d3UV7PS65%_pBUeEwX_Hwfe2e6Qmyq$%0i8Ewn%F7i%=CNEV)Qg`r|&+$ zP6^Vl(MmgvFq`Zb715wYD>a#si;o+b4j^VuhuN>+sNOq6Qc~Y;Y=T&!Q4>(&^>Z6* zwliz!_16EDLTT;v$@W(s7s0s zi*%p>q#t)`S4j=Ox_IcjcllyT38C4hr&mlr6qX-c;qVa~k$MG;UqdnzKX0wo0Xe-_)b zrHu1&21O$y5828UIHI@N;}J@-9cpxob}zqO#!U%Q*ybZ?BH#~^fOT_|8&xAs_rX24 z^nqn{UWqR?MlY~klh)#Rz-*%&e~9agOg*fIN`P&v!@gcO25Mec23}PhzImkdwVT|@ zFR9dYYmf&HiUF4xO9@t#u=uTBS@k*97Z!&hu@|xQnQDkLd!*N`!0JN7{EUoH%OD85 z@aQ2(w-N)1_M{;FV)C#(a4p!ofIA3XG(XZ2E#%j_(=`IWlJAHWkYM2&(+yY|^2TB0 z>wfC-+I}`)LFOJ%KeBb1?eNxGKeq?AI_eBE!M~$wYR~bB)J3=WvVlT8ZlF2EzIFZt zkaeyj#vmBTGkIL9mM3cEz@Yf>j=82+KgvJ-u_{bBOxE5zoRNQW3+Ahx+eMGem|8xo zL3ORKxY_R{k=f~M5oi-Z>5fgqjEtzC&xJEDQ@`<)*Gh3UsftBJno-y5Je^!D?Im{j za*I>RQ=IvU@5WKsIr?kC$DT+2bgR>8rOf3mtXeMVB~sm%X7W5`s=Tp>FR544tuQ>9qLt|aUSv^io&z93luW$_OYE^sf8DB?gx z4&k;dHMWph>Z{iuhhFJr+PCZ#SiZ9e5xM$A#0yPtVC>yk&_b9I676n|oAH?VeTe*1 z@tDK}QM-%J^3Ns6=_vh*I8hE?+=6n9nUU`}EX|;Mkr?6@NXy8&B0i6h?7%D=%M*Er zivG61Wk7e=v;<%t*G+HKBqz{;0Biv7F+WxGirONRxJij zon5~(a`UR%uUzfEma99QGbIxD(d}~oa|exU5Y27#4k@N|=hE%Y?Y3H%rcT zHmNO#ZJ7nPHRG#y-(-FSzaZ2S{`itkdYY^ZUvyw<7yMBkNG+>$Rfm{iN!gz7eASN9-B3g%LIEyRev|3)kSl;JL zX7MaUL_@~4ot3$woD0UA49)wUeu7#lj77M4ar8+myvO$B5LZS$!-ZXw3w;l#0anYz zDc_RQ0Ome}_i+o~H=CkzEa&r~M$1GC!-~WBiHiDq9Sdg{m|G?o7g`R%f(Zvby5q4; z=cvn`M>RFO%i_S@h3^#3wImmWI4}2x4skPNL9Am{c!WxR_spQX3+;fo!y(&~Palyjt~Xo0uy6d%sX&I`e>zv6CRSm)rc^w!;Y6iVBb3x@Y=`hl9jft zXm5vilB4IhImY5b->x{!MIdCermpyLbsalx8;hIUia%*+WEo4<2yZ6`OyG1Wp%1s$ zh<|KrHMv~XJ9dC8&EXJ`t3ETz>a|zLMx|MyJE54RU(@?K&p2d#x?eJC*WKO9^d17# zdTTKx-Os3k%^=58Sz|J28aCJ}X2-?YV3T7ee?*FoDLOC214J4|^*EX`?cy%+7Kb3(@0@!Q?p zk>>6dWjF~y(eyRPqjXqDOT`4^Qv-%G#Zb2G?&LS-EmO|ixxt79JZlMgd^~j)7XYQ; z62rGGXA=gLfgy{M-%1gR87hbhxq-fL)GSfEAm{yLQP!~m-{4i_jG*JsvUdqAkoc#q6Yd&>=;4udAh#?xa2L z7mFvCjz(hN7eV&cyFb%(U*30H@bQ8-b7mkm!=wh2|;+_4vo=tyHPQ0hL=NR`jbsSiBWtG ztMPPBgHj(JTK#0VcP36Z`?P|AN~ybm=jNbU=^3dK=|rLE+40>w+MWQW%4gJ`>K!^- zx4kM*XZLd(E4WsolMCRsdvTGC=37FofIyCZCj{v3{wqy4OXX-dZl@g`Dv>p2`l|H^ zS_@(8)7gA62{Qfft>vx71stILMuyV4uKb7BbCstG@|e*KWl{P1$=1xg(7E8MRRCWQ1g)>|QPAZot~|FYz_J0T+r zTWTB3AatKyUsTXR7{Uu) z$1J5SSqoJWt(@@L5a)#Q6bj$KvuC->J-q1!nYS6K5&e7vNdtj- zj9;qwbODLgIcObqNRGs1l{8>&7W?BbDd!87=@YD75B2ep?IY|gE~t)$`?XJ45MG@2 zz|H}f?qtEb_p^Xs$4{?nA=Qko3Lc~WrAS`M%9N60FKqL7XI+v_5H-UDiCbRm`fEmv z$pMVH*#@wQqml~MZe+)e4Ts3Gl^!Z0W3y$;|9hI?9(iw29b7en0>Kt2pjFXk@!@-g zTb4}Kw!@u|V!wzk0|qM*zj$*-*}e*ZXs#Y<6E_!BR}3^YtjI_byo{F+w9H9?f%mnBh(uE~!Um7)tgp2Ye;XYdVD95qt1I-fc@X zXHM)BfJ?^g(s3K|{N8B^hamrWAW|zis$`6|iA>M-`0f+vq(FLWgC&KnBDsM)_ez1# zPCTfN8{s^K`_bum2i5SWOn)B7JB0tzH5blC?|x;N{|@ch(8Uy-O{B2)OsfB$q0@FR z27m3YkcVi$KL;;4I*S;Z#6VfZcZFn!D2Npv5pio)sz-`_H*#}ROd7*y4i(y(YlH<4 zh4MmqBe^QV_$)VvzWgMXFy`M(vzyR2u!xx&%&{^*AcVLrGa8J9ycbynjKR~G6zC0e zlEU>zt7yQtMhz>XMnz>ewXS#{Bulz$6HETn?qD5v3td>`qGD;Y8&RmkvN=24=^6Q@DYY zxMt}uh2cSToMkkIWo1_Lp^FOn$+47JXJ*#q=JaeiIBUHEw#IiXz8cStEsw{UYCA5v_%cF@#m^Y!=+qttuH4u}r6gMvO4EAvjBURtLf& z6k!C|OU@hv_!*qear3KJ?VzVXDKqvKRtugefa7^^MSWl0fXXZR$Xb!b6`eY4A1#pk zAVoZvb_4dZ{f~M8fk3o?{xno^znH1t;;E6K#9?erW~7cs%EV|h^K>@&3Im}c7nm%Y zbLozFrwM&tSNp|46)OhP%MJ(5PydzR>8)X%i3!^L%3HCoCF#Y0#9vPI5l&MK*_ z6G8Y>$`~c)VvQle_4L_AewDGh@!bKkJeEs_NTz(yilnM!t}7jz>fmJb89jQo6~)%% z@GNIJ@AShd&K%UdQ5vR#yT<-goR+D@Tg;PuvcZ*2AzSWN&wW$Xc+~vW)pww~O|6hL zBxX?hOyA~S;3rAEfI&jmMT4f!-eVm%n^KF_QT=>!A<5tgXgi~VNBXqsFI(iI$Tu3x0L{<_-%|HMG4Cn?Xs zq~fvBhu;SDOCD7K5(l&i7Py-;Czx5byV*3y%#-Of9rtz?M_owXc2}$OIY~)EZ&2?r zLQ(onz~I7U!w?B%LtfDz)*X=CscqH!UE=mO?d&oYvtj|(u)^yomS;Cd>Men|#2yuD zg&tf(*iSHyo;^A03p&_j*QXay9d}qZ0CgU@rnFNDIT5xLhC5_tlugv()+w%`7;ICf z>;<#L4m@{1}Og76*e zHWFm~;n@B1GqO8s%=qu)+^MR|jp(ULUOi~v;wE8SB6^mK@adSb=o+A_>Itjn13AF& zDZe+wUF9G!JFv|dpj1#d+}BO~s*QTe3381TxA%Q>P*J#z%( z5*8N^QWxgF73^cTKkkvgvIzf*cLEyyKw)Wf{#$n{uS#(rAA~>TS#!asqQ2m_izXe3 z7$Oh=rR;sdmVx3G)s}eImsb<@r2~5?vcw*Q4LU~FFh!y4r*>~S7slAE6)W3Up2OHr z2R)+O<0kKo<3+5vB}v!lB*`%}gFldc+79iahqEx#&Im@NCQU$@PyCZbcTt?K{;o@4 z312O9GB)?X&wAB}*-NEU zn@6`)G`FhT8O^=Cz3y+XtbwO{5+{4-&?z!esFts-C zypwgI^4#tZ74KC+_IW|E@kMI=1pSJkvg$9G3Va(!reMnJ$kcMiZ=30dTJ%(Ws>eUf z;|l--TFDqL!PZbLc_O(XP0QornpP;!)hdT#Ts7tZ9fcQeH&rhP_1L|Z_ha#JOroe^qcsLi`+AoBWHPM7}gD z+mHuPXd14M?nkp|nu9G8hPk;3=JXE-a204Fg!BK|$MX`k-qPeD$2OOqvF;C(l8wm13?>i(pz7kRyYm zM$IEzf`$}B%ezr!$(UO#uWExn%nTCTIZzq&8@i8sP#6r8 z*QMUzZV(LEWZb)wbmf|Li;UpiP;PlTQ(X4zreD`|`RG!7_wc6J^MFD!A=#K*ze>Jg z?9v?p(M=fg_VB0+c?!M$L>5FIfD(KD5ku*djwCp+5GVIs9^=}kM2RFsxx0_5DE%BF zykxwjWvs=rbi4xKIt!z$&v(`msFrl4n>a%NO_4`iSyb!UiAE&mDa+apc zPe)#!ToRW~rqi2e1bdO1RLN5*uUM@{S`KLJhhY-@TvC&5D(c?a(2$mW-&N%h5IfEM zdFI6`6KJiJQIHvFiG-34^BtO3%*$(-Ht_JU*(KddiUYoM{coadlG&LVvke&*p>Cac z^BPy2Zteiq1@ulw0e)e*ot7@A$RJui0$l^{lsCt%R;$){>zuRv9#w@;m=#d%%TJmm zC#%eFOoy$V)|3*d<OC1iP+4R7D z8FE$E8l2Y?(o-i6wG=BKBh0-I?i3WF%hqdD7VCd;vpk|LFP!Et8$@voH>l>U8BY`Q zC*G;&y6|!p=7`G$*+hxCv!@^#+QD3m>^azyZoLS^;o_|plQaj-wx^ zRV&$HcY~p)2|Zqp0SYU?W3zV87s6JP-@D~$t0 zvd;-YL~JWc*8mtHz_s(cXus#XYJc5zdC=&!4MeZ;N3TQ>^I|Pd=HPjVP*j^45rs(n zzB{U4-44=oQ4rNN6@>qYVMH4|GmMIz#z@3UW-1_y#eNa+Q%(41oJ5i(DzvMO^%|?L z^r_+MZtw0DZ0=BT-@?hUtA)Ijk~Kh-N8?~X5%KnRH7cb!?Yrd8gtiEo!v{sGrQk{X zvV>h{8-DqTyuAxIE(hb}jMVtga$;FIrrKm>ye5t%M;p!jcH1(Bbux>4D#MVhgZGd> z=c=nVb%^9T?iDgM&9G(mV5xShc-lBLi*6RShenDqB%`-2;I*;IHg6>#ovKQ$M}dDb z<$USN%LMqa5_5DR7g7@(oAoQ%!~<1KSQr$rmS{UFQJs5&qBhgTEM_Y7|0Wv?fbP`z z)`8~=v;B)+>Jh`V*|$dTxKe`HTBkho^-!!K#@i{9FLn-XqX&fQcGsEAXp)BV7(`Lk zC{4&+Pe-0&<)C0kAa(MTnb|L;ZB5i|b#L1o;J)+?SV8T*U9$Vxhy}dm3%!A}SK9l_6(#5(e*>8|;4gNKk7o_%m_ zEaS=Z(ewk}hBJ>v`jtR=$pm_Wq3d&DU+6`BACU4%qdhH1o^m8hT2&j<4Z8!v=rMCk z-I*?48{2H*&+r<{2?wp$kh@L@=rj8c`EaS~J>W?)trc?zP&4bsNagS4yafuDoXpi5`!{BVqJ1$ZC3`pf$`LIZ(`0&Ik+!_Xa=NJW`R2 zd#Ntgwz`JVwC4A61$FZ&kP)-{T|rGO59`h#1enAa`cWxRR8bKVvvN6jBzAYePrc&5 z+*zr3en|LYB2>qJp479rEALk5d*X-dfKn6|kuNm;2-U2+P3_rma!nWjZQ-y*q3JS? zBE}zE-!1ZBR~G%v!$l#dZ*$UV4$7q}xct}=on+Ba8{b>Y9h*f-GW0D0o#vJ0%ALg( ztG2+AjWlG#d;myA(i&dh8Gp?y9HD@`CTaDAy?c&0unZ%*LbLIg4;m{Kc?)ws3^>M+ zt5>R)%KIJV*MRUg{0$#nW=Lj{#8?dD$yhjBOrAeR#4$H_Dc(eyA4dNjZEz1Xk+Bqt zB&pPl+?R{w8GPv%VI`x`IFOj320F1=cV4aq0(*()Tx!VVxCjua;)t}gTr=b?zY+U! zkb}xjXZ?hMJN{Hjw?w&?gz8Ow`htX z@}WG*_4<%ff8(!S6bf3)p+8h2!Rory>@aob$gY#fYJ=LiW0`+~l7GI%EX_=8 z{(;0&lJ%9)M9{;wty=XvHbIx|-$g4HFij`J$-z~`mW)*IK^MWVN+*>uTNqaDmi!M8 zurj6DGd)g1g(f`A-K^v)3KSOEoZXImXT06apJum-dO_%oR)z6Bam-QC&CNWh7kLOE zcxLdVjYLNO2V?IXWa-ys30Jbxw(Xm?U1{4kDs9`gZQHh8X{*w9=H&Zz&-6RL?uq#R zxN+k~JaL|gdsdvY_u6}}MHC?a@ElFeipA1Lud#M~)pp2SnG#K{a@tSpvXM;A8gz9> zRVDV5T1%%!LsNRDOw~LIuiAiKcj<%7WpgjP7G6mMU1#pFo6a-1>0I5ZdhxnkMX&#L z=Vm}?SDlb_LArobqpnU!WLQE*yVGWgs^4RRy4rrJwoUUWoA~ZJUx$mK>J6}7{CyC4 zv=8W)kKl7TmAnM%m;anEDPv5tzT{A{ON9#FPYF6c=QIc*OrPp96tiY&^Qs+#A1H>Y z<{XtWt2eDwuqM zQ_BI#UIP;2-olOL4LsZ`vTPv-eILtuB7oWosoSefWdM}BcP>iH^HmimR`G`|+9waCO z&M375o@;_My(qYvPNz;N8FBZaoaw3$b#x`yTBJLc8iIP z--la{bzK>YPP|@Mke!{Km{vT8Z4|#An*f=EmL34?!GJfHaDS#41j~8c5KGKmj!GTh&QIH+DjEI*BdbSS2~6VTt}t zhAwNQNT6%c{G`If3?|~Fp7iwee(LaUS)X9@I29cIb61} z$@YBq4hSplr&liE@ye!y&7+7n$fb+8nS~co#^n@oCjCwuKD61x$5|0ShDxhQES5MP z(gH|FO-s6#$++AxnkQR!3YMgKcF)!&aqr^a3^{gAVT`(tY9@tqgY7@ z>>ul3LYy`R({OY7*^Mf}UgJl(N7yyo$ag;RIpYHa_^HKx?DD`%Vf1D0s^ zjk#OCM5oSzuEz(7X`5u~C-Y~n4B}_3*`5B&8tEdND@&h;H{R`o%IFpIJ4~Kw!kUjehGT8W!CD7?d8sg_$KKp%@*dW)#fI1#R<}kvzBVpaog_2&W%c_jJfP` z6)wE+$3+Hdn^4G}(ymPyasc1<*a7s2yL%=3LgtZLXGuA^jdM^{`KDb%%}lr|ONDsl zy~~jEuK|XJ2y<`R{^F)Gx7DJVMvpT>gF<4O%$cbsJqK1;v@GKXm*9l3*~8^_xj*Gs z=Z#2VQ6`H@^~#5Pv##@CddHfm;lbxiQnqy7AYEH(35pTg^;u&J2xs-F#jGLuDw2%z z`a>=0sVMM+oKx4%OnC9zWdbpq*#5^yM;og*EQKpv`^n~-mO_vj=EgFxYnga(7jO?G z`^C87B4-jfB_RgN2FP|IrjOi;W9AM1qS}9W@&1a9Us>PKFQ9~YE!I~wTbl!m3$Th? z)~GjFxmhyyGxN}t*G#1^KGVXm#o(K0xJyverPe}mS=QgJ$#D}emQDw+dHyPu^&Uv> z4O=3gK*HLFZPBY|!VGq60Of6QrAdj`nj1h!$?&a;Hgaj{oo{l0P3TzpJK_q_eW8Ng zP6QF}1{V;xlolCs?pGegPoCSxx@bshb#3ng4Fkp4!7B0=&+1%187izf@}tvsjZ6{m z4;K>sR5rm97HJrJ`w}Y`-MZN$Wv2N%X4KW(N$v2@R1RkRJH2q1Ozs0H`@ zd5)X-{!{<+4Nyd=hQ8Wm3CCd}ujm*a?L79ztfT7@&(?B|!pU5&%9Rl!`i;suAg0+A zxb&UYpo-z}u6CLIndtH~C|yz&!OV_I*L;H#C7ie_5uB1fNRyH*<^d=ww=gxvE%P$p zRHKI{^{nQlB9nLhp9yj-so1is{4^`{Xd>Jl&;dX;J)#- z=fmE5GiV?-&3kcjM1+XG7&tSq;q9Oi4NUuRrIpoyp*Fn&nVNFdUuGQ_g)g>VzXGdneB7`;!aTUE$t* z5iH+8XPxrYl)vFo~+vmcU-2) zq!6R(T0SsoDnB>Mmvr^k*{34_BAK+I=DAGu){p)(ndZqOFT%%^_y;X(w3q-L``N<6 zw9=M zoQ8Lyp>L_j$T20UUUCzYn2-xdN}{e@$8-3vLDN?GbfJ>7*qky{n!wC#1NcYQr~d51 zy;H!am=EI#*S&TCuP{FA3CO)b0AAiN*tLnDbvKwxtMw-l;G2T@EGH)YU?-B`+Y=!$ zypvDn@5V1Tr~y~U0s$ee2+CL3xm_BmxD3w}d_Pd@S%ft#v~_j;6sC6cy%E|dJy@wj z`+(YSh2CrXMxI;yVy*=O@DE2~i5$>nuzZ$wYHs$y`TAtB-ck4fQ!B8a;M=CxY^Nf{ z+UQhn0jopOzvbl(uZZ1R-(IFaprC$9hYK~b=57@ zAJ8*pH%|Tjotzu5(oxZyCQ{5MAw+6L4)NI!9H&XM$Eui-DIoDa@GpNI=I4}m>Hr^r zZjT?xDOea}7cq+TP#wK1p3}sbMK{BV%(h`?R#zNGIP+7u@dV5#zyMau+w}VC1uQ@p zrFUjrJAx6+9%pMhv(IOT52}Dq{B9njh_R`>&j&5Sbub&r*hf4es)_^FTYdDX$8NRk zMi=%I`)hN@N9>X&Gu2RmjKVsUbU>TRUM`gwd?CrL*0zxu-g#uNNnnicYw=kZ{7Vz3 zULaFQ)H=7%Lm5|Z#k?<{ux{o4T{v-e zTLj?F(_qp{FXUzOfJxEyKO15Nr!LQYHF&^jMMBs z`P-}WCyUYIv>K`~)oP$Z85zZr4gw>%aug1V1A)1H(r!8l&5J?ia1x_}Wh)FXTxZUE zs=kI}Ix2cK%Bi_Hc4?mF^m`sr6m8M(n?E+k7Tm^Gn}Kf= zfnqoyVU^*yLypz?s+-XV5(*oOBwn-uhwco5b(@B(hD|vtT8y7#W{>RomA_KchB&Cd zcFNAD9mmqR<341sq+j+2Ra}N5-3wx5IZqg6Wmi6CNO#pLvYPGNER}Q8+PjvIJ42|n zc5r@T*p)R^U=d{cT2AszQcC6SkWiE|hdK)m{7ul^mU+ED1R8G#)#X}A9JSP_ubF5p z8Xxcl;jlGjPwow^p+-f_-a~S;$lztguPE6SceeUCfmRo=Qg zKHTY*O_ z;pXl@z&7hniVYVbGgp+Nj#XP^Aln2T!D*{(Td8h{8Dc?C)KFfjPybiC`Va?Rf)X>y z;5?B{bAhPtbmOMUsAy2Y0RNDQ3K`v`gq)#ns_C&ec-)6cq)d^{5938T`Sr@|7nLl; zcyewuiSUh7Z}q8iIJ@$)L3)m)(D|MbJm_h&tj^;iNk%7K-YR}+J|S?KR|29K?z-$c z<+C4uA43yfSWBv*%z=-0lI{ev`C6JxJ};A5N;lmoR(g{4cjCEn33 z-ef#x^uc%cM-f^_+*dzE?U;5EtEe;&8EOK^K}xITa?GH`tz2F9N$O5;)`Uof4~l+t z#n_M(KkcVP*yMYlk_~5h89o zlf#^qjYG8Wovx+f%x7M7_>@r7xaXa2uXb?_*=QOEe_>ErS(v5-i)mrT3&^`Oqr4c9 zDjP_6T&NQMD`{l#K&sHTm@;}ed_sQ88X3y`ON<=$<8Qq{dOPA&WAc2>EQ+U8%>yWR zK%(whl8tB;{C)yRw|@Gn4%RhT=bbpgMZ6erACc>l5^p)9tR`(2W-D*?Ph6;2=Fr|G- zdF^R&aCqyxqWy#P7#G8>+aUG`pP*ow93N=A?pA=aW0^^+?~#zRWcf_zlKL8q8-80n zqGUm=S8+%4_LA7qrV4Eq{FHm9#9X15%ld`@UKyR7uc1X*>Ebr0+2yCye6b?i=r{MPoqnTnYnq z^?HWgl+G&@OcVx4$(y;{m^TkB5Tnhx2O%yPI=r*4H2f_6Gfyasq&PN^W{#)_Gu7e= zVHBQ8R5W6j;N6P3O(jsRU;hkmLG(Xs_8=F&xh@`*|l{~0OjUVlgm z7opltSHg7Mb%mYamGs*v1-#iW^QMT**f+Nq*AzIvFT~Ur3KTD26OhIw1WQsL(6nGg znHUo-4e15cXBIiyqN};5ydNYJ6zznECVVR44%(P0oW!yQ!YH)FPY?^k{IrtrLo7Zo`?sg%%oMP9E^+H@JLXicr zi?eoI?LODRPcMLl90MH32rf8btf69)ZE~&4d%(&D{C45egC6bF-XQ;6QKkbmqW>_H z{86XDZvjiN2wr&ZPfi;^SM6W+IP0);50m>qBhzx+docpBkkiY@2bSvtPVj~E`CfEu zhQG5G>~J@dni5M5Jmv7GD&@%UR`k3ru-W$$onI259jM&nZ)*d3QFF?Mu?{`+nVzkx z=R*_VH=;yeU?9TzQ3dP)q;P)4sAo&k;{*Eky1+Z!10J<(cJC3zY9>bP=znA=<-0RR zMnt#<9^X7BQ0wKVBV{}oaV=?JA=>R0$az^XE%4WZcA^Em>`m_obQyKbmf-GA;!S-z zK5+y5{xbkdA?2NgZ0MQYF-cfOwV0?3Tzh8tcBE{u%Uy?Ky4^tn^>X}p>4&S(L7amF zpWEio8VBNeZ=l!%RY>oVGOtZh7<>v3?`NcHlYDPUBRzgg z0OXEivCkw<>F(>1x@Zk=IbSOn+frQ^+jI*&qdtf4bbydk-jgVmLAd?5ImK+Sigh?X zgaGUlbf^b-MH2@QbqCawa$H1Vb+uhu{zUG9268pa{5>O&Vq8__Xk5LXDaR1z$g;s~;+Ae82wq#l;wo08tX(9uUX6NJWq1vZLh3QbP$# zL`udY|Qp*4ER`_;$%)2 zmcJLj|FD`(;ts0bD{}Ghq6UAVpEm#>j`S$wHi0-D_|)bEZ}#6) zIiqH7Co;TB`<6KrZi1SF9=lO+>-_3=Hm%Rr7|Zu-EzWLSF{9d(H1v*|UZDWiiqX3} zmx~oQ6%9~$=KjPV_ejzz7aPSvTo+3@-a(OCCoF_u#2dHY&I?`nk zQ@t8#epxAv@t=RUM09u?qnPr6=Y5Pj;^4=7GJ`2)Oq~H)2V)M1sC^S;w?hOB|0zXT zQdf8$)jslO>Q}(4RQ$DPUF#QUJm-k9ysZFEGi9xN*_KqCs9Ng(&<;XONBDe1Joku? z*W!lx(i&gvfXZ4U(AE@)c0FI2UqrFLOO$&Yic|`L;Vyy-kcm49hJ^Mj^H9uY8Fdm2 z?=U1U_5GE_JT;Tx$2#I3rAAs(q@oebIK=19a$N?HNQ4jw0ljtyGJ#D}z3^^Y=hf^Bb--297h6LQxi0-`TB|QY2QPg92TAq$cEQdWE ze)ltSTVMYe0K4wte6;^tE+^>|a>Hit_3QDlFo!3Jd`GQYTwlR#{<^MzG zK!vW&))~RTKq4u29bc<+VOcg7fdorq-kwHaaCQe6tLB{|gW1_W_KtgOD0^$^|`V4C# z*D_S9Dt_DIxpjk3my5cBFdiYaq||#0&0&%_LEN}BOxkb3v*d$4L|S|z z!cZZmfe~_Y`46v=zul=aixZTQCOzb(jx>8&a%S%!(;x{M2!*$od2!Pwfs>RZ-a%GOZdO88rS)ZW~{$656GgW)$Q=@!x;&Nn~!K)lr4gF*%qVO=hlodHA@2)keS2 zC}7O=_64#g&=zY?(zhzFO3)f5=+`dpuyM!Q)zS&otpYB@hhn$lm*iK2DRt+#1n|L%zjM}nB*$uAY^2JIw zV_P)*HCVq%F))^)iaZD#R9n^{sAxBZ?Yvi1SVc*`;8|F2X%bz^+s=yS&AXjysDny)YaU5RMotF-tt~FndTK ziRve_5b!``^ZRLG_ks}y_ye0PKyKQSsQCJuK5()b2ThnKPFU?An4;dK>)T^4J+XjD zEUsW~H?Q&l%K4<1f5^?|?lyCQe(O3?!~OU{_Wxs#|Ff8?a_WPQUKvP7?>1()Cy6oLeA zjEF^d#$6Wb${opCc^%%DjOjll%N2=GeS6D-w=Ap$Ux2+0v#s#Z&s6K*)_h{KFfgKjzO17@p1nKcC4NIgt+3t}&}F z@cV; zZ1r#~?R@ZdSwbFNV(fFl2lWI(Zf#nxa<6f!nBZD>*K)nI&Fun@ngq@Ge!N$O< zySt*mY&0moUXNPe~Fg=%gIu)tJ;asscQ!-AujR@VJBRoNZNk;z4hs4T>Ud!y=1NwGs-k zlTNeBOe}=)Epw=}+dfX;kZ32h$t&7q%Xqdt-&tlYEWc>>c3(hVylsG{Ybh_M8>Cz0ZT_6B|3!_(RwEJus9{;u-mq zW|!`{BCtnao4;kCT8cr@yeV~#rf76=%QQs(J{>Mj?>aISwp3{^BjBO zLV>XSRK+o=oVDBnbv?Y@iK)MiFSl{5HLN@k%SQZ}yhPiu_2jrnI?Kk?HtCv>wN$OM zSe#}2@He9bDZ27hX_fZey=64#SNU#1~=icK`D>a;V-&Km>V6ZdVNj7d2 z-NmAoOQm_aIZ2lXpJhlUeJ95eZt~4_S zIfrDs)S$4UjyxKSaTi#9KGs2P zfSD>(y~r+bU4*#|r`q+be_dopJzKK5JNJ#rR978ikHyJKD>SD@^Bk$~D0*U38Y*IpYcH>aaMdZq|YzQ-Ixd(_KZK!+VL@MWGl zG!k=<%Y-KeqK%``uhx}0#X^@wS+mX@6Ul@90#nmYaKh}?uw>U;GS4fn3|X%AcV@iY z8v+ePk)HxSQ7ZYDtlYj#zJ?5uJ8CeCg3efmc#|a%2=u>+vrGGRg$S@^mk~0f;mIu! zWMA13H1<@hSOVE*o0S5D8y=}RiL#jQpUq42D}vW$z*)VB*FB%C?wl%(3>ANaY)bO@ zW$VFutemwy5Q*&*9HJ603;mJJkB$qp6yxNOY0o_4*y?2`qbN{m&*l{)YMG_QHXXa2 z+hTmlA;=mYwg{Bfusl zyF&}ib2J;#q5tN^e)D62fWW*Lv;Rnb3GO-JVtYG0CgR4jGujFo$Waw zSNLhc{>P~>{KVZE1Vl1!z)|HFuN@J7{`xIp_)6>*5Z27BHg6QIgqLqDJTmKDM+ON* zK0Fh=EG`q13l z+m--9UH0{ZGQ%j=OLO8G2WM*tgfY}bV~>3Grcrpehjj z6Xe<$gNJyD8td3EhkHjpKk}7?k55Tu7?#;5`Qcm~ki;BeOlNr+#PK{kjV>qfE?1No zMA07}b>}Dv!uaS8Hym0TgzxBxh$*RX+Fab6Gm02!mr6u}f$_G4C|^GSXJMniy^b`G z74OC=83m0G7L_dS99qv3a0BU({t$zHQsB-RI_jn1^uK9ka_%aQuE2+~J2o!7`735Z zb?+sTe}Gd??VEkz|KAPMfj(1b{om89p5GIJ^#Aics_6DD%WnNGWAW`I<7jT|Af|8g zZA0^)`p8i#oBvX2|I&`HC8Pn&0>jRuMF4i0s=}2NYLmgkZb=0w9tvpnGiU-gTUQhJ zR6o4W6ZWONuBZAiN77#7;TR1^RKE(>>OL>YU`Yy_;5oj<*}ac99DI(qGCtn6`949f ziMpY4k>$aVfffm{dNH=-=rMg|u?&GIToq-u;@1-W&B2(UOhC-O2N5_px&cF-C^tWp zXvChm9@GXEcxd;+Q6}u;TKy}$JF$B`Ty?|Y3tP$N@Rtoy(*05Wj-Ks32|2y2ZM>bM zi8v8E1os!yorR!FSeP)QxtjIKh=F1ElfR8U7StE#Ika;h{q?b?Q+>%78z^>gTU5+> zxQ$a^rECmETF@Jl8fg>MApu>btHGJ*Q99(tMqsZcG+dZ6Yikx7@V09jWCiQH&nnAv zY)4iR$Ro223F+c3Q%KPyP9^iyzZsP%R%-i^MKxmXQHnW6#6n7%VD{gG$E;7*g86G< zu$h=RN_L2(YHO3@`B<^L(q@^W_0#U%mLC9Q^XEo3LTp*~(I%?P_klu-c~WJxY1zTI z^PqntLIEmdtK~E-v8yc&%U+jVxW5VuA{VMA4Ru1sk#*Srj0Pk#tZuXxkS=5H9?8eb z)t38?JNdP@#xb*yn=<*_pK9^lx%;&yH6XkD6-JXgdddZty8@Mfr9UpGE!I<37ZHUe z_Rd+LKsNH^O)+NW8Ni-V%`@J_QGKA9ZCAMSnsN>Ych9VW zCE7R_1FVy}r@MlkbxZ*TRIGXu`ema##OkqCM9{wkWQJg^%3H${!vUT&vv2250jAWN zw=h)C!b2s`QbWhBMSIYmWqZ_~ReRW;)U#@C&ThctSd_V!=HA=kdGO-Hl57an|M1XC?~3f0{7pyjWY}0mChU z2Fj2(B*r(UpCKm-#(2(ZJD#Y|Or*Vc5VyLpJ8gO1;fCm@EM~{DqpJS5FaZ5%|ALw) zyumBl!i@T57I4ITCFmdbxhaOYud}i!0YkdiNRaQ%5$T5>*HRBhyB~<%-5nj*b8=i= z(8g(LA50%0Zi_eQe}Xypk|bt5e6X{aI^jU2*c?!p*$bGk=?t z+17R){lx~Z{!B34Zip~|A;8l@%*Gc}kT|kC0*Ny$&fI3@%M! zqk_zvN}7bM`x@jqFOtaxI?*^Im5ix@=`QEv;__i;Tek-&7kGm6yP17QANVL>*d0B=4>i^;HKb$k8?DYFMr38IX4azK zBbwjF%$>PqXhJh=*7{zH5=+gi$!nc%SqFZlwRm zmpctOjZh3bwt!Oc>qVJhWQf>`HTwMH2ibK^eE*j!&Z`-bs8=A`Yvnb^?p;5+U=Fb8 z@h>j_3hhazd$y^Z-bt%3%E3vica%nYnLxW+4+?w{%|M_=w^04U{a6^22>M_?{@mXP zS|Qjcn4&F%WN7Z?u&I3fU(UQVw4msFehxR*80dSb=a&UG4zDQp&?r2UGPy@G?0FbY zVUQ?uU9-c;f9z06$O5FO1TOn|P{pLcDGP?rfdt`&uw|(Pm@$n+A?)8 zP$nG(VG&aRU*(_5z#{+yVnntu`6tEq>%9~n^*ao}`F6ph_@6_8|AfAXtFfWee_14` zKKURYV}4}=UJmxv7{RSz5QlwZtzbYQs0;t3?kx*7S%nf-aY&lJ@h?-BAn%~0&&@j) zQd_6TUOLXErJ`A3vE?DJIbLE;s~s%eVt(%fMzUq^UfZV9c?YuhO&6pwKt>j(=2CkgTNEq7&c zfeGN+%5DS@b9HO>zsoRXv@}(EiA|t5LPi}*R3?(-=iASADny<{D0WiQG>*-BSROk4vI6%$R>q64J&v-T+(D<_(b!LD z9GL;DV;;N3!pZYg23mcg81tx>7)=e%f|i{6Mx0GczVpc}{}Mg(W_^=Wh0Rp+xXgX` z@hw|5=Je&nz^Xa>>vclstYt;8c2PY)87Ap;z&S&`yRN>yQVV#K{4&diVR7Rm;S{6m z6<+;jwbm`==`JuC6--u6W7A@o4&ZpJV%5+H)}toy0afF*!)AaG5=pz_i9}@OG%?$O z2cec6#@=%xE3K8;^ps<2{t4SnqH+#607gAHP-G4^+PBiC1s>MXf&bQ|Pa;WBIiErV z?3VFpR9JFl9(W$7p3#xe(Bd?Z93Uu~jHJFo7U3K_x4Ej-=N#=a@f;kPV$>;hiN9i9 z<6elJl?bLI$o=|d6jlihA4~bG;Fm2eEnlGxZL`#H%Cdes>uJfMJ4>@1SGGeQ81DwxGxy7L5 zm05Ik*WpSgZvHh@Wpv|2i|Y#FG?Y$hbRM5ZF0Z7FB3cY0+ei#km9mDSPI}^!<<`vr zuv$SPg2vU{wa)6&QMY)h1hbbxvR2cc_6WcWR`SH& z&KuUQcgu}!iW2Wqvp~|&&LSec9>t(UR_|f$;f-fC&tSO-^-eE0B~Frttnf+XN(#T) z^PsuFV#(pE#6ztaI8(;ywN%CtZh?w&;_)w_s@{JiA-SMjf&pQk+Bw<}f@Q8-xCQMwfaf zMgHsAPU=>>Kw~uDFS(IVRN{$ak(SV(hrO!UqhJ?l{lNnA1>U24!=>|q_p404Xd>M# z7?lh^C&-IfeIr`Dri9If+bc%oU0?|Rh8)%BND5;_9@9tuM)h5Kcw6}$Ca7H_n)nOf0pd`boCXItb`o11 zb`)@}l6I_h>n+;`g+b^RkYs7;voBz&Gv6FLmyvY|2pS)z#P;t8k;lS>49a$XeVDc4 z(tx2Pe3N%Gd(!wM`E7WRBZy)~vh_vRGt&esDa0NCua)rH#_39*H0!gIXpd>~{rGx+ zJKAeXAZ-z5n=mMVqlM5Km;b;B&KSJlScD8n?2t}kS4Wf9@MjIZSJ2R?&=zQn zs_`=+5J$47&mP4s{Y{TU=~O_LzSrXvEP6W?^pz<#Y*6Fxg@$yUGp31d(h+4x>xpb< zH+R639oDST6F*0iH<9NHC^Ep*8D4-%p2^n-kD6YEI<6GYta6-I;V^ZH3n5}syTD=P z3b6z=jBsdP=FlXcUe@I|%=tY4J_2j!EVNEzph_42iO3yfir|Dh>nFl&Lu9!;`!zJB zCis9?_(%DI?$CA(00pkzw^Up`O;>AnPc(uE$C^a9868t$m?5Q)CR%!crI$YZpiYK6m= z!jv}82He`QKF;10{9@roL2Q7CF)OeY{~dBp>J~X#c-Z~{YLAxNmn~kWQW|2u!Yq00 zl5LKbzl39sVCTpm9eDW_T>Z{x@s6#RH|P zA~_lYas7B@SqI`N=>x50Vj@S)QxouKC(f6Aj zz}7e5e*5n?j@GO;mCYEo^Jp_*BmLt3!N)(T>f#L$XHQWzZEVlJo(>qH@7;c%fy zS-jm^Adju9Sm8rOKTxfTU^!&bg2R!7C_-t+#mKb_K?0R72%26ASF;JWA_prJ8_SVW zOSC7C&CpSrgfXRp8r)QK34g<~!1|poTS7F;)NseFsbwO$YfzEeG3oo!qe#iSxQ2S# z1=Fxc9J;2)pCab-9o-m8%BLjf(*mk#JJX3k9}S7Oq)dV0jG)SOMbw7V^Z<5Q0Cy$< z^U0QUVd4(96W03OA1j|x%{sd&BRqIERDb6W{u1p1{J(a;fd6lnWzjeS`d?L3-0#o7 z{Qv&L7!Tm`9|}u=|IbwS_jgH(_V@o`S*R(-XC$O)DVwF~B&5c~m!zl14ydT6sK+Ly zn+}2hQ4RTC^8YvrQ~vk$f9u=pTN{5H_yTOcza9SVE&nt_{`ZC8zkmFji=UyD`G4~f zUfSTR=Kju>6u+y&|Bylb*W&^P|8fvEbQH3+w*DrKq|9xMzq2OiZyM=;(?>~4+O|jn zC_Et05oc>e%}w4ye2Fm%RIR??VvofwZS-}BL@X=_4jdHp}FlMhW_IW?Zh`4$z*Wr!IzQHa3^?1|);~VaWmsIcmc6 zJs{k0YW}OpkfdoTtr4?9F6IX6$!>hhA+^y_y@vvA_Gr7u8T+i-< zDX(~W5W{8mfbbM-en&U%{mINU#Q8GA`byo)iLF7rMVU#wXXY`a3ji3m{4;x53216i z`zA8ap?>_}`tQj7-%$K78uR}R$|@C2)qgop$}o=g(jOv0ishl!E(R73N=i0~%S)6+ z1xFP7|H0yt3Z_Re*_#C2m3_X{=zi1C&3CM7e?9-Y5lCtAlA%RFG9PDD=Quw1dfYnZ zdUL)#+m`hKx@PT`r;mIx_RQ6Txbti+&;xQorP;$H=R2r)gPMO9>l+!p*Mt04VH$$M zSLwJ81IFjQ5N!S#;MyBD^IS`2n04kuYbZ2~4%3%tp0jn^**BZQ05ELp zY%yntZ=52s6U5Y93Aao)v~M3y?6h7mZcVGp63pK*d&!TRjW99rUU;@s#3kYB76Bs$|LRwkH>L!0Xe zE=dz1o}phhnOVYZFsajQsRA^}IYZnk9Wehvo>gHPA=TPI?2A`plIm8=F1%QiHx*Zn zi)*Y@)$aXW0v1J|#+R2=$ysooHZ&NoA|Wa}htd`=Eud!(HD7JlT8ug|yeBZmpry(W z)pS>^1$N#nuo3PnK*>Thmaxz4pLcY?PP2r3AlhJ7jw(TI8V#c}>Ym;$iPaw+83L+* z!_QWpYs{UWYcl0u z(&(bT0Q*S_uUX9$jC;Vk%oUXw=A-1I+!c18ij1CiUlP@pfP9}CHAVm{!P6AEJ(7Dn z?}u#}g`Q?`*|*_0Rrnu8{l4PP?yCI28qC~&zlwgLH2AkfQt1?B#3AOQjW&10%@@)Q zDG?`6$8?Nz(-sChL8mRs#3z^uOA>~G=ZIG*mgUibWmgd{a|Tn4nkRK9O^37E(()Q% zPR0#M4e2Q-)>}RSt1^UOCGuv?dn|IT3#oW_$S(YR+jxAzxCD_L25p_dt|^>g+6Kgj zJhC8n)@wY;Y7JI6?wjU$MQU|_Gw*FIC)x~^Eq1k41BjLmr}U>6#_wxP0-2Ka?uK14u5M-lAFSX$K1K{WH!M1&q}((MWWUp#Uhl#n_yT5dFs4X`>vmM& z*1!p0lACUVqp&sZG1GWATvZEENs^0_7Ymwem~PlFN3hTHVBv(sDuP;+8iH07a)s(# z%a7+p1QM)YkS7>kbo${k2N1&*%jFP*7UABJ2d||c!eSXWM*<4(_uD7;1XFDod@cT$ zP>IC%^fbC${^QrUXy$f)yBwY^g@}}kngZKa1US!lAa+D=G4wklukaY8AEW%GL zh40pnuv*6D>9`_e14@wWD^o#JvxYVG-~P)+<)0fW zP()DuJN?O*3+Ab!CP-tGr8S4;JN-Ye^9D%(%8d{vb_pK#S1z)nZzE^ezD&%L6nYbZ z*62>?u)xQe(Akd=e?vZbyb5)MMNS?RheZDHU?HK<9;PBHdC~r{MvF__%T)-9ifM#cR#2~BjVJYbA>xbPyl9yNX zX)iFVvv-lfm`d?tbfh^j*A|nw)RszyD<#e>llO8X zou=q3$1|M@Ob;F|o4H0554`&y9T&QTa3{yn=w0BLN~l;XhoslF-$4KGNUdRe?-lcV zS4_WmftU*XpP}*wFM^oKT!D%_$HMT#V*j;9weoOq0mjbl1271$F)`Q(C z76*PAw3_TE{vntIkd=|(zw)j^!@j ^tV@s0U~V+mu)vv`xgL$Z9NQLnuRdZ;95D|1)!0Aybwv}XCE#xz1k?ZC zxAU)v@!$Sm*?)t2mWrkevNFbILU9&znoek=d7jn*k+~ptQ)6z`h6e4B&g?Q;IK+aH z)X(BH`n2DOS1#{AJD-a?uL)@Vl+`B=6X3gF(BCm>Q(9+?IMX%?CqgpsvK+b_de%Q> zj-GtHKf!t@p2;Gu*~#}kF@Q2HMevg~?0{^cPxCRh!gdg7MXsS}BLtG_a0IY0G1DVm z2F&O-$Dzzc#M~iN`!j38gAn`6*~h~AP=s_gy2-#LMFoNZ0<3q+=q)a|4}ur7F#><%j1lnr=F42Mbti zi-LYs85K{%NP8wE1*r4Mm+ZuZ8qjovmB;f##!E*M{*A(4^~vg!bblYi1M@7tq^L8- zH7tf_70iWXqcSQgENGdEjvLiSLicUi3l0H*sx=K!!HLxDg^K|s1G}6Tam|KBV>%YeU)Q>zxQe;ddnDTWJZ~^g-kNeycQ?u242mZs`i8cP)9qW`cwqk)Jf?Re0=SD=2z;Gafh(^X-=WJ$i7Z9$Pao56bTwb+?p>L3bi9 zP|qi@;H^1iT+qnNHBp~X>dd=Us6v#FPDTQLb9KTk%z{&OWmkx3uY(c6JYyK3w|z#Q zMY%FPv%ZNg#w^NaW6lZBU+}Znwc|KF(+X0RO~Q6*O{T-P*fi@5cPGLnzWMSyoOPe3 z(J;R#q}3?z5Ve%crTPZQFLTW81cNY-finw!LH9wr$(C)p_@v?(y#b-R^Pv!}_#7t+A?pHEUMY zoQZIwSETTKeS!W{H$lyB1^!jn4gTD{_mgG?#l1Hx2h^HrpCXo95f3utP-b&%w80F} zXFs@Jp$lbIL64@gc?k*gJ;OForPaapOH7zNMB60FdNP<*9<@hEXJk9Rt=XhHR-5_$Ck-R?+1py&J3Y9^sBBZuj?GwSzua;C@9)@JZpaI zE?x6{H8@j9P06%K_m%9#nnp0Li;QAt{jf-7X%Pd2jHoI4As-9!UR=h6Rjc z!3{UPWiSeLG&>1V5RlM@;5HhQW_&-wL2?%k@dvRS<+@B6Yaj*NG>qE5L*w~1ATP$D zmWu6(OE=*EHqy{($~U4zjxAwpPn42_%bdH9dMphiUU|) z*+V@lHaf%*GcXP079>vy5na3h^>X=n;xc;VFx)`AJEk zYZFlS#Nc-GIHc}j06;cOU@ zAD7Egkw<2a8TOcfO9jCp4U4oI*`|jpbqMWo(={gG3BjuM3QTGDG`%y|xithFck}0J zG}N#LyhCr$IYP`#;}tdm-7^9=72+CBfBsOZ0lI=LC_a%U@(t3J_I1t(UdiJ^@NubM zvvA0mGvTC%{fj53M^|Ywv$KbW;n8B-x{9}Z!K6v-tw&Xe_D2{7tX?eVk$sA*0826( zuGz!K7$O#;K;1w<38Tjegl)PmRso`fc&>fAT5s z7hzQe-_`lx`}2=c)jz6;yn(~F6#M@z_7@Z(@GWbIAo6A2&;aFf&>CVHpqoPh5#~=G zav`rZ3mSL2qwNL+Pg>aQv;%V&41e|YU$!fQ9Ksle!XZERpjAowHtX zi#0lnw{(zmk&}t`iFEMmx-y7FWaE*vA{Hh&>ieZg{5u0-3@a8BY)Z47E`j-H$dadu zIP|PXw1gjO@%aSz*O{GqZs_{ke|&S6hV{-dPkl*V|3U4LpqhG0eVdqfeNX28hrafI zE13WOsRE|o?24#`gQJs@v*EwL{@3>Ffa;knvI4@VEG2I>t-L(KRS0ShZ9N!bwXa}e zI0}@2#PwFA&Y9o}>6(ZaSaz>kw{U=@;d{|dYJ~lyjh~@bBL>n}#@KjvXUOhrZ`DbnAtf5bz3LD@0RpmAyC-4cgu<7rZo&C3~A_jA*0)v|Ctcdu} zt@c7nQ6hSDC@76c4hI&*v|5A0Mj4eQ4kVb0$5j^*$@psB zdouR@B?l6E%a-9%i(*YWUAhxTQ(b@z&Z#jmIb9`8bZ3Um3UW!@w4%t0#nxsc;*YrG z@x$D9Yj3EiA(-@|IIzi@!E$N)j?gedGJpW!7wr*7zKZwIFa>j|cy<(1`VV_GzWN=1 zc%OO)o*RRobvTZE<9n1s$#V+~5u8ZwmDaysD^&^cxynksn!_ypmx)Mg^8$jXu5lMo zK3K_8GJh#+7HA1rO2AM8cK(#sXd2e?%3h2D9GD7!hxOEKJZK&T`ZS0e*c9c36Y-6yz2D0>Kvqy(EuiQtUQH^~M*HY!$e z20PGLb2Xq{3Ceg^sn+99K6w)TkprP)YyNU(+^PGU8}4&Vdw*u;(`Bw!Um76gL_aMT z>*82nmA8Tp;~hwi0d3S{vCwD};P(%AVaBr=yJ zqB?DktZ#)_VFh_X69lAHQw(ZNE~ZRo2fZOIP;N6fD)J*3u^YGdgwO(HnI4pb$H#9) zizJ<>qI*a6{+z=j+SibowDLKYI*Je2Y>~=*fL@i*f&8**s~4l&B&}$~nwhtbOTr=G zFx>{y6)dpJPqv={_@*!q0=jgw3^j`qi@!wiWiT_$1`SPUgaG&9z9u9=m5C8`GpMaM zyMRSv2llS4F}L?233!)f?mvcYIZ~U z7mPng^=p)@Z*Fp9owSYA`Fe4OjLiJ`rdM`-U(&z1B1`S`ufK_#T@_BvenxDQU`deH$X5eMVO=;I4EJjh6?kkG2oc6AYF6|(t)L0$ukG}Zn=c+R`Oq;nC)W^ z{ek!A?!nCsfd_5>d&ozG%OJmhmnCOtARwOq&p!FzWl7M))YjqK8|;6sOAc$w2%k|E z`^~kpT!j+Y1lvE0B)mc$Ez_4Rq~df#vC-FmW;n#7E)>@kMA6K30!MdiC19qYFnxQ* z?BKegU_6T37%s`~Gi2^ewVbciy-m5%1P3$88r^`xN-+VdhhyUj4Kzg2 zlKZ|FLUHiJCZL8&<=e=F2A!j@3D@_VN%z?J;uw9MquL`V*f^kYTrpoWZ6iFq00uO+ zD~Zwrs!e4cqGedAtYxZ76Bq3Ur>-h(m1~@{x@^*YExmS*vw9!Suxjlaxyk9P#xaZK z)|opA2v#h=O*T42z>Mub2O3Okd3GL86KZM2zlfbS z{Vps`OO&3efvt->OOSpMx~i7J@GsRtoOfQ%vo&jZ6^?7VhBMbPUo-V^Znt%-4k{I# z8&X)=KY{3lXlQg4^FH^{jw0%t#2%skLNMJ}hvvyd>?_AO#MtdvH;M^Y?OUWU6BdMX zJ(h;PM9mlo@i)lWX&#E@d4h zj4Z0Czj{+ipPeW$Qtz_A52HA<4$F9Qe4CiNQSNE2Q-d1OPObk4?7-&`={{yod5Iy3kB=PK3%0oYSr`Gca120>CHbC#SqE*ivL2R(YmI1A|nAT?JmK*2qj_3p#?0h)$#ixdmP?UejCg9%AS2 z8I(=_QP(a(s)re5bu-kcNQc-&2{QZ%KE*`NBx|v%K2?bK@Ihz_e<5Y(o(gQ-h+s&+ zjpV>uj~?rfJ!UW5Mop~ro^|FP3Z`@B6A=@f{Wn78cm`)3&VJ!QE+P9&$;3SDNH>hI z_88;?|LHr%1kTX0t*xzG-6BU=LRpJFZucRBQ<^zy?O5iH$t>o}C}Fc+kM1EZu$hm% zTTFKrJkXmCylFgrA;QAA(fX5Sia5TNo z?=Ujz7$Q?P%kM$RKqRQisOexvV&L+bolR%`u`k;~!o(HqgzV9I6w9|g*5SVZN6+kT9H$-3@%h%k7BBnB zPn+wmPYNG)V2Jv`&$LoI*6d0EO^&Nh`E* z&1V^!!Szd`8_uf%OK?fuj~! z%p9QLJ?V*T^)72<6p1ONqpmD?Wm((40>W?rhjCDOz?#Ei^sXRt|GM3ULLnoa8cABQ zA)gCqJ%Q5J%D&nJqypG-OX1`JLT+d`R^|0KtfGQU+jw79la&$GHTjKF>*8BI z0}l6TC@XB6`>7<&{6WX2kX4k+0SaI`$I8{{mMHB}tVo*(&H2SmZLmW* z+P8N>(r}tR?f!O)?)df>HIu>$U~e~tflVmwk*+B1;TuqJ+q_^`jwGwCbCgSevBqj$ z<`Fj*izeO)_~fq%wZ0Jfvi6<3v{Afz;l5C^C7!i^(W>%5!R=Ic7nm(0gJ~9NOvHyA zqWH2-6w^YmOy(DY{VrN6ErvZREuUMko@lVbdLDq*{A+_%F>!@6Z)X9kR1VI1+Ler+ zLUPtth=u~23=CqZoAbQ`uGE_91kR(8Ie$mq1p`q|ilkJ`Y-ob_=Nl(RF=o7k{47*I)F%_XMBz9uwRH8q1o$TkV@8Pwl zzi`^7i;K6Ak7o58a_D-V0AWp;H8pSjbEs$4BxoJkkC6UF@QNL)0$NU;Wv0*5 z0Ld;6tm7eR%u=`hnUb)gjHbE2cP?qpo3f4w%5qM0J*W_Kl6&z4YKX?iD@=McR!gTyhpGGYj!ljQm@2GL^J70`q~4CzPv@sz`s80FgiuxjAZ zLq61rHv1O>>w1qOEbVBwGu4%LGS!!muKHJ#JjfT>g`aSn>83Af<9gM3XBdY)Yql|{ zUds}u*;5wuus)D>HmexkC?;R&*Z`yB4;k;4T*(823M&52{pOd1yXvPJ3PPK{Zs>6w zztXy*HSH0scZHn7qIsZ8y-zftJ*uIW;%&-Ka0ExdpijI&xInDg-Bv-Q#Islcbz+R! zq|xz?3}G5W@*7jSd`Hv9q^5N*yN=4?Lh=LXS^5KJC=j|AJ5Y(f_fC-c4YQNtvAvn|(uP9@5Co{dL z?7|=jqTzD8>(6Wr&(XYUEzT~-VVErf@|KeFpKjh=v51iDYN_`Kg&XLOIG;ZI8*U$@ zKig{dy?1H}UbW%3jp@7EVSD>6c%#abQ^YfcO(`)*HuvNc|j( zyUbYozBR15$nNU$0ZAE%ivo4viW?@EprUZr6oX=4Sc!-WvrpJdF`3SwopKPyX~F>L zJ>N>v=_plttTSUq6bYu({&rkq)d94m5n~Sk_MO*gY*tlkPFd2m=Pi>MK)ObVV@Sgs zmXMNMvvcAuz+<$GLR2!j4w&;{)HEkxl{$B^*)lUKIn&p5_huD6+%WDoH4`p}9mkw$ zXCPw6Y7tc%rn$o_vy>%UNBC`0@+Ih-#T05AT)ooKt?94^ROI5;6m2pIM@@tdT=&WP z{u09xEVdD}{(3v}8AYUyT82;LV%P%TaJa%f)c36?=90z>Dzk5mF2}Gs0jYCmufihid8(VFcZWs8#59;JCn{!tHu5kSBbm zL`F{COgE01gg-qcP2Lt~M9}mALg@i?TZp&i9ZM^G<3`WSDh}+Ceb3Q!QecJ|N;Xrs z{wH{D8wQ2+mEfBX#M8)-32+~q4MRVr1UaSPtw}`iwx@x=1Xv-?UT{t}w}W(J&WKAC zrZ%hssvf*T!rs}}#atryn?LB=>0U%PLwA9IQZt$$UYrSw`7++}WR7tfE~*Qg)vRrM zT;(1>Zzka?wIIz8vfrG86oc^rjM@P7^i8D~b(S23AoKYj9HBC(6kq9g`1gN@|9^xO z{~h zbxGMHqGZ@eJ17bgES?HQnwp|G#7I>@p~o2zxWkgZUYSUeB*KT{1Q z*J3xZdWt`eBsA}7(bAHNcMPZf_BZC(WUR5B8wUQa=UV^e21>|yp+uop;$+#JwXD!> zunhJVCIKgaol0AM_AwJNl}_k&q|uD?aTE@{Q*&hxZ=k_>jcwp}KwG6mb5J*pV@K+- zj*`r0WuEU_8O=m&1!|rj9FG7ad<2px63;Gl z9lJrXx$~mPnuiqIH&n$jSt*ReG}1_?r4x&iV#3e_z+B4QbhHwdjiGu^J3vcazPi`| zaty}NFSWe=TDry*a*4XB)F;KDI$5i9!!(5p@5ra4*iW;FlGFV0P;OZXF!HCQ!oLm1 zsK+rY-FnJ?+yTBd0}{*Y6su|hul)wJ>RNQ{eau*;wWM{vWM`d0dTC-}Vwx6@cd#P? zx$Qyk^2*+_ZnMC}q0)+hE-q)PKoox#;pc%DNJ&D5+if6X4j~p$A7-s&AjDkSEV)aM z(<3UOw*&f)+^5F0Mpzw3zB1ZHl*B?C~Cx) zuNg*>5RM9F5{EpU@a2E7hAE`m<89wbQ2Lz&?Egu-^sglNXG5Q;{9n(%&*kEb0vApd zRHrY@22=pkFN81%x)~acZeu`yvK zovAVJNykgxqkEr^hZksHkpxm>2I8FTu2%+XLs@?ym0n;;A~X>i32{g6NOB@o4lk8{ zB}7Z2MNAJi>9u=y%s4QUXaNdt@SlAZr54!S6^ETWoik6gw=k-itu_}Yl_M9!l+Rbv z(S&WD`{_|SE@@(|Wp7bq1Zq}mc4JAG?mr2WN~6}~u`7M_F@J9`sr0frzxfuqSF~mA z$m$(TWAuCIE99yLSwi%R)8geQhs;6VBlRhJb(4Cx zu)QIF%_W9+21xI45U>JknBRaZ9nYkgAcK6~E|Zxo!B&z9zQhjsi^fgwZI%K@rYbMq znWBXg1uCZ+ljGJrsW7@x3h2 z;kn!J!bwCeOrBx;oPkZ}FeP%wExyf4=XMp)N8*lct~SyfK~4^-75EZFpHYO5AnuRM z!>u?>Vj3+j=uiHc<=cD~JWRphDSwxFaINB42-{@ZJTWe85>-RcQ&U%?wK)vjz z5u5fJYkck##j(bP7W0*RdW#BmAIK`D3=(U~?b`cJ&U2jHj}?w6 z_4BM)#EoJ6)2?pcR4AqBd)qAUn@RtNQq})FIQoBK4ie+GB(Vih2D|Ds>RJo2zE~C- z7mI)7p)5(-O6JRh6a@VZ5~piVC+Xv=O-)=0eTMSJsRE^c1@bPQWlr}E31VqO-%739 zdcmE{`1m;5LH8w|7euK>>>U#Iod8l1yivC>;YWsg=z#07E%cU9x1yw#3l6AcIm%79 zGi^zH6rM#CZMow(S(8dcOq#5$kbHnQV6s?MRsU3et!!YK5H?OV9vf2qy-UHCn>}2d zTwI(A_fzmmCtE@10yAGgU7R&|Fl$unZJ_^0BgCEDE6(B*SzfkapE9#0N6adc>}dtH zJ#nt^F~@JMJg4=Pv}OdUHyPt-<<9Z&c0@H@^4U?KwZM&6q0XjXc$>K3c&3iXLD9_%(?)?2kmZ=Ykb;)M`Tw=%_d=e@9eheGG zk0<`4so}r={C{zr|6+_1mA_=a56(XyJq||g6Es1E6%fPg#l{r+vk9;)r6VB7D84nu zE0Z1EIxH{Y@}hT+|#$0xn+CdMy6Uhh80eK~nfMEIpM z`|G1v!USmx81nY8XkhEOSWto}pc#{Ut#`Pqb}9j$FpzkQ7`0<-@5D_!mrLah98Mpr zz(R7;ZcaR-$aKqUaO!j z=7QT;Bu0cvYBi+LDfE_WZ`e@YaE_8CCxoRc?Y_!Xjnz~Gl|aYjN2&NtT5v4#q3od2 zkCQZHe#bn(5P#J**Fj4Py%SaaAKJsmV6}F_6Z7V&n6QAu8UQ#9{gkq+tB=VF_Q6~^ zf(hXvhJ#tC(eYm6g|I>;55Lq-;yY*COpTp4?J}hGQ42MIVI9CgEC{3hYw#CZfFKVG zgD(steIg8veyqX%pYMoulq zMUmbj8I`t>mC`!kZ@A>@PYXy*@NprM@e}W2Q+s?XIRM-U1FHVLM~c60(yz1<46-*j zW*FjTnBh$EzI|B|MRU11^McTPIGVJrzozlv$1nah_|t4~u}Ht^S1@V8r@IXAkN;lH z_s|WHlN90k4X}*#neR5bX%}?;G`X!1#U~@X6bbhgDYKJK17~oFF0&-UB#()c$&V<0 z7o~Pfye$P@$)Lj%T;axz+G1L_YQ*#(qO zQND$QTz(~8EF1c3<%;>dAiD$>8j@7WS$G_+ktE|Z?Cx<}HJb=!aChR&4z ziD&FwsiZ)wxS4k6KTLn>d~!DJ^78yb>?Trmx;GLHrbCBy|Bip<@sWdAfP0I~;(Ybr zoc-@j?wA!$ zIP0m3;LZy+>dl#&Ymws@7|{i1+OFLYf@+8+)w}n?mHUBCqg2=-Hb_sBb?=q))N7Ej zDIL9%@xQFOA!(EQmchHiDN%Omrr;WvlPIN5gW;u#ByV)x2aiOd2smy&;vA2+V!u|D zc~K(OVI8} z0t|e0OQ7h23e01O;%SJ}Q#yeDh`|jZR7j-mL(T4E;{w^}2hzmf_6PF|`gWVj{I?^2T3MBK>{?nMXed4kgNox2DP!jvP9v`;pa6AV)OD zDt*Vd-x7s{-;E?E5}3p-V;Y#dB-@c5vTWfS7<=>E+tN$ME`Z7K$px@!%{5{uV`cH80|IzU! zDs9=$%75P^QKCRQ`mW7$q9U?mU@vrFMvx)NNDrI(uk>xwO;^($EUvqVev#{W&GdtR z0ew;Iwa}(-5D28zABlC{WnN{heSY5Eq5Fc=TN^9X#R}0z53!xP85#@;2E=&oNYHyo z46~#Sf!1M1X!rh}ioe`>G2SkPH{5nCoP`GT@}rH;-LP1Q7U_ypw4+lwsqiBql80aA zJE<(88yw$`xzNiSnU(hsyJqHGac<}{Av)x9lQ=&py9djsh0uc}6QkmKN3{P!TEy;P zzLDVQj4>+0r<9B0owxBt5Uz`!M_VSS|{(?`_e+qD9b=vZHoo6>?u;!IP zM7sqoyP>kWY|=v06gkhaGRUrO8n@zE?Yh8$om@8%=1}*!2wdIWsbrCg@;6HfF?TEN z+B_xtSvT6H3in#8e~jvD7eE|LTQhO_>3b823&O_l$R$CFvP@3~)L7;_A}JpgN@ax{ z2d9Ra)~Yh%75wsmHK8e87yAn-ZMiLo6#=<&PgdFsJw1bby-j&3%&4=9dQFltFR(VB z@=6XmyNN4yr^^o$ON8d{PQ=!OX17^CrdM~7D-;ZrC!||<+FEOxI_WI3 zCA<35va%4v>gcEX-@h8esj=a4szW7x z{0g$hwoWRQG$yK{@3mqd-jYiVofJE!Wok1*nV7Gm&Ssq#hFuvj1sRyHg(6PFA5U*Q z8Rx>-blOs=lb`qa{zFy&n4xY;sd$fE+<3EI##W$P9M{B3c3Si9gw^jlPU-JqD~Cye z;wr=XkV7BSv#6}DrsXWFJ3eUNrc%7{=^sP>rp)BWKA9<}^R9g!0q7yWlh;gr_TEOD|#BmGq<@IV;ue zg+D2}cjpp+dPf&Q(36sFU&K8}hA85U61faW&{lB`9HUl-WWCG|<1XANN3JVAkRYvr5U z4q6;!G*MTdSUt*Mi=z_y3B1A9j-@aK{lNvxK%p23>M&=KTCgR!Ee8c?DAO2_R?Bkaqr6^BSP!8dHXxj%N1l+V$_%vzHjq zvu7p@%Nl6;>y*S}M!B=pz=aqUV#`;h%M0rUHfcog>kv3UZAEB*g7Er@t6CF8kHDmK zTjO@rejA^ULqn!`LwrEwOVmHx^;g|5PHm#B6~YD=gjJ!043F+&#_;D*mz%Q60=L9O zve|$gU&~As5^uz@2-BfQ!bW)Khn}G+Wyjw-19qI#oB(RSNydn0t~;tAmK!P-d{b-@ z@E5|cdgOS#!>%#Rj6ynkMvaW@37E>@hJP^82zk8VXx|3mR^JCcWdA|t{0nPmYFOxN z55#^-rlqobcr==<)bi?E?SPymF*a5oDDeSdO0gx?#KMoOd&G(2O@*W)HgX6y_aa6i zMCl^~`{@UR`nMQE`>n_{_aY5nA}vqU8mt8H`oa=g0SyiLd~BxAj2~l$zRSDHxvDs; zI4>+M$W`HbJ|g&P+$!U7-PHX4RAcR0szJ*(e-417=bO2q{492SWrqDK+L3#ChUHtz z*@MP)e^%@>_&#Yk^1|tv@j4%3T)diEXATx4K*hcO`sY$jk#jN5WD<=C3nvuVs zRh||qDHnc~;Kf59zr0;c7VkVSUPD%NnnJC_l3F^#f_rDu8l}l8qcAz0FFa)EAt32I zUy_JLIhU_J^l~FRH&6-iv zSpG2PRqzDdMWft>Zc(c)#tb%wgmWN%>IOPmZi-noqS!^Ft zb81pRcQi`X#UhWK70hy4tGW1mz|+vI8c*h@fFGJtW3r>qV>1Z0r|L>7I3un^gcep$ zAAWfZHRvB|E*kktY$qQP_$YG60C z@X~tTQjB3%@`uz!qxtxF+LE!+=nrS^07hn`EgAp!h|r03h7B!$#OZW#ACD+M;-5J!W+{h z|6I;5cNnE(Y863%1(oH}_FTW})8zYb$7czPg~Szk1+_NTm6SJ0MS_|oSz%e(S~P-& zSFp;!k?uFayytV$8HPwuyELSXOs^27XvK-DOx-Dl!P|28DK6iX>p#Yb%3`A&CG0X2 zS43FjN%IB}q(!hC$fG}yl1y9W&W&I@KTg6@K^kpH8=yFuP+vI^+59|3%Zqnb5lTDAykf9S#X`3N(X^SpdMyWQGOQRjhiwlj!0W-yD<3aEj^ z&X%=?`6lCy~?`&WSWt?U~EKFcCG_RJ(Qp7j=$I%H8t)Z@6Vj zA#>1f@EYiS8MRHZphpMA_5`znM=pzUpBPO)pXGYpQ6gkine{ z6u_o!P@Q+NKJ}k!_X7u|qfpAyIJb$_#3@wJ<1SE2Edkfk9C!0t%}8Yio09^F`YGzp zaJHGk*-ffsn85@)%4@`;Fv^8q(-Wk7r=Q8pT&hD`5(f?M{gfzGbbwh8(}G#|#fDuk z7v1W)5H9wkorE0ZZjL0Q1=NRGY>zwgfm81DdoaVwNH;or{{e zSyybt)m<=zXoA^RALYG-2touH|L*BLvmm9cdMmn+KGopyR@4*=&0 z&4g|FLoreZOhRmh=)R0bg~T2(8V_q7~42-zvb)+y959OAv!V$u(O z3)%Es0M@CRFmG{5sovIq4%8Ahjk#*5w{+)+MWQoJI_r$HxL5km1#6(e@{lK3Udc~n z0@g`g$s?VrnQJ$!oPnb?IHh-1qA`Rz$)Ai<6w$-MJW-gKNvOhL+XMbE7&mFt`x1KY z>k4(!KbbpZ`>`K@1J<(#vVbjx@Z@(6Q}MF#Mnbr-f55)vXj=^j+#)=s+ThMaV~E`B z8V=|W_fZWDwiso8tNMTNse)RNBGi=gVwgg%bOg8>mbRN%7^Um-7oj4=6`$|(K7!+t^90a{$1 z8Z>}<#!bm%ZEFQ{X(yBZMc>lCz0f1I2w9SquGh<9<=AO&g6BZte6hn>Qmvv;Rt)*c zJfTr2=~EnGD8P$v3R|&1RCl&7)b+`=QGapiPbLg_pxm`+HZurtFZ;wZ=`Vk*do~$wBxoW&=j0OTbQ=Q%S8XJ%~qoa3Ea|au5 zo}_(P;=!y z-AjFrERh%8la!z6Fn@lR?^E~H12D? z8#ht=1F;7@o4$Q8GDj;sSC%Jfn01xgL&%F2wG1|5ikb^qHv&9hT8w83+yv&BQXOQy zMVJSBL(Ky~p)gU3#%|blG?I zR9rP^zUbs7rOA0X52Ao=GRt@C&zlyjNLv-}9?*x{y(`509qhCV*B47f2hLrGl^<@S zuRGR!KwHei?!CM10pBKpDIoBNyRuO*>3FU?HjipIE#B~y3FSfOsMfj~F9PNr*H?0o zHyYB^G(YyNh{SxcE(Y-`x5jFMKb~HO*m+R%rq|ic4fzJ#USpTm;X7K+E%xsT_3VHK ze?*uc4-FsILUH;kL>_okY(w`VU*8+l>o>JmiU#?2^`>arnsl#)*R&nf_%>A+qwl%o z{l(u)M?DK1^mf260_oteV3#E_>6Y4!_hhVDM8AI6MM2V*^_M^sQ0dmHu11fy^kOqX zqzps-c5efIKWG`=Es(9&S@K@)ZjA{lj3ea7_MBPk(|hBFRjHVMN!sNUkrB;(cTP)T97M$ z0Dtc&UXSec<+q?y>5=)}S~{Z@ua;1xt@=T5I7{`Z=z_X*no8s>mY;>BvEXK%b`a6(DTS6t&b!vf_z#HM{Uoy z_5fiB(zpkF{})ruka$iX*~pq1ZxD?q68dIoIZSVls9kFGsTwvr4{T_LidcWtt$u{k zJlW7moRaH6+A5hW&;;2O#$oKyEN8kx z`LmG)Wfq4ykh+q{I3|RfVpkR&QH_x;t41UwxzRFXt^E2B$domKT@|nNW`EHwyj>&< zJatrLQ=_3X%vd%nHh^z@vIk(<5%IRAa&Hjzw`TSyVMLV^L$N5Kk_i3ey6byDt)F^U zuM+Ub4*8+XZpnnPUSBgu^ijLtQD>}K;eDpe1bNOh=fvIfk`&B61+S8ND<(KC%>y&? z>opCnY*r5M+!UrWKxv0_QvTlJc>X#AaI^xoaRXL}t5Ej_Z$y*|w*$6D+A?Lw-CO-$ zitm^{2Ct82-<0IW)0KMNvJHgBrdsIR0v~=H?n6^}l{D``Me90`^o|q!olsF?UX3YS zq^6Vu>Ijm>>PaZI8G@<^NGw{Cx&%|PwYrfwR!gX_%AR=L3BFsf8LxI|K^J}deh0Zd zV?$3r--FEX`#INxsOG6_=!v)DI>0q|BxT)z-G6kzA01M?rba+G_mwNMQD1mbVbNTW zmBi*{s_v_Ft9m2Avg!^78(QFu&n6mbRJ2bAv!b;%yo{g*9l2)>tsZJOOp}U~8VUH`}$8p_}t*XIOehezolNa-a2x0BS})Y9}& z*TPgua{Ewn-=wVrmJUeU39EKx+%w%=ixQWKDLpwaNJs65#6o7Ln7~~X+p_o2BR1g~ zVCfxLzxA{HlWAI6^H;`juI=&r1jQrUv_q0Z1Ja-tjdktrrP>GOC*#p?*xfQU5MqjM zsBe!9lh(u8)w$e@Z|>aUHI5o;MGw*|Myiz3-f0;pHg~Q#%*Kx8MxH%AluVXjG2C$) zWL-K63@Q`#y9_k_+}eR(x4~dp7oV-ek0H>Igy8p#i4GN{>#v=pFYUQT(g&b$OeTy- zX_#FDgNF8XyfGY6R!>inYn8IR2RDa&O!(6NIHrC0H+Qpam1bNa=(`SRKjixBTtm&e z`j9porEci!zdlg1RI0Jw#b(_Tb@RQK1Zxr_%7SUeH6=TrXt3J@js`4iDD0=I zoHhK~I7^W8^Rcp~Yaf>2wVe|Hh1bXa_A{oZ9eG$he;_xYvTbTD#moBy zY57-f2Ef1TP^lBi&p5_s7WGG9|0T}dlfxOxXvScJO1Cnq`c`~{Dp;{;l<-KkCDE+p zmexJkd}zCgE{eF=)K``-qC~IT6GcRog_)!X?fK^F8UDz$(zFUrwuR$qro5>qqn>+Z z%<5>;_*3pZ8QM|yv9CAtrAx;($>4l^_$_-L*&?(77!-=zvnCVW&kUcZMb6;2!83si z518Y%R*A3JZ8Is|kUCMu`!vxDgaWjs7^0j(iTaS4HhQ)ldR=r)_7vYFUr%THE}cPF z{0H45FJ5MQW^+W>P+eEX2kLp3zzFe*-pFVAdDZRybv?H|>`9f$AKVjFWJ=wegO7hO zOIYCtd?Vj{EYLT*^gl35|HbMX|NAEUf2ra9dy1=O;figB>La=~eA^#>O6n4?EMugV zbbt{Dbfef5l^(;}5kZ@!XaWwF8z0vUr6r|+QN*|WpF z^*osUHzOnE$lHuWYO$G7>}Y)bY0^9UY4eDV`E{s+{}Z$O$2*lMEYl zTA`ki(<0(Yrm~}15V-E^e2W6`*`%ydED-3G@$UFm6$ZtLx z+av`BhsHcAWqdxPWfu2*%{}|Sptax4_=NpDMeWy$* zZM6__s`enB$~0aT1BU^2k`J9F%+n+lL_|8JklWOCVYt*0%o*j4w1CsB_H^tVpYT_LLyKuyk=CV6~1M<7~^FylL*+AIFf3h>J=x$ygY-BG}4LJ z8XxYPY!v7dO3PVwEoY=`)6krokmR^|Mg5ztX_^#QR}ibr^X-|_St#rtv3gukh0(#A=};NPlNz57ZDFJ9hf#NP50zS)+Fo=StX)i@ zWS?W}i6LjB>kAB~lupAPyIjFb)izFgRq*iS*(Jt509jNr3r72{Gj`5DGoj;J&k5G@Rm!dJ($ox>SbxR)fc zz|Phug;~A7!p@?|mMva@rWuf2fSDK_ZxN3vVmlYz>rrf?LpiNs)^z!y{As@`55JC~ zS*GD3#N-ptY!2<613UelAJ;M4EEI$dm)`8#n$|o{ce^dlyoUY3bsy2hgnj-;ovubb zg2h1rZA6Ot}K_cpYBpIuF&CyK~5R0Wv;kG|3A^8K3nk{rw$Be8u@aos#qvKQKJyVU$cX6biw&Ep#+q7upFX z%qo&`WZ){<%zh@BTl{MO@v9#;t+cb7so0Uz49Fmo1e4>y!vUyIHadguZS0T7-x#_drMXz*16*c zymR0u^`ZQpXN}2ofegbpSedL%F9aypdQcrzjzPlBW0j zMlPzC&ePZ@Cq!?d%9oQNEg0`rHALm8l#lUdXMVEqDvb(AID~H(?H9z!e9G98fG@IzhajKr)3{L_Clu1(Bwg`RM!-(MOuZi zbeDsj9I3(~EITsE=3Z)a|l_rn8W92U0DB70gF7YYfO0j!)h?QobY1lSR>0 z_TVw@$eP~3k8r9;%g%RlZzCJ2%f}DvY`rsZ$;ak&^~-`i%B%+O!pnADeVyV!dHj|} zzOj#q4eRx9Q8c2Z7vy9L&fGLj+3_?fp}+8o`Xpwyi(81H|7P8#65%FIS*lOi={o&v z4NV$xu7az4Nb50dRGZv<tdZCx4Ek<_o3!mAT} zL5l*|K3Qr-)W8paaG z&R6{ped_4e2cy}ejD0!dt{*PaC*^L@eB%(1Fmc%Y#4)~!jF#lCGfj#E??4LG-T;!M z>Uha}f;W>ib_ZL-I7-v9KZQls^G!-JmL^w;=^}?!RXK;m4$#MwI2AH-l7M2-0 zVMK8k^+4+>2S0k^N_40EDa#`7c;2!&3-o6MHsnBfRnq@>E@)=hDulVq-g5SQWDWbt zj6H5?QS2gRZ^Zvbs~cW|8jagJV|;^zqC0e=D1oUsQPJ3MCb+eRGw(XgIY9y8v_tXq z9$(xWntWpx_Uronmvho{JfyYdV{L1N$^s^|-Nj`Ll`lUsiWTjm&8fadUGMXreJGw$ zQ**m+Tj|(XG}DyUKY~2?&9&n6SJ@9VKa9Hcayv{ar^pNr0WHy zP$bQv&8O!vd;GoT!pLwod-42qB^`m!b7nP@YTX}^+1hzA$}LSLh}Ln|?`%8xGMazw z8WT!LoYJ-Aq3=2p6ZSP~uMgSSWv3f`&-I06tU}WhZsA^6nr&r17hjQIZE>^pk=yZ% z06}dfR$85MjWJPq)T?OO(RxoaF+E#4{Z7)i9}Xsb;Nf+dzig61HO;@JX1Lf9)R5j9)Oi6vPL{H z&UQ9ln=$Q8jnh6-t;`hKM6pHftdd?$=1Aq16jty4-TF~`Gx=C&R242uxP{Y@Q~%O3 z*(16@x+vJsbW@^3tzY=-5MHi#(kB};CU%Ep`mVY1j$MAPpYJBB3x$ue`%t}wZ-@CG z(lBv36{2HMjxT)2$n%(UtHo{iW9>4HX4>)%k8QNnzIQYXrm-^M%#Qk%9odbUrZDz1YPdY`2Z4w~p!5tb^m(mUfk}kZ9+EsmenQ)5iwiaulcy zCJ#2o4Dz?@%)aAKfVXYMF;3t@aqNh2tBBlBkCdj`F31b=h93y(46zQ-YK@+zX5qM9 z&=KkN&3@Ptp*>UD$^q-WpG|9O)HBXz{D>p!`a36aPKkgz7uxEo0J>-o+4HHVD9!Hn z${LD0d{tuGsW*wvZoHc8mJroAs(3!FK@~<}Pz1+vY|Gw}Lwfxp{4DhgiQ_SSlV)E| zZWZxYZLu2EB1=g_y@(ieCQC_1?WNA0J0*}eMZfxCCs>oL;?kHdfMcKB+A)Qull$v( z2x6(38utR^-(?DG>d1GyU()8>ih3ud0@r&I$`ZSS<*1n6(76=OmP>r_JuNCdS|-8U zxGKXL1)Lc2kWY@`_kVBt^%7t9FyLVYX(g%a6>j=yURS1!V<9ieT$$5R+yT!I>}jI5 z?fem|T=Jq;BfZmsvqz_Ud*m5;&xE66*o*S22vf-L+MosmUPPA}~wy`kntf8rIeP-m;;{`xe}9E~G7J!PYoVH_$q~NzQab?F8vWUja5BJ!T5%5IpyqI#Dkps0B;gQ*z?c#N>spFw|wRE$gY?y4wQbJ zku2sVLh({KQz6e0yo+X!rV#8n8<;bHWd{ZLL_(*9Oi)&*`LBdGWz>h zx+p`Wi00u#V$f=CcMmEmgFjw+KnbK3`mbaKfoCsB{;Q^oJgj*LWnd_(dk9Kcssbj` z?*g8l`%{*LuY!Ls*|Tm`1Gv-tRparW8q4AK(5pfJFY5>@qO( zcY>pt*na>LlB^&O@YBDnWLE$x7>pMdSmb-?qMh79eB+Wa{)$%}^kX@Z3g>fytppz! zl%>pMD(Yw+5=!UgYHLD69JiJ;YhiGeEyZM$Au{ff;i zCBbNQfO{d!b7z^F732XX&qhEsJA1UZtJjJEIPyDq+F`LeAUU_4`%2aTX#3NG3%W8u zC!7OvlB?QJ4s2#Ok^_8SKcu&pBd}L?vLRT8Kow#xARt`5&Cg=ygYuz>>c z4)+Vv$;<$l=is&E{k&4Lf-Lzq#BHuWc;wDfm4Fbd5Sr!40s{UpKT$kzmUi{V0t1yp zPOf%H8ynE$x@dQ_!+ISaI}#%72UcYm7~|D*(Fp8xiFAj$CmQ4oH3C+Q8W=Y_9Sp|B z+k<%5=y{eW=YvTivV(*KvC?qxo)xqcEU9(Te=?ITts~;xA0Jph-vpd4@Zw#?r2!`? zB3#XtIY^wxrpjJv&(7Xjvm>$TIg2ZC&+^j(gT0R|&4cb)=92-2Hti1`& z=+M;*O%_j3>9zW|3h{0Tfh5i)Fa;clGNJpPRcUmgErzC{B+zACiPHbff3SmsCZ&X; zp=tgI=zW-t(5sXFL8;ITHw0?5FL3+*z5F-KcLN130l=jAU6%F=DClRPrzO|zY+HD`zlZ-)JT}X?2g!o zxg4Ld-mx6&*-N0-MQ(z+zJo8c`B39gf{-h2vqH<=^T&o1Dgd>4BnVht+JwLcrjJl1 zsP!8`>3-rSls07q2i1hScM&x0lQyBbk(U=#3hI7Bkh*kj6H*&^p+J?OMiT_3*vw5R zEl&p|QQHZq6f~TlAeDGy(^BC0vUK?V&#ezC0*#R-h}_8Cw8-*${mVfHssathC8%VA zUE^Qd!;Rvym%|f@?-!sEj|73Vg8!$$zj_QBZAOraF5HCFKl=(Ac|_p%-P;6z<2WSf zz(9jF2x7ZR{w+p)ETCW06PVt0YnZ>gW9^sr&~`%a_7j-Ful~*4=o|&TM@k@Px2z>^ t{*Ed16F~3V5p+(suF-++X8+nHtT~NSfJ>UC3v)>lEpV}<+rIR_{{yMcG_L>v literal 0 HcmV?d00001 diff --git a/protocol/java/src/solarxr_protocol/MessageBundle.java b/protocol/java/src/solarxr_protocol/MessageBundle.java index 052e1d86..ca367250 100644 --- a/protocol/java/src/solarxr_protocol/MessageBundle.java +++ b/protocol/java/src/solarxr_protocol/MessageBundle.java @@ -2,10 +2,22 @@ package solarxr_protocol; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * MessageBundle contains all of the messages for the data feed system and the @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class MessageBundle extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static MessageBundle getRootAsMessageBundle(ByteBuffer _bb) { return getRootAsMessageBundle(_bb, new MessageBundle()); } public static MessageBundle getRootAsMessageBundle(ByteBuffer _bb, MessageBundle obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/MessageBundleT.java b/protocol/java/src/solarxr_protocol/MessageBundleT.java index 00805f50..1f694680 100644 --- a/protocol/java/src/solarxr_protocol/MessageBundleT.java +++ b/protocol/java/src/solarxr_protocol/MessageBundleT.java @@ -2,10 +2,22 @@ package solarxr_protocol; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class MessageBundleT { private solarxr_protocol.data_feed.DataFeedMessageHeaderT[] dataFeedMsgs; diff --git a/protocol/java/src/solarxr_protocol/data_feed/Bone.java b/protocol/java/src/solarxr_protocol/data_feed/Bone.java index 50ce5072..d0f42eda 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/Bone.java +++ b/protocol/java/src/solarxr_protocol/data_feed/Bone.java @@ -2,14 +2,26 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class Bone extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static Bone getRootAsBone(ByteBuffer _bb) { return getRootAsBone(_bb, new Bone()); } public static Bone getRootAsBone(ByteBuffer _bb, Bone obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/BoneT.java b/protocol/java/src/solarxr_protocol/data_feed/BoneT.java index a175e794..5d1e4e99 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/BoneT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/BoneT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class BoneT { private int bodyPart; diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java index fbb2cc16..5c4e69f2 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * All information related to the configuration of a data feed. This may be sent @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class DataFeedConfig extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DataFeedConfig getRootAsDataFeedConfig(ByteBuffer _bb) { return getRootAsDataFeedConfig(_bb, new DataFeedConfig()); } public static DataFeedConfig getRootAsDataFeedConfig(ByteBuffer _bb, DataFeedConfig obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java index 918d3c85..6be942a2 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DataFeedConfigT { private int minimumTimeSinceLast; diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java index 29078571..56ae9283 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java @@ -2,14 +2,26 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class DataFeedMessageHeader extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DataFeedMessageHeader getRootAsDataFeedMessageHeader(ByteBuffer _bb) { return getRootAsDataFeedMessageHeader(_bb, new DataFeedMessageHeader()); } public static DataFeedMessageHeader getRootAsDataFeedMessageHeader(ByteBuffer _bb, DataFeedMessageHeader obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java index 39d954f5..7296d9eb 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DataFeedMessageHeaderT { private solarxr_protocol.data_feed.DataFeedMessageUnion message; diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java index 9d8a51b3..908e04f7 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * All of the data components related to a single data feed. A data feed is comprised @@ -18,7 +30,7 @@ */ @SuppressWarnings("unused") public final class DataFeedUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DataFeedUpdate getRootAsDataFeedUpdate(ByteBuffer _bb) { return getRootAsDataFeedUpdate(_bb, new DataFeedUpdate()); } public static DataFeedUpdate getRootAsDataFeedUpdate(ByteBuffer _bb, DataFeedUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java index a80e0eb2..9d98de34 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DataFeedUpdateT { private solarxr_protocol.data_feed.device_data.DeviceDataT[] devices; diff --git a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java index b008a7eb..73db3ef9 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java +++ b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Requests for a single `Update` to be sent. This is helpful when getting @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class PollDataFeed extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static PollDataFeed getRootAsPollDataFeed(ByteBuffer _bb) { return getRootAsPollDataFeed(_bb, new PollDataFeed()); } public static PollDataFeed getRootAsPollDataFeed(ByteBuffer _bb, PollDataFeed obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java index 607aefe2..ab5a9b75 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class PollDataFeedT { private solarxr_protocol.data_feed.DataFeedConfigT config; diff --git a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java index e03423c8..40835475 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java +++ b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Requests for the other party to send `data_feeds`. @@ -19,7 +31,7 @@ */ @SuppressWarnings("unused") public final class StartDataFeed extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StartDataFeed getRootAsStartDataFeed(ByteBuffer _bb) { return getRootAsStartDataFeed(_bb, new StartDataFeed()); } public static StartDataFeed getRootAsStartDataFeed(ByteBuffer _bb, StartDataFeed obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java index 0e169ac7..8e7edd4f 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StartDataFeedT { private solarxr_protocol.data_feed.DataFeedConfigT[] dataFeeds; diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java index bcdd6cef..f1fb5e2c 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.device_data; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Describes all possible information about a hardware device. For example, a @@ -14,7 +26,7 @@ */ @SuppressWarnings("unused") public final class DeviceData extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DeviceData getRootAsDeviceData(ByteBuffer _bb) { return getRootAsDeviceData(_bb, new DeviceData()); } public static DeviceData getRootAsDeviceData(ByteBuffer _bb, DeviceData obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java index 637c0be2..6851cf8c 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.device_data; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * A mask of values to be reported in subsequent DeviceStatus. Values set to `false` @@ -17,7 +29,7 @@ */ @SuppressWarnings("unused") public final class DeviceDataMask extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DeviceDataMask getRootAsDeviceDataMask(ByteBuffer _bb) { return getRootAsDeviceDataMask(_bb, new DeviceDataMask()); } public static DeviceDataMask getRootAsDeviceDataMask(ByteBuffer _bb, DeviceDataMask obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java index 3e8f8e68..97be9a58 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.device_data; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DeviceDataMaskT { private solarxr_protocol.data_feed.tracker.TrackerDataMaskT trackerData; diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java index 071bc66a..f8a32bfa 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.device_data; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DeviceDataT { private solarxr_protocol.datatypes.DeviceIdT id; diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java index 1099e622..184490a8 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java @@ -2,14 +2,26 @@ package solarxr_protocol.data_feed.stay_aligned; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class StayAlignedPose extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StayAlignedPose getRootAsStayAlignedPose(ByteBuffer _bb) { return getRootAsStayAlignedPose(_bb, new StayAlignedPose()); } public static StayAlignedPose getRootAsStayAlignedPose(ByteBuffer _bb, StayAlignedPose obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java index e4dcf7c3..79e57db0 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.stay_aligned; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StayAlignedPoseT { private float upperLegAngleInDeg; diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java index 8f3826dc..b4d3e7d9 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java @@ -2,14 +2,26 @@ package solarxr_protocol.data_feed.stay_aligned; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class StayAlignedTracker extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StayAlignedTracker getRootAsStayAlignedTracker(ByteBuffer _bb) { return getRootAsStayAlignedTracker(_bb, new StayAlignedTracker()); } public static StayAlignedTracker getRootAsStayAlignedTracker(ByteBuffer _bb, StayAlignedTracker obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java index 153df5e4..fa634575 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.stay_aligned; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StayAlignedTrackerT { private float yawCorrectionInDeg; diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java index f7b59f34..0e09b8bb 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.tracker; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Describes all possible information about a tracker. A tracker is anything that @@ -16,7 +28,7 @@ */ @SuppressWarnings("unused") public final class TrackerData extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TrackerData getRootAsTrackerData(ByteBuffer _bb) { return getRootAsTrackerData(_bb, new TrackerData()); } public static TrackerData getRootAsTrackerData(ByteBuffer _bb, TrackerData obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java index 60589191..c40516fc 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java @@ -2,17 +2,29 @@ package solarxr_protocol.data_feed.tracker; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * A mask of the different components in `TrackerComponent` */ @SuppressWarnings("unused") public final class TrackerDataMask extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TrackerDataMask getRootAsTrackerDataMask(ByteBuffer _bb) { return getRootAsTrackerDataMask(_bb, new TrackerDataMask()); } public static TrackerDataMask getRootAsTrackerDataMask(ByteBuffer _bb, TrackerDataMask obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java index c7abdbca..b0439d36 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.tracker; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TrackerDataMaskT { private boolean info; diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java index 82d9e946..354deb8a 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.tracker; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TrackerDataT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java index ce0846af..9d19e32c 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java @@ -2,17 +2,29 @@ package solarxr_protocol.data_feed.tracker; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Static description of a tracker */ @SuppressWarnings("unused") public final class TrackerInfo extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TrackerInfo getRootAsTrackerInfo(ByteBuffer _bb) { return getRootAsTrackerInfo(_bb, new TrackerInfo()); } public static TrackerInfo getRootAsTrackerInfo(ByteBuffer _bb, TrackerInfo obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java index b516b47b..03fe1f0b 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java @@ -2,10 +2,22 @@ package solarxr_protocol.data_feed.tracker; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TrackerInfoT { private int imuType; diff --git a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java index af2ed3a6..051104c5 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java +++ b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java @@ -62,14 +62,8 @@ private BodyPart() { } public static final int RIGHT_LITTLE_PROXIMAL = 52; public static final int RIGHT_LITTLE_INTERMEDIATE = 53; public static final int RIGHT_LITTLE_DISTAL = 54; - public static final int LEFT_TOE_1 = 55; - public static final int LEFT_TOE_2 = 56; - public static final int LEFT_TOE_3 = 57; - public static final int RIGHT_TOE_1 = 58; - public static final int RIGHT_TOE_2 = 59; - public static final int RIGHT_TOE_3 = 60; - public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3" }; + public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", }; public static String name(int e) { return names[e]; } } diff --git a/protocol/java/src/solarxr_protocol/datatypes/Bytes.java b/protocol/java/src/solarxr_protocol/datatypes/Bytes.java index 6129209f..d422e7fb 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Bytes.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Bytes.java @@ -2,14 +2,26 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class Bytes extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static Bytes getRootAsBytes(ByteBuffer _bb) { return getRootAsBytes(_bb, new Bytes()); } public static Bytes getRootAsBytes(ByteBuffer _bb, Bytes obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/BytesT.java b/protocol/java/src/solarxr_protocol/datatypes/BytesT.java index 5d757e8f..c2c3c863 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/BytesT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/BytesT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class BytesT { private int[] b; diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java index 3a0f7b18..6b33056c 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * A unique ID for the device. IDs are not guaranteed to be the same after diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java index 2901e01e..67cc570e 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DeviceIdT { private int id; diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java index 430d2cfb..7c178846 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java @@ -2,17 +2,29 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * To be used inside unions */ @SuppressWarnings("unused") public final class DeviceIdTable extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DeviceIdTable getRootAsDeviceIdTable(ByteBuffer _bb) { return getRootAsDeviceIdTable(_bb, new DeviceIdTable()); } public static DeviceIdTable getRootAsDeviceIdTable(ByteBuffer _bb, DeviceIdTable obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java index bb158295..37d0abb4 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DeviceIdTableT { private solarxr_protocol.datatypes.DeviceIdT id; diff --git a/protocol/java/src/solarxr_protocol/datatypes/HzF32.java b/protocol/java/src/solarxr_protocol/datatypes/HzF32.java index 4d0a31bc..148c4537 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/HzF32.java +++ b/protocol/java/src/solarxr_protocol/datatypes/HzF32.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Frequency as 32 bit float diff --git a/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java b/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java index 5455f534..33b8248a 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java +++ b/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HzF32T { private float f; diff --git a/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java b/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java index 863329a9..2fbc0b3e 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * The 4 bytes of an ip address are stored in 32 bits in big endian order. diff --git a/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java b/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java index 86ee8ad7..12b7a4b6 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class Ipv4AddressT { private long addr; diff --git a/protocol/java/src/solarxr_protocol/datatypes/LogData.java b/protocol/java/src/solarxr_protocol/datatypes/LogData.java index 3d9e7e12..18ecf40c 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/LogData.java +++ b/protocol/java/src/solarxr_protocol/datatypes/LogData.java @@ -2,17 +2,29 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * General purpose logging datatype */ @SuppressWarnings("unused") public final class LogData extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static LogData getRootAsLogData(ByteBuffer _bb) { return getRootAsLogData(_bb, new LogData()); } public static LogData getRootAsLogData(ByteBuffer _bb, LogData obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java b/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java index 64ee8e53..b595233c 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class LogDataT { private String message; diff --git a/protocol/java/src/solarxr_protocol/datatypes/StringTable.java b/protocol/java/src/solarxr_protocol/datatypes/StringTable.java index 764517d3..fe120c8c 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/StringTable.java +++ b/protocol/java/src/solarxr_protocol/datatypes/StringTable.java @@ -2,14 +2,26 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class StringTable extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StringTable getRootAsStringTable(ByteBuffer _bb) { return getRootAsStringTable(_bb, new StringTable()); } public static StringTable getRootAsStringTable(ByteBuffer _bb, StringTable obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java b/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java index 193f556d..abdd4623 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StringTableT { private String s; diff --git a/protocol/java/src/solarxr_protocol/datatypes/Temperature.java b/protocol/java/src/solarxr_protocol/datatypes/Temperature.java index 917142b7..40fae083 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Temperature.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Temperature.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Temperature in degrees celsius diff --git a/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java b/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java index 7d1d8268..03473dd6 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TemperatureT { private float temp; diff --git a/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java b/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java index 252e7b43..7246e62d 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java @@ -2,14 +2,26 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class TrackerId extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TrackerId getRootAsTrackerId(ByteBuffer _bb) { return getRootAsTrackerId(_bb, new TrackerId()); } public static TrackerId getRootAsTrackerId(ByteBuffer _bb, TrackerId obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java b/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java index 35ad561e..d0975f5a 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TrackerIdT { private solarxr_protocol.datatypes.DeviceIdT deviceId; diff --git a/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java b/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java index 7699e024..2b4d5e08 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class TransactionId extends Struct { diff --git a/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java b/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java index 0bbfd947..c323796f 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TransactionIdT { private long id; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java index 3abfaca2..c19a87f6 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java @@ -2,17 +2,29 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * A mask of the data in `FirmwareStatus` */ @SuppressWarnings("unused") public final class FirmwareStatusMask extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static FirmwareStatusMask getRootAsFirmwareStatusMask(ByteBuffer _bb) { return getRootAsFirmwareStatusMask(_bb, new FirmwareStatusMask()); } public static FirmwareStatusMask getRootAsFirmwareStatusMask(ByteBuffer _bb, FirmwareStatusMask obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java index 48d8f157..87f876bd 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class FirmwareStatusMaskT { private boolean errorStatus; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java index 101fc32e..6a775df6 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * A MAC address or a bluetooth address, or some other uniquely identifying address diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java index 621d89a5..4d51b25f 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HardwareAddressT { private long addr; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java index e081f2c5..4a6b8e84 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java @@ -2,17 +2,29 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Mostly static info about the device's hardware/firmware. */ @SuppressWarnings("unused") public final class HardwareInfo extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static HardwareInfo getRootAsHardwareInfo(ByteBuffer _bb) { return getRootAsHardwareInfo(_bb, new HardwareInfo()); } public static HardwareInfo getRootAsHardwareInfo(ByteBuffer _bb, HardwareInfo obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java index f6494e81..bdb0939a 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HardwareInfoT { private int mcuId; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java index 371c9734..3792e0f8 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java @@ -2,17 +2,29 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Mostly-dynamic status info about a tracked device's firmware */ @SuppressWarnings("unused") public final class HardwareStatus extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static HardwareStatus getRootAsHardwareStatus(ByteBuffer _bb) { return getRootAsHardwareStatus(_bb, new HardwareStatus()); } public static HardwareStatus getRootAsHardwareStatus(ByteBuffer _bb, HardwareStatus obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java index 9df8f160..8304e94a 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.hardware_info; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HardwareStatusT { private Integer errorStatus; diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java b/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java index 3f51df79..3f7f4649 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.math; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class Quat extends Struct { diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java b/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java index b5f97270..d94c97e0 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.math; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class QuatT { private float x; diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java index 27ba51d8..36e829ac 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.math; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class Vec3f extends Struct { diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java index f24ef60c..48778ee5 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java @@ -2,10 +2,22 @@ package solarxr_protocol.datatypes.math; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class Vec3fT { private float x; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java b/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java index f5a4c6b8..f27fd8b7 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java @@ -2,14 +2,26 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class KeyValues extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static KeyValues getRootAsKeyValues(ByteBuffer _bb) { return getRootAsKeyValues(_bb, new KeyValues()); } public static KeyValues getRootAsKeyValues(ByteBuffer _bb, KeyValues obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java b/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java index 7616240d..9ccb5006 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class KeyValuesT { private String[] keys; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/Message.java b/protocol/java/src/solarxr_protocol/pub_sub/Message.java index 8989e5ee..7c5a5cf7 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/Message.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/Message.java @@ -2,17 +2,29 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Data that is sent from publishers to subscribers */ @SuppressWarnings("unused") public final class Message extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static Message getRootAsMessage(ByteBuffer _bb) { return getRootAsMessage(_bb, new Message()); } public static Message getRootAsMessage(ByteBuffer _bb, Message obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java b/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java index 87b3aa5d..8555949b 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class MessageT { private solarxr_protocol.pub_sub.TopicUnion topic; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java index e64ffd83..2443863b 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java @@ -2,14 +2,26 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class PubSubHeader extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static PubSubHeader getRootAsPubSubHeader(ByteBuffer _bb) { return getRootAsPubSubHeader(_bb, new PubSubHeader()); } public static PubSubHeader getRootAsPubSubHeader(ByteBuffer _bb, PubSubHeader obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java index 7098f81b..0f4548cc 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class PubSubHeaderT { private solarxr_protocol.pub_sub.PubSubUnionUnion u; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java index cd05f42a..0768cf3b 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Requests a subscription to `topic`. Replies with a `TopicMapping`. */ @SuppressWarnings("unused") public final class SubscriptionRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SubscriptionRequest getRootAsSubscriptionRequest(ByteBuffer _bb) { return getRootAsSubscriptionRequest(_bb, new SubscriptionRequest()); } public static SubscriptionRequest getRootAsSubscriptionRequest(ByteBuffer _bb, SubscriptionRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java index f17a8e0b..332eed1b 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SubscriptionRequestT { private solarxr_protocol.pub_sub.TopicUnion topic; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java index 0f91d6c5..3f270362 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * A handle for the topic, allows referencing a topic without sending a huge @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class TopicHandle extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TopicHandle getRootAsTopicHandle(ByteBuffer _bb) { return getRootAsTopicHandle(_bb, new TopicHandle()); } public static TopicHandle getRootAsTopicHandle(ByteBuffer _bb, TopicHandle obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java index 5333e954..f32ba7a5 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Request to get the `FeatureHandle` from a `FeatureId`. This is useful for reducing @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class TopicHandleRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TopicHandleRequest getRootAsTopicHandleRequest(ByteBuffer _bb) { return getRootAsTopicHandleRequest(_bb, new TopicHandleRequest()); } public static TopicHandleRequest getRootAsTopicHandleRequest(ByteBuffer _bb, TopicHandleRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java index acf0811f..336e19e2 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TopicHandleRequestT { private solarxr_protocol.pub_sub.TopicIdT id; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java index deaa0d32..d64e7c17 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TopicHandleT { private int id; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java index 8a43f7f7..75baa5b4 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * A `TopicId` identifies an application-specific category of data. Because it @@ -18,7 +30,7 @@ */ @SuppressWarnings("unused") public final class TopicId extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TopicId getRootAsTopicId(ByteBuffer _bb) { return getRootAsTopicId(_bb, new TopicId()); } public static TopicId getRootAsTopicId(ByteBuffer _bb, TopicId obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java index 8359c964..1b1ce578 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TopicIdT { private String organization; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java index 2672edd6..ab2725f9 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java @@ -2,17 +2,29 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Response for `TopicHandleRequest` or `SubscriptionRequest`. */ @SuppressWarnings("unused") public final class TopicMapping extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TopicMapping getRootAsTopicMapping(ByteBuffer _bb) { return getRootAsTopicMapping(_bb, new TopicMapping()); } public static TopicMapping getRootAsTopicMapping(ByteBuffer _bb, TopicMapping obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java index 8429afa4..f31b048c 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java @@ -2,10 +2,22 @@ package solarxr_protocol.pub_sub; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TopicMappingT { private solarxr_protocol.pub_sub.TopicIdT id; diff --git a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java index cd34f224..eb2a19e9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class AddUnknownDeviceRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AddUnknownDeviceRequest getRootAsAddUnknownDeviceRequest(ByteBuffer _bb) { return getRootAsAddUnknownDeviceRequest(_bb, new AddUnknownDeviceRequest()); } public static AddUnknownDeviceRequest getRootAsAddUnknownDeviceRequest(ByteBuffer _bb, AddUnknownDeviceRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java index d3e8af2d..2a2a1d66 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AddUnknownDeviceRequestT { private String macAddress; diff --git a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java index 466465ca..8447ee2c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class AssignTrackerRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AssignTrackerRequest getRootAsAssignTrackerRequest(ByteBuffer _bb) { return getRootAsAssignTrackerRequest(_bb, new AssignTrackerRequest()); } public static AssignTrackerRequest getRootAsAssignTrackerRequest(ByteBuffer _bb, AssignTrackerRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java index 3b225750..61e7e0cf 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AssignTrackerRequestT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java index b4624483..55089368 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Applies the estimated proportions */ @SuppressWarnings("unused") public final class AutoBoneApplyRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AutoBoneApplyRequest getRootAsAutoBoneApplyRequest(ByteBuffer _bb) { return getRootAsAutoBoneApplyRequest(_bb, new AutoBoneApplyRequest()); } public static AutoBoneApplyRequest getRootAsAutoBoneApplyRequest(ByteBuffer _bb, AutoBoneApplyRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java index 0041d3e9..51993f41 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AutoBoneApplyRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java index e09d6fd5..b6d3364d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Cancels the current recording, aborting the process and discarding the data */ @SuppressWarnings("unused") public final class AutoBoneCancelRecordingRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AutoBoneCancelRecordingRequest getRootAsAutoBoneCancelRecordingRequest(ByteBuffer _bb) { return getRootAsAutoBoneCancelRecordingRequest(_bb, new AutoBoneCancelRecordingRequest()); } public static AutoBoneCancelRecordingRequest getRootAsAutoBoneCancelRecordingRequest(ByteBuffer _bb, AutoBoneCancelRecordingRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java index 204f792a..55379cec 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AutoBoneCancelRecordingRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java index ae921c3c..fc136490 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class AutoBoneEpochResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AutoBoneEpochResponse getRootAsAutoBoneEpochResponse(ByteBuffer _bb) { return getRootAsAutoBoneEpochResponse(_bb, new AutoBoneEpochResponse()); } public static AutoBoneEpochResponse getRootAsAutoBoneEpochResponse(ByteBuffer _bb, AutoBoneEpochResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java index 7fa27895..a8a9ee0a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AutoBoneEpochResponseT { private long currentEpoch; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java index 785be773..659d72fb 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class AutoBoneProcessRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AutoBoneProcessRequest getRootAsAutoBoneProcessRequest(ByteBuffer _bb) { return getRootAsAutoBoneProcessRequest(_bb, new AutoBoneProcessRequest()); } public static AutoBoneProcessRequest getRootAsAutoBoneProcessRequest(ByteBuffer _bb, AutoBoneProcessRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java index 968cb38e..e60eef50 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AutoBoneProcessRequestT { private int processType; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java index eb121a3b..a0025b97 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class AutoBoneProcessStatusResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AutoBoneProcessStatusResponse getRootAsAutoBoneProcessStatusResponse(ByteBuffer _bb) { return getRootAsAutoBoneProcessStatusResponse(_bb, new AutoBoneProcessStatusResponse()); } public static AutoBoneProcessStatusResponse getRootAsAutoBoneProcessStatusResponse(ByteBuffer _bb, AutoBoneProcessStatusResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java index 88ca02a6..7c031faa 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AutoBoneProcessStatusResponseT { private int processType; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java index 15659d01..2322d797 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * https://github.com/SlimeVR/SlimeVR-Server/blob/v0.8.3/server/src/main/java/dev/slimevr/config/AutoBoneConfig.kt */ @SuppressWarnings("unused") public final class AutoBoneSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AutoBoneSettings getRootAsAutoBoneSettings(ByteBuffer _bb) { return getRootAsAutoBoneSettings(_bb, new AutoBoneSettings()); } public static AutoBoneSettings getRootAsAutoBoneSettings(ByteBuffer _bb, AutoBoneSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java index 0d62b83e..485af294 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AutoBoneSettingsT { private Integer cursorIncrement; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java index 2745273a..8ec488d8 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Stops the current recording, using it as far as it has been recorded */ @SuppressWarnings("unused") public final class AutoBoneStopRecordingRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static AutoBoneStopRecordingRequest getRootAsAutoBoneStopRecordingRequest(ByteBuffer _bb) { return getRootAsAutoBoneStopRecordingRequest(_bb, new AutoBoneStopRecordingRequest()); } public static AutoBoneStopRecordingRequest getRootAsAutoBoneStopRecordingRequest(ByteBuffer _bb, AutoBoneStopRecordingRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java index 6c851608..f7cbb028 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class AutoBoneStopRecordingRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java index 7aca1c1f..e04f2074 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * If no tracker ID is given, it's the setting for every tracker/device */ @SuppressWarnings("unused") public final class ChangeMagToggleRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ChangeMagToggleRequest getRootAsChangeMagToggleRequest(ByteBuffer _bb) { return getRootAsChangeMagToggleRequest(_bb, new ChangeMagToggleRequest()); } public static ChangeMagToggleRequest getRootAsChangeMagToggleRequest(ByteBuffer _bb, ChangeMagToggleRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java index 59996566..d0a6a196 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ChangeMagToggleRequestT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java index 1516ae92..3ea36a13 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ChangeSettingsRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ChangeSettingsRequest getRootAsChangeSettingsRequest(ByteBuffer _bb) { return getRootAsChangeSettingsRequest(_bb, new ChangeSettingsRequest()); } public static ChangeSettingsRequest getRootAsChangeSettingsRequest(ByteBuffer _bb, ChangeSettingsRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java index a73d41e4..f9a8e2ee 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ChangeSettingsRequestT { private solarxr_protocol.rpc.SteamVRTrackersSettingT steamVrTrackers; diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java index 9c29761a..2465c8ff 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ChangeSkeletonConfigRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ChangeSkeletonConfigRequest getRootAsChangeSkeletonConfigRequest(ByteBuffer _bb) { return getRootAsChangeSkeletonConfigRequest(_bb, new ChangeSkeletonConfigRequest()); } public static ChangeSkeletonConfigRequest getRootAsChangeSkeletonConfigRequest(ByteBuffer _bb, ChangeSkeletonConfigRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java index c24c572a..d9984547 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ChangeSkeletonConfigRequestT { private int bone; diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java index 4a7160c2..44f9398a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ClearDriftCompensationRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ClearDriftCompensationRequest getRootAsClearDriftCompensationRequest(ByteBuffer _bb) { return getRootAsClearDriftCompensationRequest(_bb, new ClearDriftCompensationRequest()); } public static ClearDriftCompensationRequest getRootAsClearDriftCompensationRequest(ByteBuffer _bb, ClearDriftCompensationRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java index df8a4de5..f16fe128 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ClearDriftCompensationRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java index 2ce6c48c..c3dad8a4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Clears mounting reset data, defaulting to the manually set mounting orientations */ @SuppressWarnings("unused") public final class ClearMountingResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ClearMountingResetRequest getRootAsClearMountingResetRequest(ByteBuffer _bb) { return getRootAsClearMountingResetRequest(_bb, new ClearMountingResetRequest()); } public static ClearMountingResetRequest getRootAsClearMountingResetRequest(ByteBuffer _bb, ClearMountingResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java index df6d1c4e..cc79b29a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ClearMountingResetRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java index 4c4df8b3..e1671a44 100644 --- a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class CloseSerialRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static CloseSerialRequest getRootAsCloseSerialRequest(ByteBuffer _bb) { return getRootAsCloseSerialRequest(_bb, new CloseSerialRequest()); } public static CloseSerialRequest getRootAsCloseSerialRequest(ByteBuffer _bb, CloseSerialRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java index 72ce4134..5bcf97c8 100644 --- a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class CloseSerialRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java index c4944464..3ccfaf8b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class DetectStayAlignedRelaxedPoseRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DetectStayAlignedRelaxedPoseRequest getRootAsDetectStayAlignedRelaxedPoseRequest(ByteBuffer _bb) { return getRootAsDetectStayAlignedRelaxedPoseRequest(_bb, new DetectStayAlignedRelaxedPoseRequest()); } public static DetectStayAlignedRelaxedPoseRequest getRootAsDetectStayAlignedRelaxedPoseRequest(ByteBuffer _bb, DetectStayAlignedRelaxedPoseRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java index e4819878..de9fdbed 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DetectStayAlignedRelaxedPoseRequestT { private int pose; diff --git a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java index 60cd70b0..245728af 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Settings related to IMU yaw drift compensation */ @SuppressWarnings("unused") public final class DriftCompensationSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static DriftCompensationSettings getRootAsDriftCompensationSettings(ByteBuffer _bb) { return getRootAsDriftCompensationSettings(_bb, new DriftCompensationSettings()); } public static DriftCompensationSettings getRootAsDriftCompensationSettings(ByteBuffer _bb, DriftCompensationSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java index 790fe9d0..8384c1ce 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class DriftCompensationSettingsT { private boolean enabled; diff --git a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java index ae46ad14..cf100770 100644 --- a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class EnableStayAlignedRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static EnableStayAlignedRequest getRootAsEnableStayAlignedRequest(ByteBuffer _bb) { return getRootAsEnableStayAlignedRequest(_bb, new EnableStayAlignedRequest()); } public static EnableStayAlignedRequest getRootAsEnableStayAlignedRequest(ByteBuffer _bb, EnableStayAlignedRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java index 0537e28b..7da0e18c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class EnableStayAlignedRequestT { private boolean enable; diff --git a/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java b/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java index ec01758a..eb040824 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class FilteringSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static FilteringSettings getRootAsFilteringSettings(ByteBuffer _bb) { return getRootAsFilteringSettings(_bb, new FilteringSettings()); } public static FilteringSettings getRootAsFilteringSettings(ByteBuffer _bb, FilteringSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java index 880197fa..e48f624c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class FilteringSettingsT { private int type; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java b/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java index af3d5116..3135ff96 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class FirmwarePart extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static FirmwarePart getRootAsFirmwarePart(ByteBuffer _bb) { return getRootAsFirmwarePart(_bb, new FirmwarePart()); } public static FirmwarePart getRootAsFirmwarePart(ByteBuffer _bb, FirmwarePart obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java index d5c927c4..9325e536 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class FirmwarePartT { private String url; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java index 828799c7..9df45261 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class FirmwareUpdateRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static FirmwareUpdateRequest getRootAsFirmwareUpdateRequest(ByteBuffer _bb) { return getRootAsFirmwareUpdateRequest(_bb, new FirmwareUpdateRequest()); } public static FirmwareUpdateRequest getRootAsFirmwareUpdateRequest(ByteBuffer _bb, FirmwareUpdateRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java index 571a6a94..932e0c05 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class FirmwareUpdateRequestT { private solarxr_protocol.rpc.FirmwareUpdateMethodUnion method; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java index 9cd14b8c..818d3d50 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class FirmwareUpdateStatusResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static FirmwareUpdateStatusResponse getRootAsFirmwareUpdateStatusResponse(ByteBuffer _bb) { return getRootAsFirmwareUpdateStatusResponse(_bb, new FirmwareUpdateStatusResponse()); } public static FirmwareUpdateStatusResponse getRootAsFirmwareUpdateStatusResponse(ByteBuffer _bb, FirmwareUpdateStatusResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java index b36a6911..8667c6f0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class FirmwareUpdateStatusResponseT { private solarxr_protocol.rpc.FirmwareUpdateDeviceIdUnion deviceId; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java index 7f2d5e1e..d152d7ef 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class FirmwareUpdateStopQueuesRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static FirmwareUpdateStopQueuesRequest getRootAsFirmwareUpdateStopQueuesRequest(ByteBuffer _bb) { return getRootAsFirmwareUpdateStopQueuesRequest(_bb, new FirmwareUpdateStopQueuesRequest()); } public static FirmwareUpdateStopQueuesRequest getRootAsFirmwareUpdateStopQueuesRequest(ByteBuffer _bb, FirmwareUpdateStopQueuesRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java index fe00b80e..4ec44da2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class FirmwareUpdateStopQueuesRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java index 182a0405..e23aa428 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ForgetDeviceRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ForgetDeviceRequest getRootAsForgetDeviceRequest(ByteBuffer _bb) { return getRootAsForgetDeviceRequest(_bb, new ForgetDeviceRequest()); } public static ForgetDeviceRequest getRootAsForgetDeviceRequest(ByteBuffer _bb, ForgetDeviceRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java index 026164f1..43fb422f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ForgetDeviceRequestT { private String macAddress; diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java index d0c8e8e3..d539aa48 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class HeartbeatRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static HeartbeatRequest getRootAsHeartbeatRequest(ByteBuffer _bb) { return getRootAsHeartbeatRequest(_bb, new HeartbeatRequest()); } public static HeartbeatRequest getRootAsHeartbeatRequest(ByteBuffer _bb, HeartbeatRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java index 983924cf..294cf0d7 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HeartbeatRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java index 9ffa4637..3b1020a8 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class HeartbeatResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static HeartbeatResponse getRootAsHeartbeatResponse(ByteBuffer _bb) { return getRootAsHeartbeatResponse(_bb, new HeartbeatResponse()); } public static HeartbeatResponse getRootAsHeartbeatResponse(ByteBuffer _bb, HeartbeatResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java index 8c8ab5ea..590e5c5e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HeartbeatResponseT { diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java b/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java index fcff1197..ae1a4a03 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class HeightRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static HeightRequest getRootAsHeightRequest(ByteBuffer _bb) { return getRootAsHeightRequest(_bb, new HeightRequest()); } public static HeightRequest getRootAsHeightRequest(ByteBuffer _bb, HeightRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java b/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java index f7d33669..053c1143 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HeightRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java b/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java index 4fd08d2d..27079e76 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Returns the current min and max positional tracker heights */ @SuppressWarnings("unused") public final class HeightResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static HeightResponse getRootAsHeightResponse(ByteBuffer _bb) { return getRootAsHeightResponse(_bb, new HeightResponse()); } public static HeightResponse getRootAsHeightResponse(ByteBuffer _bb, HeightResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java b/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java index fe840f6b..06ceca30 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class HeightResponseT { private float minHeight; diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java index 6c97121c..afb622a9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Makes a temporary change to legtweaks. This is not saved to disk, and can be @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class LegTweaksTmpChange extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static LegTweaksTmpChange getRootAsLegTweaksTmpChange(ByteBuffer _bb) { return getRootAsLegTweaksTmpChange(_bb, new LegTweaksTmpChange()); } public static LegTweaksTmpChange getRootAsLegTweaksTmpChange(ByteBuffer _bb, LegTweaksTmpChange obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java index 7c242f2c..5eb46ad0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class LegTweaksTmpChangeT { private Boolean floorClip; diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java index 55eb7441..62d4c8d6 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Clears the legtweaks temporary state back to what the config has. @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class LegTweaksTmpClear extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static LegTweaksTmpClear getRootAsLegTweaksTmpClear(ByteBuffer _bb) { return getRootAsLegTweaksTmpClear(_bb, new LegTweaksTmpClear()); } public static LegTweaksTmpClear getRootAsLegTweaksTmpClear(ByteBuffer _bb, LegTweaksTmpClear obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java index 7e036664..4d7e7af8 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class LegTweaksTmpClearT { private boolean floorClip; diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java index bc5ac6e8..9e67c014 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * If no tracker ID is given, it's the setting for every tracker/device */ @SuppressWarnings("unused") public final class MagToggleRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static MagToggleRequest getRootAsMagToggleRequest(ByteBuffer _bb) { return getRootAsMagToggleRequest(_bb, new MagToggleRequest()); } public static MagToggleRequest getRootAsMagToggleRequest(ByteBuffer _bb, MagToggleRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java index 94377378..4a75b3f0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class MagToggleRequestT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java index 18be18a5..4d7b8931 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * If no tracker ID is given, it's the setting for every tracker/device */ @SuppressWarnings("unused") public final class MagToggleResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static MagToggleResponse getRootAsMagToggleResponse(ByteBuffer _bb) { return getRootAsMagToggleResponse(_bb, new MagToggleResponse()); } public static MagToggleResponse getRootAsMagToggleResponse(ByteBuffer _bb, MagToggleResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java index 2bda259a..1c23aaef 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class MagToggleResponseT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java index 9d0b51ae..335e2207 100644 --- a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class NewSerialDeviceResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static NewSerialDeviceResponse getRootAsNewSerialDeviceResponse(ByteBuffer _bb) { return getRootAsNewSerialDeviceResponse(_bb, new NewSerialDeviceResponse()); } public static NewSerialDeviceResponse getRootAsNewSerialDeviceResponse(ByteBuffer _bb, NewSerialDeviceResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java index bbafba96..c5a31148 100644 --- a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class NewSerialDeviceResponseT { private solarxr_protocol.rpc.SerialDeviceT device; diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java index 4b7e2bd4..ef865815 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * OSC router forwards messages it receives, to allow the usage of multiple OSC programs for the same app. */ @SuppressWarnings("unused") public final class OSCRouterSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OSCRouterSettings getRootAsOSCRouterSettings(ByteBuffer _bb) { return getRootAsOSCRouterSettings(_bb, new OSCRouterSettings()); } public static OSCRouterSettings getRootAsOSCRouterSettings(ByteBuffer _bb, OSCRouterSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java index a0a2c79f..0fc1f284 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OSCRouterSettingsT { private solarxr_protocol.rpc.OSCSettingsT oscSettings; diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java b/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java index 6392815d..5ba17288 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * OSC Settings that are used in *any* osc application. */ @SuppressWarnings("unused") public final class OSCSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OSCSettings getRootAsOSCSettings(ByteBuffer _bb) { return getRootAsOSCSettings(_bb, new OSCSettings()); } public static OSCSettings getRootAsOSCSettings(ByteBuffer _bb, OSCSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java index f9705bb3..01ee07ab 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OSCSettingsT { private boolean enabled; diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java index cbb00418..2e95a46b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class OSCTrackersSetting extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OSCTrackersSetting getRootAsOSCTrackersSetting(ByteBuffer _bb) { return getRootAsOSCTrackersSetting(_bb, new OSCTrackersSetting()); } public static OSCTrackersSetting getRootAsOSCTrackersSetting(ByteBuffer _bb, OSCTrackersSetting obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java index c23627a3..f40d7509 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OSCTrackersSettingT { private boolean head; diff --git a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java index 8c8ee77f..dacf00a6 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java +++ b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class OTAFirmwareUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OTAFirmwareUpdate getRootAsOTAFirmwareUpdate(ByteBuffer _bb) { return getRootAsOTAFirmwareUpdate(_bb, new OTAFirmwareUpdate()); } public static OTAFirmwareUpdate getRootAsOTAFirmwareUpdate(ByteBuffer _bb, OTAFirmwareUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java index f19b7865..84b18c12 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OTAFirmwareUpdateT { private solarxr_protocol.datatypes.DeviceIdT deviceId; diff --git a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java index 0b03379e..a29312b9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class OpenSerialRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OpenSerialRequest getRootAsOpenSerialRequest(ByteBuffer _bb) { return getRootAsOpenSerialRequest(_bb, new OpenSerialRequest()); } public static OpenSerialRequest getRootAsOpenSerialRequest(ByteBuffer _bb, OpenSerialRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java index db9d7678..ce90fe0d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OpenSerialRequestT { private boolean auto; diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java index 6eac30a6..fa124c07 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Changes the state of the overlay's display mode. */ @SuppressWarnings("unused") public final class OverlayDisplayModeChangeRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OverlayDisplayModeChangeRequest getRootAsOverlayDisplayModeChangeRequest(ByteBuffer _bb) { return getRootAsOverlayDisplayModeChangeRequest(_bb, new OverlayDisplayModeChangeRequest()); } public static OverlayDisplayModeChangeRequest getRootAsOverlayDisplayModeChangeRequest(ByteBuffer _bb, OverlayDisplayModeChangeRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java index 2b05a81c..82966c95 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OverlayDisplayModeChangeRequestT { private Boolean isVisible; diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java index 6ff36afc..9cf908f2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Requests the current state of `OverlayDisplayModeResponse`. */ @SuppressWarnings("unused") public final class OverlayDisplayModeRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OverlayDisplayModeRequest getRootAsOverlayDisplayModeRequest(ByteBuffer _bb) { return getRootAsOverlayDisplayModeRequest(_bb, new OverlayDisplayModeRequest()); } public static OverlayDisplayModeRequest getRootAsOverlayDisplayModeRequest(ByteBuffer _bb, OverlayDisplayModeRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java index 79966304..d9d13da7 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OverlayDisplayModeRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java index eda6f81d..6c7f91ef 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * The current state of the overlay's display mode. */ @SuppressWarnings("unused") public final class OverlayDisplayModeResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static OverlayDisplayModeResponse getRootAsOverlayDisplayModeResponse(ByteBuffer _bb) { return getRootAsOverlayDisplayModeResponse(_bb, new OverlayDisplayModeResponse()); } public static OverlayDisplayModeResponse getRootAsOverlayDisplayModeResponse(ByteBuffer _bb, OverlayDisplayModeResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java index 0a7c5493..6bccd235 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class OverlayDisplayModeResponseT { private boolean isVisible; diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java index 6213d7ad..de6058c5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class RecordBVHRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static RecordBVHRequest getRootAsRecordBVHRequest(ByteBuffer _bb) { return getRootAsRecordBVHRequest(_bb, new RecordBVHRequest()); } public static RecordBVHRequest getRootAsRecordBVHRequest(ByteBuffer _bb, RecordBVHRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java index 8a74fd0d..91ef9c8a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class RecordBVHRequestT { private boolean stop; diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java index b31c298f..8ece1b74 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class RecordBVHStatus extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static RecordBVHStatus getRootAsRecordBVHStatus(ByteBuffer _bb) { return getRootAsRecordBVHStatus(_bb, new RecordBVHStatus()); } public static RecordBVHStatus getRootAsRecordBVHStatus(ByteBuffer _bb, RecordBVHStatus obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java index f8ee1d76..241b80c1 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class RecordBVHStatusRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static RecordBVHStatusRequest getRootAsRecordBVHStatusRequest(ByteBuffer _bb) { return getRootAsRecordBVHStatusRequest(_bb, new RecordBVHStatusRequest()); } public static RecordBVHStatusRequest getRootAsRecordBVHStatusRequest(ByteBuffer _bb, RecordBVHStatusRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java index 5b08fb38..bf88f30e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class RecordBVHStatusRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java index 733e0cfe..a0511449 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class RecordBVHStatusT { private boolean recording; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java index 8d10d89f..c964895d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ResetRequest getRootAsResetRequest(ByteBuffer _bb) { return getRootAsResetRequest(_bb, new ResetRequest()); } public static ResetRequest getRootAsResetRequest(ByteBuffer _bb, ResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java index 2883685b..7cf38235 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ResetRequestT { private int resetType; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java b/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java index 64662104..097ccf90 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ResetResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ResetResponse getRootAsResetResponse(ByteBuffer _bb) { return getRootAsResetResponse(_bb, new ResetResponse()); } public static ResetResponse getRootAsResetResponse(ByteBuffer _bb, ResetResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java b/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java index 9f7c1860..6d3d53f4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ResetResponseT { private int resetType; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java index 5a3934cb..3b7c6bac 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ResetStayAlignedRelaxedPoseRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ResetStayAlignedRelaxedPoseRequest getRootAsResetStayAlignedRelaxedPoseRequest(ByteBuffer _bb) { return getRootAsResetStayAlignedRelaxedPoseRequest(_bb, new ResetStayAlignedRelaxedPoseRequest()); } public static ResetStayAlignedRelaxedPoseRequest getRootAsResetStayAlignedRelaxedPoseRequest(ByteBuffer _bb, ResetStayAlignedRelaxedPoseRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java index c6aad553..440ac435 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ResetStayAlignedRelaxedPoseRequestT { private int pose; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java b/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java index 75ff71c2..be04deaf 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class ResetsSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ResetsSettings getRootAsResetsSettings(ByteBuffer _bb) { return getRootAsResetsSettings(_bb, new ResetsSettings()); } public static ResetsSettings getRootAsResetsSettings(ByteBuffer _bb, ResetsSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java index 0fe0addf..21f5ce6d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ResetsSettingsT { private boolean resetMountingFeet; diff --git a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java index f8ec9923..9c53cbae 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java +++ b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class RpcMessageHeader extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static RpcMessageHeader getRootAsRpcMessageHeader(ByteBuffer _bb) { return getRootAsRpcMessageHeader(_bb, new RpcMessageHeader()); } public static RpcMessageHeader getRootAsRpcMessageHeader(ByteBuffer _bb, RpcMessageHeader obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java index feb5a83c..249be166 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class RpcMessageHeaderT { private solarxr_protocol.datatypes.TransactionIdT txId; diff --git a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java index 09806c28..280bfe8c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java +++ b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Used for the server to save a file and have it prompt in the user side */ @SuppressWarnings("unused") public final class SaveFileNotification extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SaveFileNotification getRootAsSaveFileNotification(ByteBuffer _bb) { return getRootAsSaveFileNotification(_bb, new SaveFileNotification()); } public static SaveFileNotification getRootAsSaveFileNotification(ByteBuffer _bb, SaveFileNotification obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java index a517e544..76e0568f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SaveFileNotificationT { private int[] data; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java index b3e241e2..ff3ed9b4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SerialDevice extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialDevice getRootAsSerialDevice(ByteBuffer _bb) { return getRootAsSerialDevice(_bb, new SerialDevice()); } public static SerialDevice getRootAsSerialDevice(ByteBuffer _bb, SerialDevice obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java index 7e685080..f385f277 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SerialDevicePort extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialDevicePort getRootAsSerialDevicePort(ByteBuffer _bb) { return getRootAsSerialDevicePort(_bb, new SerialDevicePort()); } public static SerialDevicePort getRootAsSerialDevicePort(ByteBuffer _bb, SerialDevicePort obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java index bef9345d..02d222db 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialDevicePortT { private String port; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java index e92ac710..8cf1ef65 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialDeviceT { private String port; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java index 3178a2d3..8972d7be 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SerialDevicesRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialDevicesRequest getRootAsSerialDevicesRequest(ByteBuffer _bb) { return getRootAsSerialDevicesRequest(_bb, new SerialDevicesRequest()); } public static SerialDevicesRequest getRootAsSerialDevicesRequest(ByteBuffer _bb, SerialDevicesRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java index 1be90cbe..4861f503 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialDevicesRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java index d01b3c79..78a23879 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SerialDevicesResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialDevicesResponse getRootAsSerialDevicesResponse(ByteBuffer _bb) { return getRootAsSerialDevicesResponse(_bb, new SerialDevicesResponse()); } public static SerialDevicesResponse getRootAsSerialDevicesResponse(ByteBuffer _bb, SerialDevicesResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java index 3edcc1ed..b6d3a2e4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialDevicesResponseT { private solarxr_protocol.rpc.SerialDeviceT[] devices; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java index 6759c0d4..7cbed943 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SerialFirmwareUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialFirmwareUpdate getRootAsSerialFirmwareUpdate(ByteBuffer _bb) { return getRootAsSerialFirmwareUpdate(_bb, new SerialFirmwareUpdate()); } public static SerialFirmwareUpdate getRootAsSerialFirmwareUpdate(ByteBuffer _bb, SerialFirmwareUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java index 1f8e8a2f..7b2a8c83 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialFirmwareUpdateT { private solarxr_protocol.rpc.SerialDevicePortT deviceId; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java index b5f137f8..15ebaae1 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Sends a custom cmd to the currently connected Tracker over the Serial Monitor */ @SuppressWarnings("unused") public final class SerialTrackerCustomCommandRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialTrackerCustomCommandRequest getRootAsSerialTrackerCustomCommandRequest(ByteBuffer _bb) { return getRootAsSerialTrackerCustomCommandRequest(_bb, new SerialTrackerCustomCommandRequest()); } public static SerialTrackerCustomCommandRequest getRootAsSerialTrackerCustomCommandRequest(ByteBuffer _bb, SerialTrackerCustomCommandRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java index a887cd72..f753721e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialTrackerCustomCommandRequestT { private String command; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java index 991f7fd2..6ad7a48b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Sends the FRST cmd to the currently connected Tracker over the Serial Monitor */ @SuppressWarnings("unused") public final class SerialTrackerFactoryResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialTrackerFactoryResetRequest getRootAsSerialTrackerFactoryResetRequest(ByteBuffer _bb) { return getRootAsSerialTrackerFactoryResetRequest(_bb, new SerialTrackerFactoryResetRequest()); } public static SerialTrackerFactoryResetRequest getRootAsSerialTrackerFactoryResetRequest(ByteBuffer _bb, SerialTrackerFactoryResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java index 8600f7b3..a3e0c3df 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialTrackerFactoryResetRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java index 37eb5996..c63a2d28 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Sends the GET INFO cmd to the current tracker on the serial monitor */ @SuppressWarnings("unused") public final class SerialTrackerGetInfoRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialTrackerGetInfoRequest getRootAsSerialTrackerGetInfoRequest(ByteBuffer _bb) { return getRootAsSerialTrackerGetInfoRequest(_bb, new SerialTrackerGetInfoRequest()); } public static SerialTrackerGetInfoRequest getRootAsSerialTrackerGetInfoRequest(ByteBuffer _bb, SerialTrackerGetInfoRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java index 47178ba1..28d1a3b8 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialTrackerGetInfoRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java index 40c5341e..c744be59 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Sends the GET WIFISCAN cmd to the current tracker on the serial monitor */ @SuppressWarnings("unused") public final class SerialTrackerGetWifiScanRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialTrackerGetWifiScanRequest getRootAsSerialTrackerGetWifiScanRequest(ByteBuffer _bb) { return getRootAsSerialTrackerGetWifiScanRequest(_bb, new SerialTrackerGetWifiScanRequest()); } public static SerialTrackerGetWifiScanRequest getRootAsSerialTrackerGetWifiScanRequest(ByteBuffer _bb, SerialTrackerGetWifiScanRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java index e4202f0c..f4d69442 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialTrackerGetWifiScanRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java index d971d72c..ab3eb11d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Reboots the tracker connected to the serial monitor */ @SuppressWarnings("unused") public final class SerialTrackerRebootRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialTrackerRebootRequest getRootAsSerialTrackerRebootRequest(ByteBuffer _bb) { return getRootAsSerialTrackerRebootRequest(_bb, new SerialTrackerRebootRequest()); } public static SerialTrackerRebootRequest getRootAsSerialTrackerRebootRequest(ByteBuffer _bb, SerialTrackerRebootRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java index f0350379..7de8405b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialTrackerRebootRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java index cd264334..a9229528 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SerialUpdateResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SerialUpdateResponse getRootAsSerialUpdateResponse(ByteBuffer _bb) { return getRootAsSerialUpdateResponse(_bb, new SerialUpdateResponse()); } public static SerialUpdateResponse getRootAsSerialUpdateResponse(ByteBuffer _bb, SerialUpdateResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java index 06a15b5f..6daa3380 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SerialUpdateResponseT { private String log; diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java index ad19d074..e98b7a1a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Allows to ask generic infos about the server, @@ -15,7 +27,7 @@ */ @SuppressWarnings("unused") public final class ServerInfosRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ServerInfosRequest getRootAsServerInfosRequest(ByteBuffer _bb) { return getRootAsServerInfosRequest(_bb, new ServerInfosRequest()); } public static ServerInfosRequest getRootAsServerInfosRequest(ByteBuffer _bb, ServerInfosRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java index 568779d2..a1b53c12 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ServerInfosRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java index 510a82b2..857e1934 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Holds the Server information, this is a basic table holding various information about the currently running server @@ -15,7 +27,7 @@ */ @SuppressWarnings("unused") public final class ServerInfosResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ServerInfosResponse getRootAsServerInfosResponse(ByteBuffer _bb) { return getRootAsServerInfosResponse(_bb, new ServerInfosResponse()); } public static ServerInfosResponse getRootAsServerInfosResponse(ByteBuffer _bb, ServerInfosResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java index 0f248906..f1dda27b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ServerInfosResponseT { private String localIp; diff --git a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java index f645fdb3..ad71abb2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SetPauseTrackingRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SetPauseTrackingRequest getRootAsSetPauseTrackingRequest(ByteBuffer _bb) { return getRootAsSetPauseTrackingRequest(_bb, new SetPauseTrackingRequest()); } public static SetPauseTrackingRequest getRootAsSetPauseTrackingRequest(ByteBuffer _bb, SetPauseTrackingRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java index 8ecffa73..b2a65430 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SetPauseTrackingRequestT { private boolean pauseTracking; diff --git a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java index 012c3812..b7d7840e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SetWifiRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SetWifiRequest getRootAsSetWifiRequest(ByteBuffer _bb) { return getRootAsSetWifiRequest(_bb, new SetWifiRequest()); } public static SetWifiRequest getRootAsSetWifiRequest(ByteBuffer _bb, SetWifiRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java index 31ea985a..59f7dc17 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SetWifiRequestT { private String ssid; diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java b/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java index 123871ca..cf6e2b49 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SettingsRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SettingsRequest getRootAsSettingsRequest(ByteBuffer _bb) { return getRootAsSettingsRequest(_bb, new SettingsRequest()); } public static SettingsRequest getRootAsSettingsRequest(ByteBuffer _bb, SettingsRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java index 3573f655..76537375 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SettingsRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java index da31195a..dc05bcb3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SettingsResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SettingsResetRequest getRootAsSettingsResetRequest(ByteBuffer _bb) { return getRootAsSettingsResetRequest(_bb, new SettingsResetRequest()); } public static SettingsResetRequest getRootAsSettingsResetRequest(ByteBuffer _bb, SettingsResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java index 99e407d1..af3b9ecb 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SettingsResetRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java index c8717174..ae263b91 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SettingsResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SettingsResponse getRootAsSettingsResponse(ByteBuffer _bb) { return getRootAsSettingsResponse(_bb, new SettingsResponse()); } public static SettingsResponse getRootAsSettingsResponse(ByteBuffer _bb, SettingsResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java index efd3e603..36df783c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SettingsResponseT { private solarxr_protocol.rpc.SteamVRTrackersSettingT steamVrTrackers; diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java index 8748a06b..e6f768e6 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java @@ -27,8 +27,14 @@ private SkeletonBone() { } public static final int HAND_Z = 19; public static final int ELBOW_OFFSET = 20; public static final int UPPER_CHEST = 21; + public static final int LEFT_TOE_1 = 22; + public static final int LEFT_TOE_2 = 23; + public static final int LEFT_TOE_3 = 24; + public static final int RIGHT_TOE_1 = 25; + public static final int RIGHT_TOE_2 = 26; + public static final int RIGHT_TOE_3 = 27; - public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", }; + public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3", }; public static String name(int e) { return names[e]; } } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java index bb11300e..1d63bb98 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SkeletonConfigRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SkeletonConfigRequest getRootAsSkeletonConfigRequest(ByteBuffer _bb) { return getRootAsSkeletonConfigRequest(_bb, new SkeletonConfigRequest()); } public static SkeletonConfigRequest getRootAsSkeletonConfigRequest(ByteBuffer _bb, SkeletonConfigRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java index 2ea638d6..0035de8e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SkeletonConfigRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java index 9dc0607d..64f3a51c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SkeletonConfigResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SkeletonConfigResponse getRootAsSkeletonConfigResponse(ByteBuffer _bb) { return getRootAsSkeletonConfigResponse(_bb, new SkeletonConfigResponse()); } public static SkeletonConfigResponse getRootAsSkeletonConfigResponse(ByteBuffer _bb, SkeletonConfigResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java index 73603368..c8fc843b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SkeletonConfigResponseT { private solarxr_protocol.rpc.SkeletonPartT[] skeletonParts; diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java index 52abf593..89f1e879 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SkeletonPart extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SkeletonPart getRootAsSkeletonPart(ByteBuffer _bb) { return getRootAsSkeletonPart(_bb, new SkeletonPart()); } public static SkeletonPart getRootAsSkeletonPart(ByteBuffer _bb, SkeletonPart obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java index ff888802..aecd0f9e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SkeletonPartT { private int bone; diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java index c81e6192..6b8b93dd 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SkeletonResetAllRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SkeletonResetAllRequest getRootAsSkeletonResetAllRequest(ByteBuffer _bb) { return getRootAsSkeletonResetAllRequest(_bb, new SkeletonResetAllRequest()); } public static SkeletonResetAllRequest getRootAsSkeletonResetAllRequest(ByteBuffer _bb, SkeletonResetAllRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java index d79a638a..f2e73280 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SkeletonResetAllRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java index 38974d0c..968d1c23 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class StartWifiProvisioningRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StartWifiProvisioningRequest getRootAsStartWifiProvisioningRequest(ByteBuffer _bb) { return getRootAsStartWifiProvisioningRequest(_bb, new StartWifiProvisioningRequest()); } public static StartWifiProvisioningRequest getRootAsStartWifiProvisioningRequest(ByteBuffer _bb, StartWifiProvisioningRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java index 941a6aeb..19761067 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StartWifiProvisioningRequestT { private String ssid; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java b/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java index 35f8889b..cb1bcaa3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * An status is some kind of warning sent by the server, it's mainly made for @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class StatusMessage extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusMessage getRootAsStatusMessage(ByteBuffer _bb) { return getRootAsStatusMessage(_bb, new StatusMessage()); } public static StatusMessage getRootAsStatusMessage(ByteBuffer _bb, StatusMessage obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java b/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java index 5d2aa215..96191c9e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusMessageT { private long id; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java index e4aa5a5a..698ff6ec 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * When the server detects a public network profile */ @SuppressWarnings("unused") public final class StatusPublicNetwork extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusPublicNetwork getRootAsStatusPublicNetwork(ByteBuffer _bb) { return getRootAsStatusPublicNetwork(_bb, new StatusPublicNetwork()); } public static StatusPublicNetwork getRootAsStatusPublicNetwork(ByteBuffer _bb, StatusPublicNetwork obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java index 6d5869ec..b0432a57 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusPublicNetworkT { private String[] adapters; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java index 51f65a63..9d2ab274 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * SteamVR bridge is disconnected */ @SuppressWarnings("unused") public final class StatusSteamVRDisconnected extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusSteamVRDisconnected getRootAsStatusSteamVRDisconnected(ByteBuffer _bb) { return getRootAsStatusSteamVRDisconnected(_bb, new StatusSteamVRDisconnected()); } public static StatusSteamVRDisconnected getRootAsStatusSteamVRDisconnected(ByteBuffer _bb, StatusSteamVRDisconnected obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java index f6db5871..6f9c1d04 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusSteamVRDisconnectedT { private String bridgeSettingsName; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java index 7ada2e10..e5f165f4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * When an status is fixed and it's removed, it's ID is sent */ @SuppressWarnings("unused") public final class StatusSystemFixed extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusSystemFixed getRootAsStatusSystemFixed(ByteBuffer _bb) { return getRootAsStatusSystemFixed(_bb, new StatusSystemFixed()); } public static StatusSystemFixed getRootAsStatusSystemFixed(ByteBuffer _bb, StatusSystemFixed obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java index fe781195..2d886999 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusSystemFixedT { private long fixedStatusId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java index c2ba5121..a238c723 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Request current statuses that we have */ @SuppressWarnings("unused") public final class StatusSystemRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusSystemRequest getRootAsStatusSystemRequest(ByteBuffer _bb) { return getRootAsStatusSystemRequest(_bb, new StatusSystemRequest()); } public static StatusSystemRequest getRootAsStatusSystemRequest(ByteBuffer _bb, StatusSystemRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java index 6564046f..6689fb37 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusSystemRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java index 8d9b9183..8a8f9f68 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Response containing all current valid statuses */ @SuppressWarnings("unused") public final class StatusSystemResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusSystemResponse getRootAsStatusSystemResponse(ByteBuffer _bb) { return getRootAsStatusSystemResponse(_bb, new StatusSystemResponse()); } public static StatusSystemResponse getRootAsStatusSystemResponse(ByteBuffer _bb, StatusSystemResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java index d6ff1dce..10b2e668 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusSystemResponseT { private solarxr_protocol.rpc.StatusMessageT[] currentStatuses; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java index dbcef354..2a0d5907 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * When a new status appears, it's sent alone */ @SuppressWarnings("unused") public final class StatusSystemUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusSystemUpdate getRootAsStatusSystemUpdate(ByteBuffer _bb) { return getRootAsStatusSystemUpdate(_bb, new StatusSystemUpdate()); } public static StatusSystemUpdate getRootAsStatusSystemUpdate(ByteBuffer _bb, StatusSystemUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java index c3a98fea..e5af08de 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusSystemUpdateT { private solarxr_protocol.rpc.StatusMessageT newStatus; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java index 85e330b2..a257752c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Trackers with error state */ @SuppressWarnings("unused") public final class StatusTrackerError extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusTrackerError getRootAsStatusTrackerError(ByteBuffer _bb) { return getRootAsStatusTrackerError(_bb, new StatusTrackerError()); } public static StatusTrackerError getRootAsStatusTrackerError(ByteBuffer _bb, StatusTrackerError obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java index b682e9af..112eb17f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusTrackerErrorT { private solarxr_protocol.datatypes.TrackerIdT[] trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java index 299cd5ab..32cb77bb 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Tracker requires full reset */ @SuppressWarnings("unused") public final class StatusTrackerReset extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusTrackerReset getRootAsStatusTrackerReset(ByteBuffer _bb) { return getRootAsStatusTrackerReset(_bb, new StatusTrackerReset()); } public static StatusTrackerReset getRootAsStatusTrackerReset(ByteBuffer _bb, StatusTrackerReset obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java index 35c5d98b..57f22bea 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusTrackerResetT { private solarxr_protocol.datatypes.TrackerIdT[] trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java index a52e648b..1dad4642 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * There is an available HMD tracker and it's not assigned to head */ @SuppressWarnings("unused") public final class StatusUnassignedHMD extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StatusUnassignedHMD getRootAsStatusUnassignedHMD(ByteBuffer _bb) { return getRootAsStatusUnassignedHMD(_bb, new StatusUnassignedHMD()); } public static StatusUnassignedHMD getRootAsStatusUnassignedHMD(ByteBuffer _bb, StatusUnassignedHMD obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java index ba80aa42..18ee8868 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StatusUnassignedHMDT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java index 95fe3f3b..a91d6d73 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class StayAlignedSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StayAlignedSettings getRootAsStayAlignedSettings(ByteBuffer _bb) { return getRootAsStayAlignedSettings(_bb, new StayAlignedSettings()); } public static StayAlignedSettings getRootAsStayAlignedSettings(ByteBuffer _bb, StayAlignedSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java index 49bad8e5..31e214c7 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StayAlignedSettingsT { private boolean enabled; diff --git a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java index 385d530f..6a19cf03 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java +++ b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SteamVRTrackersSetting extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SteamVRTrackersSetting getRootAsSteamVRTrackersSetting(ByteBuffer _bb) { return getRootAsSteamVRTrackersSetting(_bb, new SteamVRTrackersSetting()); } public static SteamVRTrackersSetting getRootAsSteamVRTrackersSetting(ByteBuffer _bb, SteamVRTrackersSetting obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java index ba1155a2..5f588e19 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SteamVRTrackersSettingT { private boolean waist; diff --git a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java index 144a57e2..a7521a01 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class StopWifiProvisioningRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static StopWifiProvisioningRequest getRootAsStopWifiProvisioningRequest(ByteBuffer _bb) { return getRootAsStopWifiProvisioningRequest(_bb, new StopWifiProvisioningRequest()); } public static StopWifiProvisioningRequest getRootAsStopWifiProvisioningRequest(ByteBuffer _bb, StopWifiProvisioningRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java index b28c8a96..10b3d946 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class StopWifiProvisioningRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java index caac8272..91d1da61 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class TapDetectionSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TapDetectionSettings getRootAsTapDetectionSettings(ByteBuffer _bb) { return getRootAsTapDetectionSettings(_bb, new TapDetectionSettings()); } public static TapDetectionSettings getRootAsTapDetectionSettings(ByteBuffer _bb, TapDetectionSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java index 87c3d870..e29cf45a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TapDetectionSettingsT { private Float fullResetDelay; diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java index 516a57da..3a669c00 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * See TapDetectionSettings::setup_mode */ @SuppressWarnings("unused") public final class TapDetectionSetupNotification extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TapDetectionSetupNotification getRootAsTapDetectionSetupNotification(ByteBuffer _bb) { return getRootAsTapDetectionSetupNotification(_bb, new TapDetectionSetupNotification()); } public static TapDetectionSetupNotification getRootAsTapDetectionSetupNotification(ByteBuffer _bb, TapDetectionSetupNotification obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java index 2742c1f9..9d400374 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TapDetectionSetupNotificationT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java index b50e1d44..a9fc7e88 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Requests the current state of tracking pause */ @SuppressWarnings("unused") public final class TrackingPauseStateRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TrackingPauseStateRequest getRootAsTrackingPauseStateRequest(ByteBuffer _bb) { return getRootAsTrackingPauseStateRequest(_bb, new TrackingPauseStateRequest()); } public static TrackingPauseStateRequest getRootAsTrackingPauseStateRequest(ByteBuffer _bb, TrackingPauseStateRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java index c90894bf..cc456ad5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TrackingPauseStateRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java index c91ca8bd..87932d7d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class TrackingPauseStateResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static TrackingPauseStateResponse getRootAsTrackingPauseStateResponse(ByteBuffer _bb) { return getRootAsTrackingPauseStateResponse(_bb, new TrackingPauseStateResponse()); } public static TrackingPauseStateResponse getRootAsTrackingPauseStateResponse(ByteBuffer _bb, TrackingPauseStateResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java index 2331b48d..23acae69 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class TrackingPauseStateResponseT { private boolean trackingPaused; diff --git a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java index e0dab501..0f9bbd61 100644 --- a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java +++ b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Server notifies connection of an unknown device. @@ -14,7 +26,7 @@ */ @SuppressWarnings("unused") public final class UnknownDeviceHandshakeNotification extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static UnknownDeviceHandshakeNotification getRootAsUnknownDeviceHandshakeNotification(ByteBuffer _bb) { return getRootAsUnknownDeviceHandshakeNotification(_bb, new UnknownDeviceHandshakeNotification()); } public static UnknownDeviceHandshakeNotification getRootAsUnknownDeviceHandshakeNotification(ByteBuffer _bb, UnknownDeviceHandshakeNotification obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java index 9d6ae747..35bcb9b2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java +++ b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class UnknownDeviceHandshakeNotificationT { private String macAddress; diff --git a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java index ecfcdd1b..466bfa79 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * OSC Settings specific to VMC */ @SuppressWarnings("unused") public final class VMCOSCSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static VMCOSCSettings getRootAsVMCOSCSettings(ByteBuffer _bb) { return getRootAsVMCOSCSettings(_bb, new VMCOSCSettings()); } public static VMCOSCSettings getRootAsVMCOSCSettings(ByteBuffer _bb, VMCOSCSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java index 46282b53..c4ea2a80 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class VMCOSCSettingsT { private solarxr_protocol.rpc.OSCSettingsT oscSettings; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java index 3314a3ab..34cf209f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class VRCConfigRecommendedValues extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static VRCConfigRecommendedValues getRootAsVRCConfigRecommendedValues(ByteBuffer _bb) { return getRootAsVRCConfigRecommendedValues(_bb, new VRCConfigRecommendedValues()); } public static VRCConfigRecommendedValues getRootAsVRCConfigRecommendedValues(ByteBuffer _bb, VRCConfigRecommendedValues obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java index 3a7c87a9..c49bb3b0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class VRCConfigRecommendedValuesT { private boolean legacyMode; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java index 7dd8a38b..e5f0f5c9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Sent every time the vrchat config state gets updated @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class VRCConfigStateChangeResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static VRCConfigStateChangeResponse getRootAsVRCConfigStateChangeResponse(ByteBuffer _bb) { return getRootAsVRCConfigStateChangeResponse(_bb, new VRCConfigStateChangeResponse()); } public static VRCConfigStateChangeResponse getRootAsVRCConfigStateChangeResponse(ByteBuffer _bb, VRCConfigStateChangeResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java index 12d40593..2450a412 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class VRCConfigStateChangeResponseT { private boolean isSupported; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java index 1e054ec2..0ba3a1f0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class VRCConfigStateRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static VRCConfigStateRequest getRootAsVRCConfigStateRequest(ByteBuffer _bb) { return getRootAsVRCConfigStateRequest(_bb, new VRCConfigStateRequest()); } public static VRCConfigStateRequest getRootAsVRCConfigStateRequest(ByteBuffer _bb, VRCConfigStateRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java index 05e36cd0..0c8b2b42 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class VRCConfigStateRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java index e4f07166..6cc4d583 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class VRCConfigValidity extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static VRCConfigValidity getRootAsVRCConfigValidity(ByteBuffer _bb) { return getRootAsVRCConfigValidity(_bb, new VRCConfigValidity()); } public static VRCConfigValidity getRootAsVRCConfigValidity(ByteBuffer _bb, VRCConfigValidity obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java index f76745d3..eb1c69dd 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class VRCConfigValidityT { private boolean legacyModeOk; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java index 8b58287e..c692be55 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class VRCConfigValues extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static VRCConfigValues getRootAsVRCConfigValues(ByteBuffer _bb) { return getRootAsVRCConfigValues(_bb, new VRCConfigValues()); } public static VRCConfigValues getRootAsVRCConfigValues(ByteBuffer _bb, VRCConfigValues obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java index 18d1c4c9..85b8271c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class VRCConfigValuesT { private boolean legacyMode; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java index 2928e64e..e2817945 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * OSC Settings specific to VRChat */ @SuppressWarnings("unused") public final class VRCOSCSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static VRCOSCSettings getRootAsVRCOSCSettings(ByteBuffer _bb) { return getRootAsVRCOSCSettings(_bb, new VRCOSCSettings()); } public static VRCOSCSettings getRootAsVRCOSCSettings(ByteBuffer _bb, VRCOSCSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java index 41d8ba2c..1fe85b11 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class VRCOSCSettingsT { private solarxr_protocol.rpc.OSCSettingsT oscSettings; diff --git a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java index a291bd17..48fafbfa 100644 --- a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class WifiProvisioningStatusResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static WifiProvisioningStatusResponse getRootAsWifiProvisioningStatusResponse(ByteBuffer _bb) { return getRootAsWifiProvisioningStatusResponse(_bb, new WifiProvisioningStatusResponse()); } public static WifiProvisioningStatusResponse getRootAsWifiProvisioningStatusResponse(ByteBuffer _bb, WifiProvisioningStatusResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java index f8da048c..fb542c5d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class WifiProvisioningStatusResponseT { private int status; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java index 2752124c..627f1e5b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class LegTweaksSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static LegTweaksSettings getRootAsLegTweaksSettings(ByteBuffer _bb) { return getRootAsLegTweaksSettings(_bb, new LegTweaksSettings()); } public static LegTweaksSettings getRootAsLegTweaksSettings(ByteBuffer _bb, LegTweaksSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java index 8074919d..4085d024 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class LegTweaksSettingsT { private Float correctionStrength; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java index 9617d3bc..1e8f050a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Settings for the skeletal model that are ratios. @@ -13,7 +25,7 @@ */ @SuppressWarnings("unused") public final class ModelRatios extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ModelRatios getRootAsModelRatios(ByteBuffer _bb) { return getRootAsModelRatios(_bb, new ModelRatios()); } public static ModelRatios getRootAsModelRatios(ByteBuffer _bb, ModelRatios obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java index e5db3eb5..deb356ba 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ModelRatiosT { private Float imputeWaistFromChestHip; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java index 16905b5b..5d0dcf0b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Settings for the skeletal model. */ @SuppressWarnings("unused") public final class ModelSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ModelSettings getRootAsModelSettings(ByteBuffer _bb) { return getRootAsModelSettings(_bb, new ModelSettings()); } public static ModelSettings getRootAsModelSettings(ByteBuffer _bb, ModelSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java index 59ff528e..1a914b20 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ModelSettingsT { private solarxr_protocol.rpc.settings.ModelTogglesT toggles; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java index 80fb77f5..41ff71d4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java @@ -2,17 +2,29 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; /** * Settings for the skeletal model that are toggles. */ @SuppressWarnings("unused") public final class ModelToggles extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static ModelToggles getRootAsModelToggles(ByteBuffer _bb) { return getRootAsModelToggles(_bb, new ModelToggles()); } public static ModelToggles getRootAsModelToggles(ByteBuffer _bb, ModelToggles obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java index 10e29ef3..70a48406 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class ModelTogglesT { private Boolean extendedSpine; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java index 3805aaeb..b3acd54c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java @@ -2,14 +2,26 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; @SuppressWarnings("unused") public final class SkeletonHeight extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } public static SkeletonHeight getRootAsSkeletonHeight(ByteBuffer _bb) { return getRootAsSkeletonHeight(_bb, new SkeletonHeight()); } public static SkeletonHeight getRootAsSkeletonHeight(ByteBuffer _bb, SkeletonHeight obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java index 9799fe31..21079de2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java @@ -2,10 +2,22 @@ package solarxr_protocol.rpc.settings; -import java.nio.*; -import java.lang.*; -import java.util.*; -import com.google.flatbuffers.*; +import com.google.flatbuffers.BaseVector; +import com.google.flatbuffers.BooleanVector; +import com.google.flatbuffers.ByteVector; +import com.google.flatbuffers.Constants; +import com.google.flatbuffers.DoubleVector; +import com.google.flatbuffers.FlatBufferBuilder; +import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; +import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; +import com.google.flatbuffers.StringVector; +import com.google.flatbuffers.Struct; +import com.google.flatbuffers.Table; +import com.google.flatbuffers.UnionVector; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; public class SkeletonHeightT { private Float hmdHeight; diff --git a/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt b/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt index be2e44a3..8f9ccdd2 100644 --- a/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt +++ b/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt @@ -2,9 +2,21 @@ package solarxr_protocol -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * MessageBundle contains all of the messages for the data feed system and the @@ -61,7 +73,7 @@ class MessageBundle : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsMessageBundle(_bb: ByteBuffer): MessageBundle = getRootAsMessageBundle(_bb, MessageBundle()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt index 30a30746..a9a79ff5 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class Bone : Table() { @@ -58,7 +70,7 @@ class Bone : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsBone(_bb: ByteBuffer): Bone = getRootAsBone(_bb, Bone()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt index 09e0a026..43271b80 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * All information related to the configuration of a data feed. This may be sent @@ -64,7 +76,7 @@ class DataFeedConfig : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDataFeedConfig(_bb: ByteBuffer): DataFeedConfig = getRootAsDataFeedConfig(_bb, DataFeedConfig()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt index ca537607..93fcf62d 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt @@ -10,8 +10,5 @@ class DataFeedMessage private constructor() { const val StartDataFeed: UByte = 2u const val DataFeedUpdate: UByte = 3u const val DataFeedConfig: UByte = 4u - val names : Array = arrayOf("NONE", "PollDataFeed", "StartDataFeed", "DataFeedUpdate", "DataFeedConfig") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt index 18b243e9..b016a7ff 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class DataFeedMessageHeader : Table() { @@ -26,7 +38,7 @@ class DataFeedMessageHeader : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDataFeedMessageHeader(_bb: ByteBuffer): DataFeedMessageHeader = getRootAsDataFeedMessageHeader(_bb, DataFeedMessageHeader()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt index 57d5b4e8..1c0b574f 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * All of the data components related to a single data feed. A data feed is comprised @@ -92,7 +104,7 @@ class DataFeedUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDataFeedUpdate(_bb: ByteBuffer): DataFeedUpdate = getRootAsDataFeedUpdate(_bb, DataFeedUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt index 7f6086b7..2a4b1403 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Requests for a single `Update` to be sent. This is helpful when getting @@ -31,7 +43,7 @@ class PollDataFeed : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsPollDataFeed(_bb: ByteBuffer): PollDataFeed = getRootAsPollDataFeed(_bb, PollDataFeed()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt index eec7f5b6..b1c4638e 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Requests for the other party to send `data_feeds`. @@ -41,7 +53,7 @@ class StartDataFeed : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStartDataFeed(_bb: ByteBuffer): StartDataFeed = getRootAsStartDataFeed(_bb, StartDataFeed()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt index 7ea843d8..bd4efc93 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed.device_data -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Describes all possible information about a hardware device. For example, a @@ -37,7 +49,11 @@ class DeviceData : Table() { val customName : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val customNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun customNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -83,7 +99,7 @@ class DeviceData : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDeviceData(_bb: ByteBuffer): DeviceData = getRootAsDeviceData(_bb, DeviceData()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt index 392aa827..8917da93 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed.device_data -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * A mask of values to be reported in subsequent DeviceStatus. Values set to `false` @@ -46,7 +58,7 @@ class DeviceDataMask : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDeviceDataMask(_bb: ByteBuffer): DeviceDataMask = getRootAsDeviceDataMask(_bb, DeviceDataMask()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt index a872b30c..c0842abc 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed.stay_aligned -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class StayAlignedPose : Table() { @@ -33,7 +45,7 @@ class StayAlignedPose : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStayAlignedPose(_bb: ByteBuffer): StayAlignedPose = getRootAsStayAlignedPose(_bb, StayAlignedPose()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt index 3bb7e998..654c8f7f 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed.stay_aligned -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class StayAlignedTracker : Table() { @@ -43,7 +55,7 @@ class StayAlignedTracker : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStayAlignedTracker(_bb: ByteBuffer): StayAlignedTracker = getRootAsStayAlignedTracker(_bb, StayAlignedTracker()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt index 55ba052c..71e50066 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed.tracker -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Describes all possible information about a tracker. A tracker is anything that @@ -186,7 +198,7 @@ class TrackerData : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTrackerData(_bb: ByteBuffer): TrackerData = getRootAsTrackerData(_bb, TrackerData()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt index 41b60979..47cb1ced 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed.tracker -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * A mask of the different components in `TrackerComponent` @@ -86,7 +98,7 @@ class TrackerDataMask : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTrackerDataMask(_bb: ByteBuffer): TrackerDataMask = getRootAsTrackerDataMask(_bb, TrackerDataMask()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt index 2d358fa8..0f6b70e0 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt @@ -2,9 +2,21 @@ package solarxr_protocol.data_feed.tracker -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Static description of a tracker @@ -86,7 +98,11 @@ class TrackerInfo : Table() { val displayName : String? get() { val o = __offset(18) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val displayNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(18, 1) fun displayNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 18, 1) @@ -96,7 +112,11 @@ class TrackerInfo : Table() { val customName : String? get() { val o = __offset(20) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val customNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(20, 1) fun customNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 20, 1) @@ -150,7 +170,7 @@ class TrackerInfo : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTrackerInfo(_bb: ByteBuffer): TrackerInfo = getRootAsTrackerInfo(_bb, TrackerInfo()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt index cbc73ccb..cc44bde1 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt @@ -15,55 +15,52 @@ class BodyPart private constructor() { const val CHEST: UByte = 3u const val WAIST: UByte = 4u const val HIP: UByte = 5u - const val LEFTUPPERLEG: UByte = 6u - const val RIGHTUPPERLEG: UByte = 7u - const val LEFTLOWERLEG: UByte = 8u - const val RIGHTLOWERLEG: UByte = 9u - const val LEFTFOOT: UByte = 10u - const val RIGHTFOOT: UByte = 11u - const val LEFTLOWERARM: UByte = 14u - const val RIGHTLOWERARM: UByte = 15u - const val LEFTUPPERARM: UByte = 16u - const val RIGHTUPPERARM: UByte = 17u - const val LEFTHAND: UByte = 18u - const val RIGHTHAND: UByte = 19u - const val LEFTSHOULDER: UByte = 20u - const val RIGHTSHOULDER: UByte = 21u - const val UPPERCHEST: UByte = 22u - const val LEFTHIP: UByte = 23u - const val RIGHTHIP: UByte = 24u - const val LEFTTHUMBMETACARPAL: UByte = 25u - const val LEFTTHUMBPROXIMAL: UByte = 26u - const val LEFTTHUMBDISTAL: UByte = 27u - const val LEFTINDEXPROXIMAL: UByte = 28u - const val LEFTINDEXINTERMEDIATE: UByte = 29u - const val LEFTINDEXDISTAL: UByte = 30u - const val LEFTMIDDLEPROXIMAL: UByte = 31u - const val LEFTMIDDLEINTERMEDIATE: UByte = 32u - const val LEFTMIDDLEDISTAL: UByte = 33u - const val LEFTRINGPROXIMAL: UByte = 34u - const val LEFTRINGINTERMEDIATE: UByte = 35u - const val LEFTRINGDISTAL: UByte = 36u - const val LEFTLITTLEPROXIMAL: UByte = 37u - const val LEFTLITTLEINTERMEDIATE: UByte = 38u - const val LEFTLITTLEDISTAL: UByte = 39u - const val RIGHTTHUMBMETACARPAL: UByte = 40u - const val RIGHTTHUMBPROXIMAL: UByte = 41u - const val RIGHTTHUMBDISTAL: UByte = 42u - const val RIGHTINDEXPROXIMAL: UByte = 43u - const val RIGHTINDEXINTERMEDIATE: UByte = 44u - const val RIGHTINDEXDISTAL: UByte = 45u - const val RIGHTMIDDLEPROXIMAL: UByte = 46u - const val RIGHTMIDDLEINTERMEDIATE: UByte = 47u - const val RIGHTMIDDLEDISTAL: UByte = 48u - const val RIGHTRINGPROXIMAL: UByte = 49u - const val RIGHTRINGINTERMEDIATE: UByte = 50u - const val RIGHTRINGDISTAL: UByte = 51u - const val RIGHTLITTLEPROXIMAL: UByte = 52u - const val RIGHTLITTLEINTERMEDIATE: UByte = 53u - const val RIGHTLITTLEDISTAL: UByte = 54u - val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL") - @JvmStatic - fun name(e: Int) : String = names[e] + const val LEFT_UPPER_LEG: UByte = 6u + const val RIGHT_UPPER_LEG: UByte = 7u + const val LEFT_LOWER_LEG: UByte = 8u + const val RIGHT_LOWER_LEG: UByte = 9u + const val LEFT_FOOT: UByte = 10u + const val RIGHT_FOOT: UByte = 11u + const val LEFT_LOWER_ARM: UByte = 14u + const val RIGHT_LOWER_ARM: UByte = 15u + const val LEFT_UPPER_ARM: UByte = 16u + const val RIGHT_UPPER_ARM: UByte = 17u + const val LEFT_HAND: UByte = 18u + const val RIGHT_HAND: UByte = 19u + const val LEFT_SHOULDER: UByte = 20u + const val RIGHT_SHOULDER: UByte = 21u + const val UPPER_CHEST: UByte = 22u + const val LEFT_HIP: UByte = 23u + const val RIGHT_HIP: UByte = 24u + const val LEFT_THUMB_METACARPAL: UByte = 25u + const val LEFT_THUMB_PROXIMAL: UByte = 26u + const val LEFT_THUMB_DISTAL: UByte = 27u + const val LEFT_INDEX_PROXIMAL: UByte = 28u + const val LEFT_INDEX_INTERMEDIATE: UByte = 29u + const val LEFT_INDEX_DISTAL: UByte = 30u + const val LEFT_MIDDLE_PROXIMAL: UByte = 31u + const val LEFT_MIDDLE_INTERMEDIATE: UByte = 32u + const val LEFT_MIDDLE_DISTAL: UByte = 33u + const val LEFT_RING_PROXIMAL: UByte = 34u + const val LEFT_RING_INTERMEDIATE: UByte = 35u + const val LEFT_RING_DISTAL: UByte = 36u + const val LEFT_LITTLE_PROXIMAL: UByte = 37u + const val LEFT_LITTLE_INTERMEDIATE: UByte = 38u + const val LEFT_LITTLE_DISTAL: UByte = 39u + const val RIGHT_THUMB_METACARPAL: UByte = 40u + const val RIGHT_THUMB_PROXIMAL: UByte = 41u + const val RIGHT_THUMB_DISTAL: UByte = 42u + const val RIGHT_INDEX_PROXIMAL: UByte = 43u + const val RIGHT_INDEX_INTERMEDIATE: UByte = 44u + const val RIGHT_INDEX_DISTAL: UByte = 45u + const val RIGHT_MIDDLE_PROXIMAL: UByte = 46u + const val RIGHT_MIDDLE_INTERMEDIATE: UByte = 47u + const val RIGHT_MIDDLE_DISTAL: UByte = 48u + const val RIGHT_RING_PROXIMAL: UByte = 49u + const val RIGHT_RING_INTERMEDIATE: UByte = 50u + const val RIGHT_RING_DISTAL: UByte = 51u + const val RIGHT_LITTLE_PROXIMAL: UByte = 52u + const val RIGHT_LITTLE_INTERMEDIATE: UByte = 53u + const val RIGHT_LITTLE_DISTAL: UByte = 54u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt index a1866962..86708454 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class Bytes : Table() { @@ -32,7 +44,7 @@ class Bytes : Table() { fun bInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsBytes(_bb: ByteBuffer): Bytes = getRootAsBytes(_bb, Bytes()) @JvmStatic @@ -50,6 +62,7 @@ class Bytes : Table() { fun startBytes(builder: FlatBufferBuilder) = builder.startTable(1) @JvmStatic fun addB(builder: FlatBufferBuilder, b: Int) = builder.addOffset(0, b, 0) + @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createBVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt index 41a5c666..8b0db309 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * A unique ID for the device. IDs are not guaranteed to be the same after diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt index d3bc5fb5..983298bd 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * To be used inside unions @@ -30,7 +42,7 @@ class DeviceIdTable : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDeviceIdTable(_bb: ByteBuffer): DeviceIdTable = getRootAsDeviceIdTable(_bb, DeviceIdTable()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt index bba3ceb5..a48dfd6d 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt @@ -11,8 +11,5 @@ class FilteringType private constructor() { const val NONE: UByte = 0u const val SMOOTHING: UByte = 1u const val PREDICTION: UByte = 2u - val names : Array = arrayOf("NONE", "SMOOTHING", "PREDICTION") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt index 368d0827..b40e6e0f 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt @@ -12,8 +12,5 @@ class FirmwareErrorCode private constructor() { const val Disconnected: UByte = 1u const val Occluded: UByte = 2u const val ImuError: UByte = 3u - val names : Array = arrayOf("Other", "Disconnected", "Occluded", "ImuError") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt index 741cdf2b..193574a2 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Frequency as 32 bit float diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt index 89cb17b2..91ba9ce1 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * The 4 bytes of an ip address are stored in 32 bits in big endian order. diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt index 7976bfc7..1d84a865 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * General purpose logging datatype @@ -22,7 +34,11 @@ class LogData : Table() { val message : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val messageAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun messageInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -42,7 +58,7 @@ class LogData : Table() { fun dataInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsLogData(_bb: ByteBuffer): LogData = getRootAsLogData(_bb, LogData()) @JvmStatic @@ -63,6 +79,7 @@ class LogData : Table() { fun addMessage(builder: FlatBufferBuilder, message: Int) = builder.addOffset(0, message, 0) @JvmStatic fun addData(builder: FlatBufferBuilder, data: Int) = builder.addOffset(1, data, 0) + @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createDataVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt index b47f5b4b..64559291 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt @@ -5,11 +5,8 @@ package solarxr_protocol.datatypes @Suppress("unused") class MagnetometerStatus private constructor() { companion object { - const val NOTSUPPORTED: UByte = 0u + const val NOT_SUPPORTED: UByte = 0u const val DISABLED: UByte = 1u const val ENABLED: UByte = 2u - val names : Array = arrayOf("NOT_SUPPORTED", "DISABLED", "ENABLED") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt index fcedc8f3..1327e7ff 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt @@ -5,11 +5,8 @@ package solarxr_protocol.datatypes @Suppress("unused") class RestCalibrationStatus private constructor() { companion object { - const val NOTSUPPORTED: UByte = 0u - const val NOTCALIBRATED: UByte = 1u + const val NOT_SUPPORTED: UByte = 0u + const val NOT_CALIBRATED: UByte = 1u const val CALIBRATED: UByte = 2u - val names : Array = arrayOf("NOT_SUPPORTED", "NOT_CALIBRATED", "CALIBRATED") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt index a1606488..4382229e 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class StringTable : Table() { @@ -19,13 +31,17 @@ class StringTable : Table() { val s : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val sAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun sInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStringTable(_bb: ByteBuffer): StringTable = getRootAsStringTable(_bb, StringTable()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt index 62a15ec7..246e9373 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Temperature in degrees celsius diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt index 406ef782..1b98de22 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class TrackerId : Table() { @@ -39,7 +51,7 @@ class TrackerId : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTrackerId(_bb: ByteBuffer): TrackerId = getRootAsTrackerId(_bb, TrackerId()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt index 85b5d9d7..887a56f1 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt @@ -13,28 +13,25 @@ class TrackerRole private constructor() { companion object { const val NONE: UByte = 0u const val WAIST: UByte = 1u - const val LEFTFOOT: UByte = 2u - const val RIGHTFOOT: UByte = 3u + const val LEFT_FOOT: UByte = 2u + const val RIGHT_FOOT: UByte = 3u const val CHEST: UByte = 4u - const val LEFTKNEE: UByte = 5u - const val RIGHTKNEE: UByte = 6u - const val LEFTELBOW: UByte = 7u - const val RIGHTELBOW: UByte = 8u - const val LEFTSHOULDER: UByte = 9u - const val RIGHTSHOULDER: UByte = 10u - const val LEFTHAND: UByte = 11u - const val RIGHTHAND: UByte = 12u - const val LEFTCONTROLLER: UByte = 13u - const val RIGHTCONTROLLER: UByte = 14u + const val LEFT_KNEE: UByte = 5u + const val RIGHT_KNEE: UByte = 6u + const val LEFT_ELBOW: UByte = 7u + const val RIGHT_ELBOW: UByte = 8u + const val LEFT_SHOULDER: UByte = 9u + const val RIGHT_SHOULDER: UByte = 10u + const val LEFT_HAND: UByte = 11u + const val RIGHT_HAND: UByte = 12u + const val LEFT_CONTROLLER: UByte = 13u + const val RIGHT_CONTROLLER: UByte = 14u const val HEAD: UByte = 15u const val NECK: UByte = 16u const val CAMERA: UByte = 17u const val KEYBOARD: UByte = 18u const val HMD: UByte = 19u const val BEACON: UByte = 20u - const val GENERICCONTROLLER: UByte = 21u - val names : Array = arrayOf("NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER") - @JvmStatic - fun name(e: Int) : String = names[e] + const val GENERIC_CONTROLLER: UByte = 21u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt index dd5ed25a..2dd8ecdc 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt @@ -11,9 +11,6 @@ class TrackerStatus private constructor() { const val BUSY: UByte = 3u const val ERROR: UByte = 4u const val OCCLUDED: UByte = 5u - const val TIMEDOUT: UByte = 6u - val names : Array = arrayOf("NONE", "DISCONNECTED", "OK", "BUSY", "ERROR", "OCCLUDED", "TIMED_OUT") - @JvmStatic - fun name(e: Int) : String = names[e] + const val TIMED_OUT: UByte = 6u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt index 84b1ff7f..bf84bef4 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class TransactionId : Struct() { diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt index 841788c5..f3944cb4 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt @@ -6,29 +6,29 @@ package solarxr_protocol.datatypes.hardware_info class BoardType private constructor() { companion object { const val UNKNOWN: UShort = 0u - const val SLIMEVRLEGACY: UShort = 1u - const val SLIMEVRDEV: UShort = 2u + const val SLIMEVR_LEGACY: UShort = 1u + const val SLIMEVR_DEV: UShort = 2u const val NODEMCU: UShort = 3u const val CUSTOM: UShort = 4u const val WROOM32: UShort = 5u const val WEMOSD1MINI: UShort = 6u - const val TTGOTBASE: UShort = 7u + const val TTGO_TBASE: UShort = 7u const val ESP01: UShort = 8u const val SLIMEVR: UShort = 9u - const val LOLINC3MINI: UShort = 10u + const val LOLIN_C3_MINI: UShort = 10u const val BEETLE32C3: UShort = 11u const val ESP32C3DEVKITM1: UShort = 12u const val OWOTRACK: UShort = 13u const val WRANGLER: UShort = 14u const val MOCOPI: UShort = 15u const val WEMOSWROOM02: UShort = 16u - const val XIAOESP32C3: UShort = 17u + const val XIAO_ESP32C3: UShort = 17u const val HARITORA: UShort = 18u const val ESP32C6DEVKITC1: UShort = 19u - const val GLOVEIMUSLIMEVRDEV: UShort = 20u + const val GLOVE_IMU_SLIMEVR_DEV: UShort = 20u const val GESTURES: UShort = 21u - const val SLIMEVRV12: UShort = 22u - const val ESP32S3SUPERMINI: UShort = 23u - const val DEVRESERVED: UShort = 250u + const val SLIMEVR_V1_2: UShort = 22u + const val ESP32S3_SUPERMINI: UShort = 23u + const val DEV_RESERVED: UShort = 250u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt index a47552e6..77bde0f8 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes.hardware_info -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * A mask of the data in `FirmwareStatus` @@ -56,7 +68,7 @@ class FirmwareStatusMask : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsFirmwareStatusMask(_bb: ByteBuffer): FirmwareStatusMask = getRootAsFirmwareStatusMask(_bb, FirmwareStatusMask()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt index fb4ed0c7..5761e4db 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes.hardware_info -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * A MAC address or a bluetooth address, or some other uniquely identifying address diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt index 0183474e..8177d339 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes.hardware_info -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Mostly static info about the device's hardware/firmware. @@ -30,7 +42,11 @@ class HardwareInfo : Table() { val displayName : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val displayNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun displayNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -40,7 +56,11 @@ class HardwareInfo : Table() { val model : String? get() { val o = __offset(8) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val modelAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun modelInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) @@ -50,7 +70,11 @@ class HardwareInfo : Table() { val manufacturer : String? get() { val o = __offset(10) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val manufacturerAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun manufacturerInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) @@ -60,7 +84,11 @@ class HardwareInfo : Table() { val hardwareRevision : String? get() { val o = __offset(12) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val hardwareRevisionAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(12, 1) fun hardwareRevisionInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 12, 1) @@ -70,7 +98,11 @@ class HardwareInfo : Table() { val firmwareVersion : String? get() { val o = __offset(14) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val firmwareVersionAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(14, 1) fun firmwareVersionInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 14, 1) @@ -98,7 +130,11 @@ class HardwareInfo : Table() { val boardType : String? get() { val o = __offset(20) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val boardTypeAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(20, 1) fun boardTypeInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 20, 1) @@ -117,7 +153,11 @@ class HardwareInfo : Table() { val hardwareIdentifier : String? get() { val o = __offset(24) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val hardwareIdentifierAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(24, 1) fun hardwareIdentifierInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 24, 1) @@ -131,7 +171,7 @@ class HardwareInfo : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsHardwareInfo(_bb: ByteBuffer): HardwareInfo = getRootAsHardwareInfo(_bb, HardwareInfo()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt index 52bc7843..19a6365d 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes.hardware_info -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Mostly-dynamic status info about a tracked device's firmware @@ -66,7 +78,7 @@ class HardwareStatus : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsHardwareStatus(_bb: ByteBuffer): HardwareStatus = getRootAsHardwareStatus(_bb, HardwareStatus()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt index 1a0d26cd..4bc321d7 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt @@ -23,7 +23,7 @@ class ImuType private constructor() { const val LSM6DSR: UShort = 15u const val ICM45686: UShort = 16u const val ICM45605: UShort = 17u - const val ADCRESISTANCE: UShort = 18u - const val DEVRESERVED: UShort = 250u + const val ADC_RESISTANCE: UShort = 18u + const val DEV_RESERVED: UShort = 250u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt index 75606606..4b055cc0 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt @@ -8,12 +8,12 @@ class McuType private constructor() { const val Other: UShort = 0u const val ESP8266: UShort = 1u const val ESP32: UShort = 2u - const val OWOTRACKANDROID: UShort = 3u + const val OWOTRACK_ANDROID: UShort = 3u const val WRANGLER: UShort = 4u - const val OWOTRACKIOS: UShort = 5u - const val ESP32C3: UShort = 6u + const val OWOTRACK_IOS: UShort = 5u + const val ESP32_C3: UShort = 6u const val MOCOPI: UShort = 7u const val HARITORA: UShort = 8u - const val DEVRESERVED: UShort = 250u + const val DEV_RESERVED: UShort = 250u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt index cb50a348..02b4e4a9 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt @@ -15,13 +15,10 @@ class TrackerDataType private constructor() { /** * Flex resistance (e.g: raw data from flex sensors or unscaled angle on a single axis) */ - const val FLEXRESISTANCE: UByte = 1u + const val FLEX_RESISTANCE: UByte = 1u /** * Flex angle (e.g: computed angle from flex sensors or angle on a single axis) */ - const val FLEXANGLE: UByte = 2u - val names : Array = arrayOf("ROTATION", "FLEX_RESISTANCE", "FLEX_ANGLE") - @JvmStatic - fun name(e: Int) : String = names[e] + const val FLEX_ANGLE: UByte = 2u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt index f9dc0c1d..3afd5c6d 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes.math -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class Quat : Struct() { diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt index 6974a1ca..ffa250c8 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt @@ -2,9 +2,21 @@ package solarxr_protocol.datatypes.math -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class Vec3f : Struct() { diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt index 7d82dc7a..26e92f3a 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class KeyValues : Table() { @@ -42,7 +54,7 @@ class KeyValues : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsKeyValues(_bb: ByteBuffer): KeyValues = getRootAsKeyValues(_bb, KeyValues()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt index 5a939e17..08b2bce6 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Data that is sent from publishers to subscribers @@ -37,7 +49,7 @@ class Message : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsMessage(_bb: ByteBuffer): Message = getRootAsMessage(_bb, Message()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt index 0b6fdfdd..e0c8e7fc 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt @@ -6,11 +6,8 @@ package solarxr_protocol.pub_sub class Payload private constructor() { companion object { const val NONE: UByte = 0u - const val solarxrProtocolDatatypesStringTable: UByte = 1u - const val solarxrProtocolDatatypesBytes: UByte = 2u + const val solarxr_protocol_datatypes_StringTable: UByte = 1u + const val solarxr_protocol_datatypes_Bytes: UByte = 2u const val KeyValues: UByte = 3u - val names : Array = arrayOf("NONE", "solarxr_protocol_datatypes_StringTable", "solarxr_protocol_datatypes_Bytes", "KeyValues") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt index fdec3b39..c82c39c8 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class PubSubHeader : Table() { @@ -26,7 +38,7 @@ class PubSubHeader : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsPubSubHeader(_bb: ByteBuffer): PubSubHeader = getRootAsPubSubHeader(_bb, PubSubHeader()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt index c028e24f..37255947 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt @@ -10,8 +10,5 @@ class PubSubUnion private constructor() { const val SubscriptionRequest: UByte = 2u const val TopicHandleRequest: UByte = 3u const val TopicMapping: UByte = 4u - val names : Array = arrayOf("NONE", "Message", "SubscriptionRequest", "TopicHandleRequest", "TopicMapping") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt index 0abd13d7..a7a5d42e 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Requests a subscription to `topic`. Replies with a `TopicMapping`. @@ -29,7 +41,7 @@ class SubscriptionRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSubscriptionRequest(_bb: ByteBuffer): SubscriptionRequest = getRootAsSubscriptionRequest(_bb, SubscriptionRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt index 78ef5083..7bd11346 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt @@ -8,8 +8,5 @@ class Topic private constructor() { const val NONE: UByte = 0u const val TopicHandle: UByte = 1u const val TopicId: UByte = 2u - val names : Array = arrayOf("NONE", "TopicHandle", "TopicId") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt index 405f3dec..16221ff4 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * A handle for the topic, allows referencing a topic without sending a huge @@ -27,7 +39,7 @@ class TopicHandle : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTopicHandle(_bb: ByteBuffer): TopicHandle = getRootAsTopicHandle(_bb, TopicHandle()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt index 7ff6198a..f72b1b60 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Request to get the `FeatureHandle` from a `FeatureId`. This is useful for reducing @@ -31,7 +43,7 @@ class TopicHandleRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTopicHandleRequest(_bb: ByteBuffer): TopicHandleRequest = getRootAsTopicHandleRequest(_bb, TopicHandleRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt index e3ed16e6..05a4892d 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * A `TopicId` identifies an application-specific category of data. Because it @@ -32,7 +44,11 @@ class TopicId : Table() { val organization : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val organizationAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun organizationInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -42,7 +58,11 @@ class TopicId : Table() { val appName : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val appNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun appNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -52,13 +72,17 @@ class TopicId : Table() { val topic : String? get() { val o = __offset(8) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val topicAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun topicInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTopicId(_bb: ByteBuffer): TopicId = getRootAsTopicId(_bb, TopicId()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt index 20369942..ceacd399 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt @@ -2,9 +2,21 @@ package solarxr_protocol.pub_sub -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Response for `TopicHandleRequest` or `SubscriptionRequest`. @@ -39,7 +51,7 @@ class TopicMapping : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTopicMapping(_bb: ByteBuffer): TopicMapping = getRootAsTopicMapping(_bb, TopicMapping()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt index 7445f69a..dd346691 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class AddUnknownDeviceRequest : Table() { @@ -19,13 +31,17 @@ class AddUnknownDeviceRequest : Table() { val macAddress : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val macAddressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun macAddressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAddUnknownDeviceRequest(_bb: ByteBuffer): AddUnknownDeviceRequest = getRootAsAddUnknownDeviceRequest(_bb, AddUnknownDeviceRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt index 2f64f8bf..c1a848c8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt @@ -16,13 +16,10 @@ class ArmsMountingResetMode private constructor() { /** * Arms going up to the sides into a tpose */ - const val TPOSEUP: UByte = 2u + const val TPOSE_UP: UByte = 2u /** * Arms going down to the sides from a tpose */ - const val TPOSEDOWN: UByte = 3u - val names : Array = arrayOf("BACK", "FORWARD", "TPOSE_UP", "TPOSE_DOWN") - @JvmStatic - fun name(e: Int) : String = names[e] + const val TPOSE_DOWN: UByte = 3u } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt index 3febae0f..bc3c203b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class AssignTrackerRequest : Table() { @@ -42,7 +54,11 @@ class AssignTrackerRequest : Table() { val displayName : String? get() { val o = __offset(10) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val displayNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun displayNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) @@ -53,7 +69,7 @@ class AssignTrackerRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAssignTrackerRequest(_bb: ByteBuffer): AssignTrackerRequest = getRootAsAssignTrackerRequest(_bb, AssignTrackerRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt index 6ab3ef3b..c9160164 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Applies the estimated proportions @@ -21,7 +33,7 @@ class AutoBoneApplyRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAutoBoneApplyRequest(_bb: ByteBuffer): AutoBoneApplyRequest = getRootAsAutoBoneApplyRequest(_bb, AutoBoneApplyRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt index ee57c8bf..fa35b7cd 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Cancels the current recording, aborting the process and discarding the data @@ -21,7 +33,7 @@ class AutoBoneCancelRecordingRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAutoBoneCancelRecordingRequest(_bb: ByteBuffer): AutoBoneCancelRecordingRequest = getRootAsAutoBoneCancelRecordingRequest(_bb, AutoBoneCancelRecordingRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt index aed1e414..f0da6677 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class AutoBoneEpochResponse : Table() { @@ -52,7 +64,7 @@ class AutoBoneEpochResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAutoBoneEpochResponse(_bb: ByteBuffer): AutoBoneEpochResponse = getRootAsAutoBoneEpochResponse(_bb, AutoBoneEpochResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt index 184caaa2..4e87da87 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class AutoBoneProcessRequest : Table() { @@ -23,7 +35,7 @@ class AutoBoneProcessRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAutoBoneProcessRequest(_bb: ByteBuffer): AutoBoneProcessRequest = getRootAsAutoBoneProcessRequest(_bb, AutoBoneProcessRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt index 3b1cfe96..e493fef5 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class AutoBoneProcessStatusResponse : Table() { @@ -63,7 +75,7 @@ class AutoBoneProcessStatusResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAutoBoneProcessStatusResponse(_bb: ByteBuffer): AutoBoneProcessStatusResponse = getRootAsAutoBoneProcessStatusResponse(_bb, AutoBoneProcessStatusResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt index 91f2c614..f198e376 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt @@ -14,8 +14,5 @@ class AutoBoneProcessType private constructor() { * Use AutoBoneApplyRequest instead */ const val APPLY: UByte = 4u - val names : Array = arrayOf("NONE", "RECORD", "SAVE", "PROCESS", "APPLY") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt index 2e84ff91..37071f82 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * https://github.com/SlimeVR/SlimeVR-Server/blob/v0.8.3/server/src/main/java/dev/slimevr/config/AutoBoneConfig.kt @@ -131,7 +143,7 @@ class AutoBoneSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAutoBoneSettings(_bb: ByteBuffer): AutoBoneSettings = getRootAsAutoBoneSettings(_bb, AutoBoneSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt index 20c3fbe7..99cb8463 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Stops the current recording, using it as far as it has been recorded @@ -21,7 +33,7 @@ class AutoBoneStopRecordingRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsAutoBoneStopRecordingRequest(_bb: ByteBuffer): AutoBoneStopRecordingRequest = getRootAsAutoBoneStopRecordingRequest(_bb, AutoBoneStopRecordingRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt index f2f00323..89cc0b37 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * If no tracker ID is given, it's the setting for every tracker/device @@ -35,7 +47,7 @@ class ChangeMagToggleRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsChangeMagToggleRequest(_bb: ByteBuffer): ChangeMagToggleRequest = getRootAsChangeMagToggleRequest(_bb, ChangeMagToggleRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt index 01b6c6e2..4c6dd592 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ChangeSettingsRequest : Table() { @@ -117,7 +129,7 @@ class ChangeSettingsRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsChangeSettingsRequest(_bb: ByteBuffer): ChangeSettingsRequest = getRootAsChangeSettingsRequest(_bb, ChangeSettingsRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt index c429bbf2..e7b3f7b1 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ChangeSkeletonConfigRequest : Table() { @@ -28,7 +40,7 @@ class ChangeSkeletonConfigRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsChangeSkeletonConfigRequest(_bb: ByteBuffer): ChangeSkeletonConfigRequest = getRootAsChangeSkeletonConfigRequest(_bb, ChangeSkeletonConfigRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt index c81fa0e4..36a6f589 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ClearDriftCompensationRequest : Table() { @@ -18,7 +30,7 @@ class ClearDriftCompensationRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsClearDriftCompensationRequest(_bb: ByteBuffer): ClearDriftCompensationRequest = getRootAsClearDriftCompensationRequest(_bb, ClearDriftCompensationRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt index 49b6d9e4..ab07d47d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Clears mounting reset data, defaulting to the manually set mounting orientations @@ -21,7 +33,7 @@ class ClearMountingResetRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsClearMountingResetRequest(_bb: ByteBuffer): ClearMountingResetRequest = getRootAsClearMountingResetRequest(_bb, ClearMountingResetRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt index c1bd9a19..64086fb1 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class CloseSerialRequest : Table() { @@ -18,7 +30,7 @@ class CloseSerialRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsCloseSerialRequest(_bb: ByteBuffer): CloseSerialRequest = getRootAsCloseSerialRequest(_bb, CloseSerialRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt index 91540aa3..0c8b9c13 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt @@ -9,8 +9,5 @@ package solarxr_protocol.rpc class ComputerDirectory private constructor() { companion object { const val Documents: UByte = 0u - val names : Array = arrayOf("Documents") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt index 4e97bc86..5943ea0c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class DetectStayAlignedRelaxedPoseRequest : Table() { @@ -23,7 +35,7 @@ class DetectStayAlignedRelaxedPoseRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDetectStayAlignedRelaxedPoseRequest(_bb: ByteBuffer): DetectStayAlignedRelaxedPoseRequest = getRootAsDetectStayAlignedRelaxedPoseRequest(_bb, DetectStayAlignedRelaxedPoseRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt index 5868ef06..9d2dd49d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Settings related to IMU yaw drift compensation @@ -47,7 +59,7 @@ class DriftCompensationSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsDriftCompensationSettings(_bb: ByteBuffer): DriftCompensationSettings = getRootAsDriftCompensationSettings(_bb, DriftCompensationSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt index 2edca81e..5ba70c44 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class EnableStayAlignedRequest : Table() { @@ -23,7 +35,7 @@ class EnableStayAlignedRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsEnableStayAlignedRequest(_bb: ByteBuffer): EnableStayAlignedRequest = getRootAsEnableStayAlignedRequest(_bb, EnableStayAlignedRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt index c2bd3e37..ed27c2d0 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class FilteringSettings : Table() { @@ -31,7 +43,7 @@ class FilteringSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsFilteringSettings(_bb: ByteBuffer): FilteringSettings = getRootAsFilteringSettings(_bb, FilteringSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt index 4d29cfdf..c60d13ed 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class FirmwarePart : Table() { @@ -22,7 +34,11 @@ class FirmwarePart : Table() { val url : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val urlAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun urlInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -47,7 +63,7 @@ class FirmwarePart : Table() { fun digestInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsFirmwarePart(_bb: ByteBuffer): FirmwarePart = getRootAsFirmwarePart(_bb, FirmwarePart()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt index 51104e34..d52a1cd5 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt @@ -6,10 +6,7 @@ package solarxr_protocol.rpc class FirmwareUpdateDeviceId private constructor() { companion object { const val NONE: UByte = 0u - const val solarxrProtocolDatatypesDeviceIdTable: UByte = 1u + const val solarxr_protocol_datatypes_DeviceIdTable: UByte = 1u const val SerialDevicePort: UByte = 2u - val names : Array = arrayOf("NONE", "solarxr_protocol_datatypes_DeviceIdTable", "SerialDevicePort") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt index aad7a163..6b25615c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt @@ -8,8 +8,5 @@ class FirmwareUpdateMethod private constructor() { const val NONE: UByte = 0u const val OTAFirmwareUpdate: UByte = 1u const val SerialFirmwareUpdate: UByte = 2u - val names : Array = arrayOf("NONE", "OTAFirmwareUpdate", "SerialFirmwareUpdate") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt index a09cb6ac..43f8c1ca 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class FirmwareUpdateRequest : Table() { @@ -26,7 +38,7 @@ class FirmwareUpdateRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsFirmwareUpdateRequest(_bb: ByteBuffer): FirmwareUpdateRequest = getRootAsFirmwareUpdateRequest(_bb, FirmwareUpdateRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt index 9cb44291..e2712f11 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt @@ -13,7 +13,7 @@ class FirmwareUpdateStatus private constructor() { * The server is waiting for the tracker to be rebooted by the user * Note that is is not the same as REBOOTING */ - const val NEEDMANUALREBOOT: UByte = 1u + const val NEED_MANUAL_REBOOT: UByte = 1u /** * The server tries to authenticate with the MCU */ @@ -26,7 +26,7 @@ class FirmwareUpdateStatus private constructor() { * The serial flasher tries to sync with the MCU * You can use this event to prompt the user to press the boot btn */ - const val SYNCINGWITHMCU: UByte = 4u + const val SYNCING_WITH_MCU: UByte = 4u /** * The MCU is rebooting */ @@ -39,34 +39,31 @@ class FirmwareUpdateStatus private constructor() { /** * Could not find the device */ - const val ERRORDEVICENOTFOUND: UByte = 8u + const val ERROR_DEVICE_NOT_FOUND: UByte = 8u /** * The operation timed out, > 1min */ - const val ERRORTIMEOUT: UByte = 9u + const val ERROR_TIMEOUT: UByte = 9u /** * The firmware download failed */ - const val ERRORDOWNLOADFAILED: UByte = 10u + const val ERROR_DOWNLOAD_FAILED: UByte = 10u /** * The server could not authenticate with the MCU */ - const val ERRORAUTHENTICATIONFAILED: UByte = 11u + const val ERROR_AUTHENTICATION_FAILED: UByte = 11u /** * Could not upload the firmware to the MCU */ - const val ERRORUPLOADFAILED: UByte = 12u + const val ERROR_UPLOAD_FAILED: UByte = 12u /** * The provision of the tracker failed, usually wifi credentials */ - const val ERRORPROVISIONINGFAILED: UByte = 13u + const val ERROR_PROVISIONING_FAILED: UByte = 13u /** * An unsupported Flashing method was used */ - const val ERRORUNSUPPORTEDMETHOD: UByte = 14u - const val ERRORUNKNOWN: UByte = 15u - val names : Array = arrayOf("DOWNLOADING", "NEED_MANUAL_REBOOT", "AUTHENTICATING", "UPLOADING", "SYNCING_WITH_MCU", "REBOOTING", "PROVISIONING", "DONE", "ERROR_DEVICE_NOT_FOUND", "ERROR_TIMEOUT", "ERROR_DOWNLOAD_FAILED", "ERROR_AUTHENTICATION_FAILED", "ERROR_UPLOAD_FAILED", "ERROR_PROVISIONING_FAILED", "ERROR_UNSUPPORTED_METHOD", "ERROR_UNKNOWN") - @JvmStatic - fun name(e: Int) : String = names[e] + const val ERROR_UNSUPPORTED_METHOD: UByte = 14u + const val ERROR_UNKNOWN: UByte = 15u } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt index 6fa7e52b..46360ab1 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class FirmwareUpdateStatusResponse : Table() { @@ -39,7 +51,7 @@ class FirmwareUpdateStatusResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsFirmwareUpdateStatusResponse(_bb: ByteBuffer): FirmwareUpdateStatusResponse = getRootAsFirmwareUpdateStatusResponse(_bb, FirmwareUpdateStatusResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt index 2e9d8049..751a726c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class FirmwareUpdateStopQueuesRequest : Table() { @@ -18,7 +30,7 @@ class FirmwareUpdateStopQueuesRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsFirmwareUpdateStopQueuesRequest(_bb: ByteBuffer): FirmwareUpdateStopQueuesRequest = getRootAsFirmwareUpdateStopQueuesRequest(_bb, FirmwareUpdateStopQueuesRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt index 5060d710..63947a2f 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ForgetDeviceRequest : Table() { @@ -19,13 +31,17 @@ class ForgetDeviceRequest : Table() { val macAddress : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val macAddressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun macAddressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsForgetDeviceRequest(_bb: ByteBuffer): ForgetDeviceRequest = getRootAsForgetDeviceRequest(_bb, ForgetDeviceRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt index 09b71013..395a981c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class HeartbeatRequest : Table() { @@ -18,7 +30,7 @@ class HeartbeatRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsHeartbeatRequest(_bb: ByteBuffer): HeartbeatRequest = getRootAsHeartbeatRequest(_bb, HeartbeatRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt index 8ddc4c2d..7951f89b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class HeartbeatResponse : Table() { @@ -18,7 +30,7 @@ class HeartbeatResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsHeartbeatResponse(_bb: ByteBuffer): HeartbeatResponse = getRootAsHeartbeatResponse(_bb, HeartbeatResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt index f7305eab..dd74fcb7 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class HeightRequest : Table() { @@ -18,7 +30,7 @@ class HeightRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsHeightRequest(_bb: ByteBuffer): HeightRequest = getRootAsHeightRequest(_bb, HeightRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt index e5a63e29..04cd45a5 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Returns the current min and max positional tracker heights @@ -31,7 +43,7 @@ class HeightResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsHeightResponse(_bb: ByteBuffer): HeightResponse = getRootAsHeightResponse(_bb, HeightResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt index 39319711..558d5507 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Makes a temporary change to legtweaks. This is not saved to disk, and can be @@ -42,7 +54,7 @@ class LegTweaksTmpChange : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsLegTweaksTmpChange(_bb: ByteBuffer): LegTweaksTmpChange = getRootAsLegTweaksTmpChange(_bb, LegTweaksTmpChange()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt index c40b2850..1b1590df 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Clears the legtweaks temporary state back to what the config has. @@ -42,7 +54,7 @@ class LegTweaksTmpClear : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsLegTweaksTmpClear(_bb: ByteBuffer): LegTweaksTmpClear = getRootAsLegTweaksTmpClear(_bb, LegTweaksTmpClear()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt index 9161c480..a9945e4a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * If no tracker ID is given, it's the setting for every tracker/device @@ -30,7 +42,7 @@ class MagToggleRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsMagToggleRequest(_bb: ByteBuffer): MagToggleRequest = getRootAsMagToggleRequest(_bb, MagToggleRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt index 0cd996a6..4160716a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * If no tracker ID is given, it's the setting for every tracker/device @@ -35,7 +47,7 @@ class MagToggleResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsMagToggleResponse(_bb: ByteBuffer): MagToggleResponse = getRootAsMagToggleResponse(_bb, MagToggleResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt index 5df5f36a..1ed4218a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class NewSerialDeviceResponse : Table() { @@ -27,7 +39,7 @@ class NewSerialDeviceResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsNewSerialDeviceResponse(_bb: ByteBuffer): NewSerialDeviceResponse = getRootAsNewSerialDeviceResponse(_bb, NewSerialDeviceResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt index 230e4612..829c9980 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * OSC router forwards messages it receives, to allow the usage of multiple OSC programs for the same app. @@ -30,7 +42,7 @@ class OSCRouterSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOSCRouterSettings(_bb: ByteBuffer): OSCRouterSettings = getRootAsOSCRouterSettings(_bb, OSCRouterSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt index e942d084..01bea985 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * OSC Settings that are used in *any* osc application. @@ -37,13 +49,17 @@ class OSCSettings : Table() { val address : String? get() { val o = __offset(10) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val addressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun addressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOSCSettings(_bb: ByteBuffer): OSCSettings = getRootAsOSCSettings(_bb, OSCSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt index f179aca3..b4783487 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class OSCTrackersSetting : Table() { @@ -53,7 +65,7 @@ class OSCTrackersSetting : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOSCTrackersSetting(_bb: ByteBuffer): OSCTrackersSetting = getRootAsOSCTrackersSetting(_bb, OSCTrackersSetting()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt index 998659ad..38ca6740 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class OTAFirmwareUpdate : Table() { @@ -42,7 +54,7 @@ class OTAFirmwareUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOTAFirmwareUpdate(_bb: ByteBuffer): OTAFirmwareUpdate = getRootAsOTAFirmwareUpdate(_bb, OTAFirmwareUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt index fb41dd50..d8db0ee8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class OpenSerialRequest : Table() { @@ -27,13 +39,17 @@ class OpenSerialRequest : Table() { val port : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOpenSerialRequest(_bb: ByteBuffer): OpenSerialRequest = getRootAsOpenSerialRequest(_bb, OpenSerialRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt index f2cb40df..a8039116 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Changes the state of the overlay's display mode. @@ -31,7 +43,7 @@ class OverlayDisplayModeChangeRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOverlayDisplayModeChangeRequest(_bb: ByteBuffer): OverlayDisplayModeChangeRequest = getRootAsOverlayDisplayModeChangeRequest(_bb, OverlayDisplayModeChangeRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt index 0d5b619a..27cd736d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Requests the current state of `OverlayDisplayModeResponse`. @@ -21,7 +33,7 @@ class OverlayDisplayModeRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOverlayDisplayModeRequest(_bb: ByteBuffer): OverlayDisplayModeRequest = getRootAsOverlayDisplayModeRequest(_bb, OverlayDisplayModeRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt index 8730be56..bbd99315 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * The current state of the overlay's display mode. @@ -31,7 +43,7 @@ class OverlayDisplayModeResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsOverlayDisplayModeResponse(_bb: ByteBuffer): OverlayDisplayModeResponse = getRootAsOverlayDisplayModeResponse(_bb, OverlayDisplayModeResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt index d536697d..3bf6b339 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class RecordBVHRequest : Table() { @@ -28,13 +40,17 @@ class RecordBVHRequest : Table() { val path : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val pathAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun pathInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsRecordBVHRequest(_bb: ByteBuffer): RecordBVHRequest = getRootAsRecordBVHRequest(_bb, RecordBVHRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt index ba5499e3..c9209861 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class RecordBVHStatus : Table() { @@ -23,7 +35,7 @@ class RecordBVHStatus : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsRecordBVHStatus(_bb: ByteBuffer): RecordBVHStatus = getRootAsRecordBVHStatus(_bb, RecordBVHStatus()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt index 3139e29a..361fd24c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class RecordBVHStatusRequest : Table() { @@ -18,7 +30,7 @@ class RecordBVHStatusRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsRecordBVHStatusRequest(_bb: ByteBuffer): RecordBVHStatusRequest = getRootAsRecordBVHStatusRequest(_bb, RecordBVHStatusRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt index 9a3d78f1..3b14567c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ResetRequest : Table() { @@ -40,7 +52,7 @@ class ResetRequest : Table() { fun bodyPartsInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsResetRequest(_bb: ByteBuffer): ResetRequest = getRootAsResetRequest(_bb, ResetRequest()) @JvmStatic @@ -61,6 +73,7 @@ class ResetRequest : Table() { fun addResetType(builder: FlatBufferBuilder, resetType: UByte) = builder.addByte(0, resetType.toByte(), 0) @JvmStatic fun addBodyParts(builder: FlatBufferBuilder, bodyParts: Int) = builder.addOffset(1, bodyParts, 0) + @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createBodyPartsVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt index d96a2b0c..746c673a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ResetResponse : Table() { @@ -60,7 +72,7 @@ class ResetResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsResetResponse(_bb: ByteBuffer): ResetResponse = getRootAsResetResponse(_bb, ResetResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt index a15b278b..920c37c9 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt @@ -7,8 +7,5 @@ class ResetStatus private constructor() { companion object { const val STARTED: UByte = 0u const val FINISHED: UByte = 1u - val names : Array = arrayOf("STARTED", "FINISHED") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt index 4f404e3b..473bb5be 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ResetStayAlignedRelaxedPoseRequest : Table() { @@ -23,7 +35,7 @@ class ResetStayAlignedRelaxedPoseRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsResetStayAlignedRelaxedPoseRequest(_bb: ByteBuffer): ResetStayAlignedRelaxedPoseRequest = getRootAsResetStayAlignedRelaxedPoseRequest(_bb, ResetStayAlignedRelaxedPoseRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt index 00cc7ac9..45fa81f0 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt @@ -11,8 +11,5 @@ class ResetType private constructor() { * Second pose for calibrating mounting rotation */ const val Mounting: UByte = 2u - val names : Array = arrayOf("Yaw", "Full", "Mounting") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt index 1ff79fa1..738206c3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class ResetsSettings : Table() { @@ -43,7 +55,7 @@ class ResetsSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsResetsSettings(_bb: ByteBuffer): ResetsSettings = getRootAsResetsSettings(_bb, ResetsSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt index 9756bbe4..b65f9bb6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class RpcMessageHeader : Table() { @@ -39,7 +51,7 @@ class RpcMessageHeader : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsRpcMessageHeader(_bb: ByteBuffer): RpcMessageHeader = getRootAsRpcMessageHeader(_bb, RpcMessageHeader()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt index da35d2a7..cbdd3b1d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Used for the server to save a file and have it prompt in the user side @@ -42,7 +54,11 @@ class SaveFileNotification : Table() { val mimeType : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val mimeTypeAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun mimeTypeInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -52,7 +68,11 @@ class SaveFileNotification : Table() { val fileExtension : String? get() { val o = __offset(8) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val fileExtensionAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun fileExtensionInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) @@ -70,13 +90,17 @@ class SaveFileNotification : Table() { val expectedFilename : String? get() { val o = __offset(12) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val expectedFilenameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(12, 1) fun expectedFilenameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 12, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSaveFileNotification(_bb: ByteBuffer): SaveFileNotification = getRootAsSaveFileNotification(_bb, SaveFileNotification()) @JvmStatic @@ -98,6 +122,7 @@ class SaveFileNotification : Table() { fun startSaveFileNotification(builder: FlatBufferBuilder) = builder.startTable(5) @JvmStatic fun addData(builder: FlatBufferBuilder, data: Int) = builder.addOffset(0, data, 0) + @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createDataVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt index 429d5678..aa9b0041 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SerialDevice : Table() { @@ -19,20 +31,28 @@ class SerialDevice : Table() { val port : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) val name : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val nameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun nameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialDevice(_bb: ByteBuffer): SerialDevice = getRootAsSerialDevice(_bb, SerialDevice()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt index 4abc9325..1e228ef2 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SerialDevicePort : Table() { @@ -19,13 +31,17 @@ class SerialDevicePort : Table() { val port : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialDevicePort(_bb: ByteBuffer): SerialDevicePort = getRootAsSerialDevicePort(_bb, SerialDevicePort()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt index 591883e7..269a1802 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SerialDevicesRequest : Table() { @@ -18,7 +30,7 @@ class SerialDevicesRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialDevicesRequest(_bb: ByteBuffer): SerialDevicesRequest = getRootAsSerialDevicesRequest(_bb, SerialDevicesRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt index acef65b9..a9063738 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SerialDevicesResponse : Table() { @@ -31,7 +43,7 @@ class SerialDevicesResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialDevicesResponse(_bb: ByteBuffer): SerialDevicesResponse = getRootAsSerialDevicesResponse(_bb, SerialDevicesResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt index d373c2fd..321f2cb6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SerialFirmwareUpdate : Table() { @@ -44,14 +56,22 @@ class SerialFirmwareUpdate : Table() { val ssid : String? get() { val o = __offset(8) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val ssidAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun ssidInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) val password : String? get() { val o = __offset(10) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val passwordAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun passwordInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) @@ -73,7 +93,7 @@ class SerialFirmwareUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialFirmwareUpdate(_bb: ByteBuffer): SerialFirmwareUpdate = getRootAsSerialFirmwareUpdate(_bb, SerialFirmwareUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt index 21426958..50146c09 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Sends a custom cmd to the currently connected Tracker over the Serial Monitor @@ -22,13 +34,17 @@ class SerialTrackerCustomCommandRequest : Table() { val command : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val commandAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun commandInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialTrackerCustomCommandRequest(_bb: ByteBuffer): SerialTrackerCustomCommandRequest = getRootAsSerialTrackerCustomCommandRequest(_bb, SerialTrackerCustomCommandRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt index 0c8d9057..d6c03db0 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Sends the FRST cmd to the currently connected Tracker over the Serial Monitor @@ -21,7 +33,7 @@ class SerialTrackerFactoryResetRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialTrackerFactoryResetRequest(_bb: ByteBuffer): SerialTrackerFactoryResetRequest = getRootAsSerialTrackerFactoryResetRequest(_bb, SerialTrackerFactoryResetRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt index b83f9bbe..f65db033 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Sends the GET INFO cmd to the current tracker on the serial monitor @@ -21,7 +33,7 @@ class SerialTrackerGetInfoRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialTrackerGetInfoRequest(_bb: ByteBuffer): SerialTrackerGetInfoRequest = getRootAsSerialTrackerGetInfoRequest(_bb, SerialTrackerGetInfoRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt index b776857c..075a56e4 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Sends the GET WIFISCAN cmd to the current tracker on the serial monitor @@ -21,7 +33,7 @@ class SerialTrackerGetWifiScanRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialTrackerGetWifiScanRequest(_bb: ByteBuffer): SerialTrackerGetWifiScanRequest = getRootAsSerialTrackerGetWifiScanRequest(_bb, SerialTrackerGetWifiScanRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt index e57da4ce..ab20e811 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Reboots the tracker connected to the serial monitor @@ -21,7 +33,7 @@ class SerialTrackerRebootRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialTrackerRebootRequest(_bb: ByteBuffer): SerialTrackerRebootRequest = getRootAsSerialTrackerRebootRequest(_bb, SerialTrackerRebootRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt index c49830e6..cb6cd003 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SerialUpdateResponse : Table() { @@ -19,7 +31,11 @@ class SerialUpdateResponse : Table() { val log : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val logAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun logInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -30,7 +46,7 @@ class SerialUpdateResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSerialUpdateResponse(_bb: ByteBuffer): SerialUpdateResponse = getRootAsSerialUpdateResponse(_bb, SerialUpdateResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt index 085c63a6..deb0f837 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Allows to ask generic infos about the server, @@ -24,7 +36,7 @@ class ServerInfosRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsServerInfosRequest(_bb: ByteBuffer): ServerInfosRequest = getRootAsServerInfosRequest(_bb, ServerInfosRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt index f60dbf10..98bc5a51 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Holds the Server information, this is a basic table holding various information about the currently running server @@ -25,13 +37,17 @@ class ServerInfosResponse : Table() { val localIp : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val localIpAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun localIpInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsServerInfosResponse(_bb: ByteBuffer): ServerInfosResponse = getRootAsServerInfosResponse(_bb, ServerInfosResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt index 20d07f46..4206545e 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SetPauseTrackingRequest : Table() { @@ -26,7 +38,7 @@ class SetPauseTrackingRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSetPauseTrackingRequest(_bb: ByteBuffer): SetPauseTrackingRequest = getRootAsSetPauseTrackingRequest(_bb, SetPauseTrackingRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt index 3c5757ff..2b075330 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SetWifiRequest : Table() { @@ -19,20 +31,28 @@ class SetWifiRequest : Table() { val ssid : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val ssidAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun ssidInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) val password : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val passwordAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun passwordInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSetWifiRequest(_bb: ByteBuffer): SetWifiRequest = getRootAsSetWifiRequest(_bb, SetWifiRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt index 796f9c47..a5e3b9db 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SettingsRequest : Table() { @@ -18,7 +30,7 @@ class SettingsRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSettingsRequest(_bb: ByteBuffer): SettingsRequest = getRootAsSettingsRequest(_bb, SettingsRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt index 4267c4c3..9cd5d727 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SettingsResetRequest : Table() { @@ -18,7 +30,7 @@ class SettingsResetRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSettingsResetRequest(_bb: ByteBuffer): SettingsResetRequest = getRootAsSettingsResetRequest(_bb, SettingsResetRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt index b20c86e0..46ae40e4 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SettingsResponse : Table() { @@ -117,7 +129,7 @@ class SettingsResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSettingsResponse(_bb: ByteBuffer): SettingsResponse = getRootAsSettingsResponse(_bb, SettingsResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt index 85cdac0e..def6a6f5 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt @@ -9,26 +9,29 @@ class SkeletonBone private constructor() { const val HEAD: UByte = 1u const val NECK: UByte = 2u const val CHEST: UByte = 3u - const val CHESTOFFSET: UByte = 4u + const val CHEST_OFFSET: UByte = 4u const val WAIST: UByte = 5u const val HIP: UByte = 6u - const val HIPOFFSET: UByte = 7u - const val HIPSWIDTH: UByte = 8u - const val UPPERLEG: UByte = 9u - const val LOWERLEG: UByte = 10u - const val FOOTLENGTH: UByte = 11u - const val FOOTSHIFT: UByte = 12u - const val SKELETONOFFSET: UByte = 13u - const val SHOULDERSDISTANCE: UByte = 14u - const val SHOULDERSWIDTH: UByte = 15u - const val UPPERARM: UByte = 16u - const val LOWERARM: UByte = 17u - const val HANDY: UByte = 18u - const val HANDZ: UByte = 19u - const val ELBOWOFFSET: UByte = 20u - const val UPPERCHEST: UByte = 21u - val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST") - @JvmStatic - fun name(e: Int) : String = names[e] + const val HIP_OFFSET: UByte = 7u + const val HIPS_WIDTH: UByte = 8u + const val UPPER_LEG: UByte = 9u + const val LOWER_LEG: UByte = 10u + const val FOOT_LENGTH: UByte = 11u + const val FOOT_SHIFT: UByte = 12u + const val SKELETON_OFFSET: UByte = 13u + const val SHOULDERS_DISTANCE: UByte = 14u + const val SHOULDERS_WIDTH: UByte = 15u + const val UPPER_ARM: UByte = 16u + const val LOWER_ARM: UByte = 17u + const val HAND_Y: UByte = 18u + const val HAND_Z: UByte = 19u + const val ELBOW_OFFSET: UByte = 20u + const val UPPER_CHEST: UByte = 21u + const val LEFT_TOE_1: UByte = 22u + const val LEFT_TOE_2: UByte = 23u + const val LEFT_TOE_3: UByte = 24u + const val RIGHT_TOE_1: UByte = 25u + const val RIGHT_TOE_2: UByte = 26u + const val RIGHT_TOE_3: UByte = 27u } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt index 11f96293..b4eee691 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SkeletonConfigRequest : Table() { @@ -18,7 +30,7 @@ class SkeletonConfigRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSkeletonConfigRequest(_bb: ByteBuffer): SkeletonConfigRequest = getRootAsSkeletonConfigRequest(_bb, SkeletonConfigRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt index d7938090..c2ffa893 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SkeletonConfigResponse : Table() { @@ -36,7 +48,7 @@ class SkeletonConfigResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSkeletonConfigResponse(_bb: ByteBuffer): SkeletonConfigResponse = getRootAsSkeletonConfigResponse(_bb, SkeletonConfigResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt index 5d3f5c47..32c415a2 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SkeletonPart : Table() { @@ -28,7 +40,7 @@ class SkeletonPart : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSkeletonPart(_bb: ByteBuffer): SkeletonPart = getRootAsSkeletonPart(_bb, SkeletonPart()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt index d3324ac7..dd107a7a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SkeletonResetAllRequest : Table() { @@ -18,7 +30,7 @@ class SkeletonResetAllRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSkeletonResetAllRequest(_bb: ByteBuffer): SkeletonResetAllRequest = getRootAsSkeletonResetAllRequest(_bb, SkeletonResetAllRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt index 8e63d705..ed96ad12 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class StartWifiProvisioningRequest : Table() { @@ -19,27 +31,39 @@ class StartWifiProvisioningRequest : Table() { val ssid : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val ssidAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun ssidInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) val password : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val passwordAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun passwordInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) val port : String? get() { val o = __offset(8) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStartWifiProvisioningRequest(_bb: ByteBuffer): StartWifiProvisioningRequest = getRootAsStartWifiProvisioningRequest(_bb, StartWifiProvisioningRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt index d2fecbae..c3a3bc15 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt @@ -11,8 +11,5 @@ class StatusData private constructor() { const val StatusSteamVRDisconnected: UByte = 3u const val StatusUnassignedHMD: UByte = 4u const val StatusPublicNetwork: UByte = 5u - val names : Array = arrayOf("NONE", "StatusTrackerReset", "StatusTrackerError", "StatusSteamVRDisconnected", "StatusUnassignedHMD", "StatusPublicNetwork") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt index 66b7858b..de4c9d03 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * An status is some kind of warning sent by the server, it's mainly made for @@ -46,7 +58,7 @@ class StatusMessage : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusMessage(_bb: ByteBuffer): StatusMessage = getRootAsStatusMessage(_bb, StatusMessage()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt index 1f47c0c8..e8081632 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * When the server detects a public network profile @@ -36,7 +48,7 @@ class StatusPublicNetwork : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusPublicNetwork(_bb: ByteBuffer): StatusPublicNetwork = getRootAsStatusPublicNetwork(_bb, StatusPublicNetwork()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt index 9bd3b565..d061762c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * SteamVR bridge is disconnected @@ -25,13 +37,17 @@ class StatusSteamVRDisconnected : Table() { val bridgeSettingsName : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val bridgeSettingsNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun bridgeSettingsNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusSteamVRDisconnected(_bb: ByteBuffer): StatusSteamVRDisconnected = getRootAsStatusSteamVRDisconnected(_bb, StatusSteamVRDisconnected()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt index 91656b15..fe1369e7 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * When an status is fixed and it's removed, it's ID is sent @@ -26,7 +38,7 @@ class StatusSystemFixed : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusSystemFixed(_bb: ByteBuffer): StatusSystemFixed = getRootAsStatusSystemFixed(_bb, StatusSystemFixed()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt index 391449ca..69f9f66b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Request current statuses that we have @@ -21,7 +33,7 @@ class StatusSystemRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusSystemRequest(_bb: ByteBuffer): StatusSystemRequest = getRootAsStatusSystemRequest(_bb, StatusSystemRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt index ee7d9b04..b23af6c8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Response containing all current valid statuses @@ -34,7 +46,7 @@ class StatusSystemResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusSystemResponse(_bb: ByteBuffer): StatusSystemResponse = getRootAsStatusSystemResponse(_bb, StatusSystemResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt index 57e38593..93032ec8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * When a new status appears, it's sent alone @@ -30,7 +42,7 @@ class StatusSystemUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusSystemUpdate(_bb: ByteBuffer): StatusSystemUpdate = getRootAsStatusSystemUpdate(_bb, StatusSystemUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt index cf044044..7f6b78d1 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Trackers with error state @@ -34,7 +46,7 @@ class StatusTrackerError : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusTrackerError(_bb: ByteBuffer): StatusTrackerError = getRootAsStatusTrackerError(_bb, StatusTrackerError()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt index c912d612..6f0a1856 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Tracker requires full reset @@ -34,7 +46,7 @@ class StatusTrackerReset : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusTrackerReset(_bb: ByteBuffer): StatusTrackerReset = getRootAsStatusTrackerReset(_bb, StatusTrackerReset()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt index 88bfcba9..e12c6bab 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * There is an available HMD tracker and it's not assigned to head @@ -30,7 +42,7 @@ class StatusUnassignedHMD : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStatusUnassignedHMD(_bb: ByteBuffer): StatusUnassignedHMD = getRootAsStatusUnassignedHMD(_bb, StatusUnassignedHMD()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt index 31dd3508..6f153ab4 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt @@ -8,8 +8,5 @@ class StayAlignedRelaxedPose private constructor() { const val STANDING: UByte = 0u const val SITTING: UByte = 1u const val FLAT: UByte = 2u - val names : Array = arrayOf("STANDING", "SITTING", "FLAT") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt index fd789e2b..1b8e87b3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class StayAlignedSettings : Table() { @@ -98,7 +110,7 @@ class StayAlignedSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStayAlignedSettings(_bb: ByteBuffer): StayAlignedSettings = getRootAsStayAlignedSettings(_bb, StayAlignedSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt index 5befe9f2..b5282e3d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SteamVRTrackersSetting : Table() { @@ -73,7 +85,7 @@ class SteamVRTrackersSetting : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSteamVRTrackersSetting(_bb: ByteBuffer): SteamVRTrackersSetting = getRootAsSteamVRTrackersSetting(_bb, SteamVRTrackersSetting()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt index 287fb99c..909adf80 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class StopWifiProvisioningRequest : Table() { @@ -18,7 +30,7 @@ class StopWifiProvisioningRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsStopWifiProvisioningRequest(_bb: ByteBuffer): StopWifiProvisioningRequest = getRootAsStopWifiProvisioningRequest(_bb, StopWifiProvisioningRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt index e3bf7000..d9737ba2 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class TapDetectionSettings : Table() { @@ -77,7 +89,7 @@ class TapDetectionSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTapDetectionSettings(_bb: ByteBuffer): TapDetectionSettings = getRootAsTapDetectionSettings(_bb, TapDetectionSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt index 0d73e6f8..b5096010 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * See TapDetectionSettings::setup_mode @@ -30,7 +42,7 @@ class TapDetectionSetupNotification : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTapDetectionSetupNotification(_bb: ByteBuffer): TapDetectionSetupNotification = getRootAsTapDetectionSetupNotification(_bb, TapDetectionSetupNotification()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt index f2aa5eb0..473bb871 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Requests the current state of tracking pause @@ -21,7 +33,7 @@ class TrackingPauseStateRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTrackingPauseStateRequest(_bb: ByteBuffer): TrackingPauseStateRequest = getRootAsTrackingPauseStateRequest(_bb, TrackingPauseStateRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt index 256c1a3d..dddb09a1 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class TrackingPauseStateResponse : Table() { @@ -26,7 +38,7 @@ class TrackingPauseStateResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsTrackingPauseStateResponse(_bb: ByteBuffer): TrackingPauseStateResponse = getRootAsTrackingPauseStateResponse(_bb, TrackingPauseStateResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt b/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt index d4fae87f..b918abee 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Server notifies connection of an unknown device. @@ -24,13 +36,17 @@ class UnknownDeviceHandshakeNotification : Table() { val macAddress : String? get() { val o = __offset(4) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val macAddressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun macAddressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsUnknownDeviceHandshakeNotification(_bb: ByteBuffer): UnknownDeviceHandshakeNotification = getRootAsUnknownDeviceHandshakeNotification(_bb, UnknownDeviceHandshakeNotification()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt index 22d043b5..fbc797ab 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * OSC Settings specific to VMC @@ -31,7 +43,11 @@ class VMCOSCSettings : Table() { val vrmJson : String? get() { val o = __offset(6) - return if (o != 0) __string(o + bb_pos) else null + return if (o != 0) { + __string(o + bb_pos) + } else { + null + } } val vrmJsonAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun vrmJsonInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -47,7 +63,7 @@ class VMCOSCSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsVMCOSCSettings(_bb: ByteBuffer): VMCOSCSettings = getRootAsVMCOSCSettings(_bb, VMCOSCSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt index 68ed8fc8..687c12f6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt @@ -7,9 +7,6 @@ class VRCAvatarMeasurementType private constructor() { companion object { const val UNKNOWN: UByte = 0u const val HEIGHT: UByte = 1u - const val ARMSPAN: UByte = 2u - val names : Array = arrayOf("UNKNOWN", "HEIGHT", "ARM_SPAN") - @JvmStatic - fun name(e: Int) : String = names[e] + const val ARM_SPAN: UByte = 2u } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt index e8374915..cbc322d3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class VRCConfigRecommendedValues : Table() { @@ -72,7 +84,7 @@ class VRCConfigRecommendedValues : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsVRCConfigRecommendedValues(_bb: ByteBuffer): VRCConfigRecommendedValues = getRootAsVRCConfigRecommendedValues(_bb, VRCConfigRecommendedValues()) @JvmStatic @@ -110,6 +122,7 @@ class VRCConfigRecommendedValues : Table() { fun addTrackerModel(builder: FlatBufferBuilder, trackerModel: UByte) = builder.addByte(5, trackerModel.toByte(), 0) @JvmStatic fun addSpineMode(builder: FlatBufferBuilder, spineMode: Int) = builder.addOffset(6, spineMode, 0) + @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createSpineModeVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt index 63eb3393..d687b66a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Sent every time the vrchat config state gets updated @@ -66,7 +78,7 @@ class VRCConfigStateChangeResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsVRCConfigStateChangeResponse(_bb: ByteBuffer): VRCConfigStateChangeResponse = getRootAsVRCConfigStateChangeResponse(_bb, VRCConfigStateChangeResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt index 5911502c..eb8f02b8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class VRCConfigStateRequest : Table() { @@ -18,7 +30,7 @@ class VRCConfigStateRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsVRCConfigStateRequest(_bb: ByteBuffer): VRCConfigStateRequest = getRootAsVRCConfigStateRequest(_bb, VRCConfigStateRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt index bc9add47..7c1696cf 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class VRCConfigValidity : Table() { @@ -63,7 +75,7 @@ class VRCConfigValidity : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsVRCConfigValidity(_bb: ByteBuffer): VRCConfigValidity = getRootAsVRCConfigValidity(_bb, VRCConfigValidity()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt index 910a95d6..ceae9cfb 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class VRCConfigValues : Table() { @@ -63,7 +75,7 @@ class VRCConfigValues : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsVRCConfigValues(_bb: ByteBuffer): VRCConfigValues = getRootAsVRCConfigValues(_bb, VRCConfigValues()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt index 27ee96fb..45b833c3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * OSC Settings specific to VRChat @@ -44,7 +56,7 @@ class VRCOSCSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsVRCOSCSettings(_bb: ByteBuffer): VRCOSCSettings = getRootAsVRCOSCSettings(_bb, VRCOSCSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt index 2d93be4e..f18e91e6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt @@ -6,11 +6,8 @@ package solarxr_protocol.rpc class VRCSpineMode private constructor() { companion object { const val UNKNOWN: UByte = 0u - const val LOCKHIP: UByte = 1u - const val LOCKHEAD: UByte = 2u - const val LOCKBOTH: UByte = 3u - val names : Array = arrayOf("UNKNOWN", "LOCK_HIP", "LOCK_HEAD", "LOCK_BOTH") - @JvmStatic - fun name(e: Int) : String = names[e] + const val LOCK_HIP: UByte = 1u + const val LOCK_HEAD: UByte = 2u + const val LOCK_BOTH: UByte = 3u } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt index ed6183ee..8d133dfa 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt @@ -10,8 +10,5 @@ class VRCTrackerModel private constructor() { const val SYSTEM: UByte = 2u const val BOX: UByte = 3u const val AXIS: UByte = 4u - val names : Array = arrayOf("UNKNOWN", "SPHERE", "SYSTEM", "BOX", "AXIS") - @JvmStatic - fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt index 3189756e..de61c68a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt @@ -6,18 +6,15 @@ package solarxr_protocol.rpc class WifiProvisioningStatus private constructor() { companion object { const val NONE: UByte = 0u - const val SERIALINIT: UByte = 1u + const val SERIAL_INIT: UByte = 1u const val PROVISIONING: UByte = 2u const val CONNECTING: UByte = 3u - const val CONNECTIONERROR: UByte = 4u - const val LOOKINGFORSERVER: UByte = 5u - const val COULDNOTFINDSERVER: UByte = 6u + const val CONNECTION_ERROR: UByte = 4u + const val LOOKING_FOR_SERVER: UByte = 5u + const val COULD_NOT_FIND_SERVER: UByte = 6u const val DONE: UByte = 7u - const val OBTAININGMACADDRESS: UByte = 8u - const val NOSERIALLOGSERROR: UByte = 9u - const val NOSERIALDEVICEFOUND: UByte = 10u - val names : Array = arrayOf("NONE", "SERIAL_INIT", "PROVISIONING", "CONNECTING", "CONNECTION_ERROR", "LOOKING_FOR_SERVER", "COULD_NOT_FIND_SERVER", "DONE", "OBTAINING_MAC_ADDRESS", "NO_SERIAL_LOGS_ERROR", "NO_SERIAL_DEVICE_FOUND") - @JvmStatic - fun name(e: Int) : String = names[e] + const val OBTAINING_MAC_ADDRESS: UByte = 8u + const val NO_SERIAL_LOGS_ERROR: UByte = 9u + const val NO_SERIAL_DEVICE_FOUND: UByte = 10u } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt index b8d62428..97472e95 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class WifiProvisioningStatusResponse : Table() { @@ -23,7 +35,7 @@ class WifiProvisioningStatusResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsWifiProvisioningStatusResponse(_bb: ByteBuffer): WifiProvisioningStatusResponse = getRootAsWifiProvisioningStatusResponse(_bb, WifiProvisioningStatusResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt index dc6758ce..4c6d36f8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc.settings -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class LegTweaksSettings : Table() { @@ -23,7 +35,7 @@ class LegTweaksSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsLegTweaksSettings(_bb: ByteBuffer): LegTweaksSettings = getRootAsLegTweaksSettings(_bb, LegTweaksSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt index 452c0be5..f907c908 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc.settings -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Settings for the skeletal model that are ratios. @@ -66,7 +78,7 @@ class ModelRatios : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsModelRatios(_bb: ByteBuffer): ModelRatios = getRootAsModelRatios(_bb, ModelRatios()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt index 618c437b..4de6d9ca 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc.settings -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Settings for the skeletal model. @@ -57,7 +69,7 @@ class ModelSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsModelSettings(_bb: ByteBuffer): ModelSettings = getRootAsModelSettings(_bb, ModelSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt index e5508fa3..cca8d30e 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc.settings -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* /** * Settings for the skeletal model that are toggles. @@ -81,7 +93,7 @@ class ModelToggles : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsModelToggles(_bb: ByteBuffer): ModelToggles = getRootAsModelToggles(_bb, ModelToggles()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt index 51d7d790..2630893a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt @@ -2,9 +2,21 @@ package solarxr_protocol.rpc.settings -import java.nio.* +import com.google.flatbuffers.BaseVector +import com.google.flatbuffers.BooleanVector +import com.google.flatbuffers.ByteVector +import com.google.flatbuffers.Constants +import com.google.flatbuffers.DoubleVector +import com.google.flatbuffers.FlatBufferBuilder +import com.google.flatbuffers.FloatVector +import com.google.flatbuffers.LongVector +import com.google.flatbuffers.StringVector +import com.google.flatbuffers.Struct +import com.google.flatbuffers.Table +import com.google.flatbuffers.UnionVector +import java.nio.ByteBuffer +import java.nio.ByteOrder import kotlin.math.sign -import com.google.flatbuffers.* @Suppress("unused") class SkeletonHeight : Table() { @@ -28,7 +40,7 @@ class SkeletonHeight : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_22_10_26() + fun validateVersion() = Constants.FLATBUFFERS_25_9_23() @JvmStatic fun getRootAsSkeletonHeight(_bb: ByteBuffer): SkeletonHeight = getRootAsSkeletonHeight(_bb, SkeletonHeight()) @JvmStatic diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs index 3f33e766..40298f23 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for Bone<'a> { type Inner = Bone<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -35,8 +35,8 @@ impl<'a> Bone<'a> { Bone { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args BoneArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = BoneBuilder::new(_fbb); @@ -119,11 +119,11 @@ impl<'a> Default for BoneArgs<'a> { } } -pub struct BoneBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct BoneBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> BoneBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> BoneBuilder<'a, 'b, A> { #[inline] pub fn add_body_part(&mut self, body_part: super::datatypes::BodyPart) { self.fbb_.push_slot::(Bone::VT_BODY_PART, body_part, super::datatypes::BodyPart::NONE); @@ -141,7 +141,7 @@ impl<'a: 'b, 'b> BoneBuilder<'a, 'b> { self.fbb_.push_slot_always::<&super::datatypes::math::Vec3f>(Bone::VT_HEAD_POSITION_G, head_position_g); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> BoneBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> BoneBuilder<'a, 'b, A> { let start = _fbb.start_table(); BoneBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs index d77d7a12..5bbe00a0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedConfig<'a> { type Inner = DataFeedConfig<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -39,8 +39,8 @@ impl<'a> DataFeedConfig<'a> { DataFeedConfig { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DataFeedConfigArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DataFeedConfigBuilder::new(_fbb); @@ -139,11 +139,11 @@ impl<'a> Default for DataFeedConfigArgs<'a> { } } -pub struct DataFeedConfigBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DataFeedConfigBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DataFeedConfigBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DataFeedConfigBuilder<'a, 'b, A> { #[inline] pub fn add_minimum_time_since_last(&mut self, minimum_time_since_last: u16) { self.fbb_.push_slot::(DataFeedConfig::VT_MINIMUM_TIME_SINCE_LAST, minimum_time_since_last, 0); diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs index d54aadcf..b122ec5e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedMessage { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for DataFeedMessage { type Output = DataFeedMessage; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs index d9dfb67e..d00a7fb4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedMessageHeader<'a> { type Inner = DataFeedMessageHeader<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> DataFeedMessageHeader<'a> { DataFeedMessageHeader { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DataFeedMessageHeaderArgs ) -> flatbuffers::WIPOffset> { let mut builder = DataFeedMessageHeaderBuilder::new(_fbb); @@ -154,11 +154,11 @@ impl<'a> Default for DataFeedMessageHeaderArgs { } } -pub struct DataFeedMessageHeaderBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DataFeedMessageHeaderBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DataFeedMessageHeaderBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DataFeedMessageHeaderBuilder<'a, 'b, A> { #[inline] pub fn add_message_type(&mut self, message_type: DataFeedMessage) { self.fbb_.push_slot::(DataFeedMessageHeader::VT_MESSAGE_TYPE, message_type, DataFeedMessage::NONE); @@ -168,7 +168,7 @@ impl<'a: 'b, 'b> DataFeedMessageHeaderBuilder<'a, 'b> { self.fbb_.push_slot_always::>(DataFeedMessageHeader::VT_MESSAGE, message); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DataFeedMessageHeaderBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DataFeedMessageHeaderBuilder<'a, 'b, A> { let start = _fbb.start_table(); DataFeedMessageHeaderBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs index 63062213..db0d8633 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs @@ -27,7 +27,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedUpdate<'a> { type Inner = DataFeedUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -44,8 +44,8 @@ impl<'a> DataFeedUpdate<'a> { DataFeedUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DataFeedUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DataFeedUpdateBuilder::new(_fbb); @@ -143,11 +143,11 @@ impl<'a> Default for DataFeedUpdateArgs<'a> { } } -pub struct DataFeedUpdateBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DataFeedUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DataFeedUpdateBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DataFeedUpdateBuilder<'a, 'b, A> { #[inline] pub fn add_devices(&mut self, devices: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(DataFeedUpdate::VT_DEVICES, devices); diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs index af9a830a..df8d3a4c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs @@ -23,7 +23,7 @@ impl<'a> flatbuffers::Follow<'a> for DeviceData<'a> { type Inner = DeviceData<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -39,8 +39,8 @@ impl<'a> DeviceData<'a> { DeviceData { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DeviceDataArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DeviceDataBuilder::new(_fbb); @@ -131,11 +131,11 @@ impl<'a> Default for DeviceDataArgs<'a> { } } -pub struct DeviceDataBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DeviceDataBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DeviceDataBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceDataBuilder<'a, 'b, A> { #[inline] pub fn add_id(&mut self, id: &super::super::datatypes::DeviceId) { self.fbb_.push_slot_always::<&super::super::datatypes::DeviceId>(DeviceData::VT_ID, id); @@ -157,7 +157,7 @@ impl<'a: 'b, 'b> DeviceDataBuilder<'a, 'b> { self.fbb_.push_slot_always::>(DeviceData::VT_TRACKERS, trackers); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DeviceDataBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DeviceDataBuilder<'a, 'b, A> { let start = _fbb.start_table(); DeviceDataBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs index 392426af..1d137538 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs @@ -26,7 +26,7 @@ impl<'a> flatbuffers::Follow<'a> for DeviceDataMask<'a> { type Inner = DeviceDataMask<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -39,8 +39,8 @@ impl<'a> DeviceDataMask<'a> { DeviceDataMask { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DeviceDataMaskArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DeviceDataMaskBuilder::new(_fbb); @@ -95,11 +95,11 @@ impl<'a> Default for DeviceDataMaskArgs<'a> { } } -pub struct DeviceDataMaskBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DeviceDataMaskBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DeviceDataMaskBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceDataMaskBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_data(&mut self, tracker_data: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(DeviceDataMask::VT_TRACKER_DATA, tracker_data); @@ -109,7 +109,7 @@ impl<'a: 'b, 'b> DeviceDataMaskBuilder<'a, 'b> { self.fbb_.push_slot::(DeviceDataMask::VT_DEVICE_DATA, device_data, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DeviceDataMaskBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DeviceDataMaskBuilder<'a, 'b, A> { let start = _fbb.start_table(); DeviceDataMaskBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs index aaa1713c..81ffc645 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for PollDataFeed<'a> { type Inner = PollDataFeed<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> PollDataFeed<'a> { PollDataFeed { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args PollDataFeedArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = PollDataFeedBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for PollDataFeedArgs<'a> { } } -pub struct PollDataFeedBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct PollDataFeedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> PollDataFeedBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> PollDataFeedBuilder<'a, 'b, A> { #[inline] pub fn add_config(&mut self, config: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(PollDataFeed::VT_CONFIG, config); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> PollDataFeedBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> PollDataFeedBuilder<'a, 'b, A> { let start = _fbb.start_table(); PollDataFeedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs index 4e8357f9..536e84ed 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs @@ -28,7 +28,7 @@ impl<'a> flatbuffers::Follow<'a> for StartDataFeed<'a> { type Inner = StartDataFeed<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -40,8 +40,8 @@ impl<'a> StartDataFeed<'a> { StartDataFeed { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StartDataFeedArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StartDataFeedBuilder::new(_fbb); @@ -83,17 +83,17 @@ impl<'a> Default for StartDataFeedArgs<'a> { } } -pub struct StartDataFeedBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StartDataFeedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StartDataFeedBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StartDataFeedBuilder<'a, 'b, A> { #[inline] pub fn add_data_feeds(&mut self, data_feeds: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StartDataFeed::VT_DATA_FEEDS, data_feeds); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StartDataFeedBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StartDataFeedBuilder<'a, 'b, A> { let start = _fbb.start_table(); StartDataFeedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs index 639e73bc..6ac55421 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedPose<'a> { type Inner = StayAlignedPose<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> StayAlignedPose<'a> { StayAlignedPose { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StayAlignedPoseArgs ) -> flatbuffers::WIPOffset> { let mut builder = StayAlignedPoseBuilder::new(_fbb); @@ -99,11 +99,11 @@ impl<'a> Default for StayAlignedPoseArgs { } } -pub struct StayAlignedPoseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StayAlignedPoseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StayAlignedPoseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedPoseBuilder<'a, 'b, A> { #[inline] pub fn add_upper_leg_angle_in_deg(&mut self, upper_leg_angle_in_deg: f32) { self.fbb_.push_slot::(StayAlignedPose::VT_UPPER_LEG_ANGLE_IN_DEG, upper_leg_angle_in_deg, 0.0); @@ -117,7 +117,7 @@ impl<'a: 'b, 'b> StayAlignedPoseBuilder<'a, 'b> { self.fbb_.push_slot::(StayAlignedPose::VT_FOOT_ANGLE_IN_DEG, foot_angle_in_deg, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StayAlignedPoseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StayAlignedPoseBuilder<'a, 'b, A> { let start = _fbb.start_table(); StayAlignedPoseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs index ce70c51c..95fe8e76 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedTracker<'a> { type Inner = StayAlignedTracker<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> StayAlignedTracker<'a> { StayAlignedTracker { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StayAlignedTrackerArgs ) -> flatbuffers::WIPOffset> { let mut builder = StayAlignedTrackerBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for StayAlignedTrackerArgs { } } -pub struct StayAlignedTrackerBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StayAlignedTrackerBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StayAlignedTrackerBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedTrackerBuilder<'a, 'b, A> { #[inline] pub fn add_yaw_correction_in_deg(&mut self, yaw_correction_in_deg: f32) { self.fbb_.push_slot::(StayAlignedTracker::VT_YAW_CORRECTION_IN_DEG, yaw_correction_in_deg, 0.0); @@ -149,7 +149,7 @@ impl<'a: 'b, 'b> StayAlignedTrackerBuilder<'a, 'b> { self.fbb_.push_slot::(StayAlignedTracker::VT_LOCKED, locked, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StayAlignedTrackerBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StayAlignedTrackerBuilder<'a, 'b, A> { let start = _fbb.start_table(); StayAlignedTrackerBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs index 8e8d355c..238b143f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs @@ -25,7 +25,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerData<'a> { type Inner = TrackerData<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -50,8 +50,8 @@ impl<'a> TrackerData<'a> { TrackerData { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TrackerDataArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TrackerDataBuilder::new(_fbb); @@ -257,11 +257,11 @@ impl<'a> Default for TrackerDataArgs<'a> { } } -pub struct TrackerDataBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TrackerDataBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TrackerDataBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerDataBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TrackerData::VT_TRACKER_ID, tracker_id); @@ -319,7 +319,7 @@ impl<'a: 'b, 'b> TrackerDataBuilder<'a, 'b> { self.fbb_.push_slot_always::>(TrackerData::VT_STAY_ALIGNED, stay_aligned); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerDataBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerDataBuilder<'a, 'b, A> { let start = _fbb.start_table(); TrackerDataBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs index 21729ee6..e21887ba 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerDataMask<'a> { type Inner = TrackerDataMask<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -45,8 +45,8 @@ impl<'a> TrackerDataMask<'a> { TrackerDataMask { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TrackerDataMaskArgs ) -> flatbuffers::WIPOffset> { let mut builder = TrackerDataMaskBuilder::new(_fbb); @@ -220,11 +220,11 @@ impl<'a> Default for TrackerDataMaskArgs { } } -pub struct TrackerDataMaskBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TrackerDataMaskBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TrackerDataMaskBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerDataMaskBuilder<'a, 'b, A> { #[inline] pub fn add_info(&mut self, info: bool) { self.fbb_.push_slot::(TrackerDataMask::VT_INFO, info, false); @@ -278,7 +278,7 @@ impl<'a: 'b, 'b> TrackerDataMaskBuilder<'a, 'b> { self.fbb_.push_slot::(TrackerDataMask::VT_STAY_ALIGNED, stay_aligned, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerDataMaskBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerDataMaskBuilder<'a, 'b, A> { let start = _fbb.start_table(); TrackerDataMaskBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs index a96f44ae..9fa0ff21 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerInfo<'a> { type Inner = TrackerInfo<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -47,8 +47,8 @@ impl<'a> TrackerInfo<'a> { TrackerInfo { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TrackerInfoArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TrackerInfoBuilder::new(_fbb); @@ -258,11 +258,11 @@ impl<'a> Default for TrackerInfoArgs<'a> { } } -pub struct TrackerInfoBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TrackerInfoBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TrackerInfoBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerInfoBuilder<'a, 'b, A> { #[inline] pub fn add_imu_type(&mut self, imu_type: super::super::datatypes::hardware_info::ImuType) { self.fbb_.push_slot::(TrackerInfo::VT_IMU_TYPE, imu_type, super::super::datatypes::hardware_info::ImuType::Other); @@ -324,7 +324,7 @@ impl<'a: 'b, 'b> TrackerInfoBuilder<'a, 'b> { self.fbb_.push_slot::(TrackerInfo::VT_REST_CALIBRATION_STATUS, rest_calibration_status, super::super::datatypes::RestCalibrationStatus::NOT_SUPPORTED); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerInfoBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerInfoBuilder<'a, 'b, A> { let start = _fbb.start_table(); TrackerInfoBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs index a4654c1c..57408e5c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs @@ -262,7 +262,7 @@ impl<'a> flatbuffers::Follow<'a> for BodyPart { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -271,7 +271,7 @@ impl flatbuffers::Push for BodyPart { type Output = BodyPart; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs index e0ddb063..74d62b64 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for Bytes<'a> { type Inner = Bytes<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> Bytes<'a> { Bytes { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args BytesArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = BytesBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for BytesArgs<'a> { } } -pub struct BytesBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct BytesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> BytesBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> BytesBuilder<'a, 'b, A> { #[inline] pub fn add_b(&mut self, b: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(Bytes::VT_B, b); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> BytesBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> BytesBuilder<'a, 'b, A> { let start = _fbb.start_table(); BytesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs index 6333a53e..09a9f431 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs @@ -33,23 +33,27 @@ impl<'a> flatbuffers::Follow<'a> for DeviceId { type Inner = &'a DeviceId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a DeviceId>::follow(buf, loc) + unsafe { <&'a DeviceId>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a DeviceId { type Inner = &'a DeviceId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for DeviceId { type Output = DeviceId; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const DeviceId as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const DeviceId as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(1) + } } impl<'a> flatbuffers::Verifiable for DeviceId { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs index 0cae1ae4..2b3cb606 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for DeviceIdTable<'a> { type Inner = DeviceIdTable<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> DeviceIdTable<'a> { DeviceIdTable { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DeviceIdTableArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DeviceIdTableBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for DeviceIdTableArgs<'a> { } } -pub struct DeviceIdTableBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DeviceIdTableBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DeviceIdTableBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceIdTableBuilder<'a, 'b, A> { #[inline] pub fn add_id(&mut self, id: &DeviceId) { self.fbb_.push_slot_always::<&DeviceId>(DeviceIdTable::VT_ID, id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DeviceIdTableBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DeviceIdTableBuilder<'a, 'b, A> { let start = _fbb.start_table(); DeviceIdTableBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs index cebb78b0..293ab743 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs @@ -61,7 +61,7 @@ impl<'a> flatbuffers::Follow<'a> for FilteringType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -70,7 +70,7 @@ impl flatbuffers::Push for FilteringType { type Output = FilteringType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs index 6b55c965..db17f677 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs @@ -65,7 +65,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareErrorCode { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -74,7 +74,7 @@ impl flatbuffers::Push for FirmwareErrorCode { type Output = FirmwareErrorCode; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs index acf86d10..3a2f5021 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs @@ -148,7 +148,7 @@ impl<'a> flatbuffers::Follow<'a> for BoardType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -157,7 +157,7 @@ impl flatbuffers::Push for BoardType { type Output = BoardType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs index f60e3cf0..cf1f567d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareStatusMask<'a> { type Inner = FirmwareStatusMask<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -39,8 +39,8 @@ impl<'a> FirmwareStatusMask<'a> { FirmwareStatusMask { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args FirmwareStatusMaskArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareStatusMaskBuilder::new(_fbb); @@ -148,11 +148,11 @@ impl<'a> Default for FirmwareStatusMaskArgs { } } -pub struct FirmwareStatusMaskBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct FirmwareStatusMaskBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> FirmwareStatusMaskBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareStatusMaskBuilder<'a, 'b, A> { #[inline] pub fn add_error_status(&mut self, error_status: bool) { self.fbb_.push_slot::(FirmwareStatusMask::VT_ERROR_STATUS, error_status, false); @@ -182,7 +182,7 @@ impl<'a: 'b, 'b> FirmwareStatusMaskBuilder<'a, 'b> { self.fbb_.push_slot::(FirmwareStatusMask::VT_BATTERY_PCT_ESTIMATE, battery_pct_estimate, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareStatusMaskBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareStatusMaskBuilder<'a, 'b, A> { let start = _fbb.start_table(); FirmwareStatusMaskBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs index 94033091..b5a2c485 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs @@ -34,23 +34,27 @@ impl<'a> flatbuffers::Follow<'a> for HardwareAddress { type Inner = &'a HardwareAddress; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a HardwareAddress>::follow(buf, loc) + unsafe { <&'a HardwareAddress>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a HardwareAddress { type Inner = &'a HardwareAddress; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for HardwareAddress { type Output = HardwareAddress; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const HardwareAddress as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const HardwareAddress as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(8) + } } impl<'a> flatbuffers::Verifiable for HardwareAddress { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs index 3602e793..3216c529 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for HardwareInfo<'a> { type Inner = HardwareInfo<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -44,8 +44,8 @@ impl<'a> HardwareInfo<'a> { HardwareInfo { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args HardwareInfoArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = HardwareInfoBuilder::new(_fbb); @@ -218,11 +218,11 @@ impl<'a> Default for HardwareInfoArgs<'a> { } } -pub struct HardwareInfoBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct HardwareInfoBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> HardwareInfoBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HardwareInfoBuilder<'a, 'b, A> { #[inline] pub fn add_mcu_id(&mut self, mcu_id: McuType) { self.fbb_.push_slot::(HardwareInfo::VT_MCU_ID, mcu_id, McuType::Other); @@ -272,7 +272,7 @@ impl<'a: 'b, 'b> HardwareInfoBuilder<'a, 'b> { self.fbb_.push_slot_always::(HardwareInfo::VT_NETWORK_PROTOCOL_VERSION, network_protocol_version); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HardwareInfoBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HardwareInfoBuilder<'a, 'b, A> { let start = _fbb.start_table(); HardwareInfoBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs index 5012668d..8ee3919e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for HardwareStatus<'a> { type Inner = HardwareStatus<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -39,8 +39,8 @@ impl<'a> HardwareStatus<'a> { HardwareStatus { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args HardwareStatusArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = HardwareStatusBuilder::new(_fbb); @@ -150,11 +150,11 @@ impl<'a> Default for HardwareStatusArgs<'a> { } } -pub struct HardwareStatusBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct HardwareStatusBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> HardwareStatusBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HardwareStatusBuilder<'a, 'b, A> { #[inline] pub fn add_error_status(&mut self, error_status: super::FirmwareErrorCode) { self.fbb_.push_slot_always::(HardwareStatus::VT_ERROR_STATUS, error_status); @@ -184,7 +184,7 @@ impl<'a: 'b, 'b> HardwareStatusBuilder<'a, 'b> { self.fbb_.push_slot_always::>(HardwareStatus::VT_LOG_DATA, log_data); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HardwareStatusBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HardwareStatusBuilder<'a, 'b, A> { let start = _fbb.start_table(); HardwareStatusBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs index b48d0a4a..2baedf07 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs @@ -128,7 +128,7 @@ impl<'a> flatbuffers::Follow<'a> for ImuType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -137,7 +137,7 @@ impl flatbuffers::Push for ImuType { type Output = ImuType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs index 4a6d4ae3..e00c3316 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs @@ -88,7 +88,7 @@ impl<'a> flatbuffers::Follow<'a> for McuType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -97,7 +97,7 @@ impl flatbuffers::Push for McuType { type Output = McuType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs index 87bb0fd0..00b60e9a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs @@ -64,7 +64,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerDataType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -73,7 +73,7 @@ impl flatbuffers::Push for TrackerDataType { type Output = TrackerDataType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs index fd9ce8dd..cd8c7dcf 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs @@ -32,23 +32,27 @@ impl<'a> flatbuffers::Follow<'a> for HzF32 { type Inner = &'a HzF32; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a HzF32>::follow(buf, loc) + unsafe { <&'a HzF32>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a HzF32 { type Inner = &'a HzF32; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for HzF32 { type Output = HzF32; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const HzF32 as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const HzF32 as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(4) + } } impl<'a> flatbuffers::Verifiable for HzF32 { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs index 8bbb3755..a7af43d9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs @@ -33,23 +33,27 @@ impl<'a> flatbuffers::Follow<'a> for Ipv4Address { type Inner = &'a Ipv4Address; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a Ipv4Address>::follow(buf, loc) + unsafe { <&'a Ipv4Address>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a Ipv4Address { type Inner = &'a Ipv4Address; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for Ipv4Address { type Output = Ipv4Address; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const Ipv4Address as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const Ipv4Address as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(4) + } } impl<'a> flatbuffers::Verifiable for Ipv4Address { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs index c0ef94cf..07a2e93b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for LogData<'a> { type Inner = LogData<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> LogData<'a> { LogData { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args LogDataArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = LogDataBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for LogDataArgs<'a> { } } -pub struct LogDataBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct LogDataBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> LogDataBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LogDataBuilder<'a, 'b, A> { #[inline] pub fn add_message(&mut self, message: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(LogData::VT_MESSAGE, message); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> LogDataBuilder<'a, 'b> { self.fbb_.push_slot_always::>(LogData::VT_DATA, data); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LogDataBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LogDataBuilder<'a, 'b, A> { let start = _fbb.start_table(); LogDataBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs index f2a08f15..23058be4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for MagnetometerStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for MagnetometerStatus { type Output = MagnetometerStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs index af935e99..8635f7e9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs @@ -34,23 +34,27 @@ impl<'a> flatbuffers::Follow<'a> for Quat { type Inner = &'a Quat; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a Quat>::follow(buf, loc) + unsafe { <&'a Quat>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a Quat { type Inner = &'a Quat; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for Quat { type Output = Quat; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const Quat as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const Quat as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(4) + } } impl<'a> flatbuffers::Verifiable for Quat { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs index f8aaab72..108508d4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs @@ -33,23 +33,27 @@ impl<'a> flatbuffers::Follow<'a> for Vec3f { type Inner = &'a Vec3f; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a Vec3f>::follow(buf, loc) + unsafe { <&'a Vec3f>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a Vec3f { type Inner = &'a Vec3f; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for Vec3f { type Output = Vec3f; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const Vec3f as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const Vec3f as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(4) + } } impl<'a> flatbuffers::Verifiable for Vec3f { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs index 717b88e3..3feb16df 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for RestCalibrationStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for RestCalibrationStatus { type Output = RestCalibrationStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs index 6c0d76e8..02aa7eb0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StringTable<'a> { type Inner = StringTable<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> StringTable<'a> { StringTable { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StringTableArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StringTableBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for StringTableArgs<'a> { } } -pub struct StringTableBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StringTableBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StringTableBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StringTableBuilder<'a, 'b, A> { #[inline] pub fn add_s(&mut self, s: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(StringTable::VT_S, s); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StringTableBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StringTableBuilder<'a, 'b, A> { let start = _fbb.start_table(); StringTableBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs index ad22688e..3ecdcecf 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs @@ -32,23 +32,27 @@ impl<'a> flatbuffers::Follow<'a> for Temperature { type Inner = &'a Temperature; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a Temperature>::follow(buf, loc) + unsafe { <&'a Temperature>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a Temperature { type Inner = &'a Temperature; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for Temperature { type Output = Temperature; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const Temperature as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const Temperature as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(4) + } } impl<'a> flatbuffers::Verifiable for Temperature { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs index 79d8f080..ee816320 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerId<'a> { type Inner = TrackerId<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> TrackerId<'a> { TrackerId { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TrackerIdArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TrackerIdBuilder::new(_fbb); @@ -90,11 +90,11 @@ impl<'a> Default for TrackerIdArgs<'a> { } } -pub struct TrackerIdBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TrackerIdBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TrackerIdBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerIdBuilder<'a, 'b, A> { #[inline] pub fn add_device_id(&mut self, device_id: &DeviceId) { self.fbb_.push_slot_always::<&DeviceId>(TrackerId::VT_DEVICE_ID, device_id); @@ -104,7 +104,7 @@ impl<'a: 'b, 'b> TrackerIdBuilder<'a, 'b> { self.fbb_.push_slot::(TrackerId::VT_TRACKER_NUM, tracker_num, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerIdBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerIdBuilder<'a, 'b, A> { let start = _fbb.start_table(); TrackerIdBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs index d64badc3..556d9a7f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs @@ -140,7 +140,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerRole { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -149,7 +149,7 @@ impl flatbuffers::Push for TrackerRole { type Output = TrackerRole; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs index 5ca956de..ca5426de 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs @@ -76,7 +76,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -85,7 +85,7 @@ impl flatbuffers::Push for TrackerStatus { type Output = TrackerStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs index 0db9dd7e..14ca026f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs @@ -31,23 +31,27 @@ impl<'a> flatbuffers::Follow<'a> for TransactionId { type Inner = &'a TransactionId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - <&'a TransactionId>::follow(buf, loc) + unsafe { <&'a TransactionId>::follow(buf, loc) } } } impl<'a> flatbuffers::Follow<'a> for &'a TransactionId { type Inner = &'a TransactionId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - flatbuffers::follow_cast_ref::(buf, loc) + unsafe { flatbuffers::follow_cast_ref::(buf, loc) } } } impl<'b> flatbuffers::Push for TransactionId { type Output = TransactionId; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = ::core::slice::from_raw_parts(self as *const TransactionId as *const u8, Self::size()); + let src = unsafe { ::core::slice::from_raw_parts(self as *const TransactionId as *const u8, ::size()) }; dst.copy_from_slice(src); } + #[inline] + fn alignment() -> flatbuffers::PushAlignment { + flatbuffers::PushAlignment::new(4) + } } impl<'a> flatbuffers::Verifiable for TransactionId { diff --git a/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs b/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs index 81d45889..e430e1c6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for MessageBundle<'a> { type Inner = MessageBundle<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> MessageBundle<'a> { MessageBundle { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args MessageBundleArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = MessageBundleBuilder::new(_fbb); @@ -101,11 +101,11 @@ impl<'a> Default for MessageBundleArgs<'a> { } } -pub struct MessageBundleBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct MessageBundleBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> MessageBundleBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MessageBundleBuilder<'a, 'b, A> { #[inline] pub fn add_data_feed_msgs(&mut self, data_feed_msgs: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(MessageBundle::VT_DATA_FEED_MSGS, data_feed_msgs); @@ -119,7 +119,7 @@ impl<'a: 'b, 'b> MessageBundleBuilder<'a, 'b> { self.fbb_.push_slot_always::>(MessageBundle::VT_PUB_SUB_MSGS, pub_sub_msgs); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MessageBundleBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MessageBundleBuilder<'a, 'b, A> { let start = _fbb.start_table(); MessageBundleBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs index f5d15e4a..f2ed68a2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for KeyValues<'a> { type Inner = KeyValues<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> KeyValues<'a> { KeyValues { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args KeyValuesArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = KeyValuesBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for KeyValuesArgs<'a> { } } -pub struct KeyValuesBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct KeyValuesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> KeyValuesBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> KeyValuesBuilder<'a, 'b, A> { #[inline] pub fn add_keys(&mut self, keys: flatbuffers::WIPOffset>>) { self.fbb_.push_slot_always::>(KeyValues::VT_KEYS, keys); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> KeyValuesBuilder<'a, 'b> { self.fbb_.push_slot_always::>(KeyValues::VT_VALUES, values); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> KeyValuesBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> KeyValuesBuilder<'a, 'b, A> { let start = _fbb.start_table(); KeyValuesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs index 24af74f5..bec04d80 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for Message<'a> { type Inner = Message<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> Message<'a> { Message { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args MessageArgs ) -> flatbuffers::WIPOffset> { let mut builder = MessageBuilder::new(_fbb); @@ -198,11 +198,11 @@ impl<'a> Default for MessageArgs { } } -pub struct MessageBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct MessageBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> MessageBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MessageBuilder<'a, 'b, A> { #[inline] pub fn add_topic_type(&mut self, topic_type: Topic) { self.fbb_.push_slot::(Message::VT_TOPIC_TYPE, topic_type, Topic::NONE); @@ -220,7 +220,7 @@ impl<'a: 'b, 'b> MessageBuilder<'a, 'b> { self.fbb_.push_slot_always::>(Message::VT_PAYLOAD, payload); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MessageBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MessageBuilder<'a, 'b, A> { let start = _fbb.start_table(); MessageBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs index 3c631193..72d34fea 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs @@ -64,7 +64,7 @@ impl<'a> flatbuffers::Follow<'a> for Payload { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -73,7 +73,7 @@ impl flatbuffers::Push for Payload { type Output = Payload; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs index aa418431..48d8f774 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for PubSubHeader<'a> { type Inner = PubSubHeader<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> PubSubHeader<'a> { PubSubHeader { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args PubSubHeaderArgs ) -> flatbuffers::WIPOffset> { let mut builder = PubSubHeaderBuilder::new(_fbb); @@ -154,11 +154,11 @@ impl<'a> Default for PubSubHeaderArgs { } } -pub struct PubSubHeaderBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct PubSubHeaderBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> PubSubHeaderBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> PubSubHeaderBuilder<'a, 'b, A> { #[inline] pub fn add_u_type(&mut self, u_type: PubSubUnion) { self.fbb_.push_slot::(PubSubHeader::VT_U_TYPE, u_type, PubSubUnion::NONE); @@ -168,7 +168,7 @@ impl<'a: 'b, 'b> PubSubHeaderBuilder<'a, 'b> { self.fbb_.push_slot_always::>(PubSubHeader::VT_U, u); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> PubSubHeaderBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> PubSubHeaderBuilder<'a, 'b, A> { let start = _fbb.start_table(); PubSubHeaderBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs index e419b8da..958b1502 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for PubSubUnion { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for PubSubUnion { type Output = PubSubUnion; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs index 6ca3428f..fe71f49d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SubscriptionRequest<'a> { type Inner = SubscriptionRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> SubscriptionRequest<'a> { SubscriptionRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SubscriptionRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SubscriptionRequestBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for SubscriptionRequestArgs { } } -pub struct SubscriptionRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SubscriptionRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SubscriptionRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SubscriptionRequestBuilder<'a, 'b, A> { #[inline] pub fn add_topic_type(&mut self, topic_type: Topic) { self.fbb_.push_slot::(SubscriptionRequest::VT_TOPIC_TYPE, topic_type, Topic::NONE); @@ -137,7 +137,7 @@ impl<'a: 'b, 'b> SubscriptionRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(SubscriptionRequest::VT_TOPIC, topic); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SubscriptionRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SubscriptionRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SubscriptionRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs index e81d9bf0..874a77cb 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for Topic { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for Topic { type Output = Topic; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs index e9e07f6f..a5cd28ec 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicHandle<'a> { type Inner = TopicHandle<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> TopicHandle<'a> { TopicHandle { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TopicHandleArgs ) -> flatbuffers::WIPOffset> { let mut builder = TopicHandleBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for TopicHandleArgs { } } -pub struct TopicHandleBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TopicHandleBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TopicHandleBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicHandleBuilder<'a, 'b, A> { #[inline] pub fn add_id(&mut self, id: u16) { self.fbb_.push_slot::(TopicHandle::VT_ID, id, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicHandleBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicHandleBuilder<'a, 'b, A> { let start = _fbb.start_table(); TopicHandleBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs index c9184a4f..24d9fb74 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicHandleRequest<'a> { type Inner = TopicHandleRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> TopicHandleRequest<'a> { TopicHandleRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TopicHandleRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TopicHandleRequestBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for TopicHandleRequestArgs<'a> { } } -pub struct TopicHandleRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TopicHandleRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TopicHandleRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicHandleRequestBuilder<'a, 'b, A> { #[inline] pub fn add_id(&mut self, id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TopicHandleRequest::VT_ID, id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicHandleRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicHandleRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); TopicHandleRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs index 0220472a..b2338ad4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs @@ -27,7 +27,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicId<'a> { type Inner = TopicId<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -41,8 +41,8 @@ impl<'a> TopicId<'a> { TopicId { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TopicIdArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TopicIdBuilder::new(_fbb); @@ -110,11 +110,11 @@ impl<'a> Default for TopicIdArgs<'a> { } } -pub struct TopicIdBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TopicIdBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TopicIdBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicIdBuilder<'a, 'b, A> { #[inline] pub fn add_organization(&mut self, organization: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(TopicId::VT_ORGANIZATION, organization); @@ -128,7 +128,7 @@ impl<'a: 'b, 'b> TopicIdBuilder<'a, 'b> { self.fbb_.push_slot_always::>(TopicId::VT_TOPIC, topic); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicIdBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicIdBuilder<'a, 'b, A> { let start = _fbb.start_table(); TopicIdBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs index 48a84930..752b1328 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicMapping<'a> { type Inner = TopicMapping<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> TopicMapping<'a> { TopicMapping { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TopicMappingArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TopicMappingBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for TopicMappingArgs<'a> { } } -pub struct TopicMappingBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TopicMappingBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TopicMappingBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicMappingBuilder<'a, 'b, A> { #[inline] pub fn add_id(&mut self, id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TopicMapping::VT_ID, id); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> TopicMappingBuilder<'a, 'b> { self.fbb_.push_slot_always::>(TopicMapping::VT_HANDLE, handle); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicMappingBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicMappingBuilder<'a, 'b, A> { let start = _fbb.start_table(); TopicMappingBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs index 22d6fb7f..1869a12d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AddUnknownDeviceRequest<'a> { type Inner = AddUnknownDeviceRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> AddUnknownDeviceRequest<'a> { AddUnknownDeviceRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args AddUnknownDeviceRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = AddUnknownDeviceRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for AddUnknownDeviceRequestArgs<'a> { } } -pub struct AddUnknownDeviceRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AddUnknownDeviceRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AddUnknownDeviceRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AddUnknownDeviceRequestBuilder<'a, 'b, A> { #[inline] pub fn add_mac_address(&mut self, mac_address: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(AddUnknownDeviceRequest::VT_MAC_ADDRESS, mac_address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AddUnknownDeviceRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AddUnknownDeviceRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); AddUnknownDeviceRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs index 694b1046..9ccb3205 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for ArmsMountingResetMode { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for ArmsMountingResetMode { type Output = ArmsMountingResetMode; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs index 603a9965..fd61a367 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AssignTrackerRequest<'a> { type Inner = AssignTrackerRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> AssignTrackerRequest<'a> { AssignTrackerRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args AssignTrackerRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = AssignTrackerRequestBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for AssignTrackerRequestArgs<'a> { } } -pub struct AssignTrackerRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AssignTrackerRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AssignTrackerRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AssignTrackerRequestBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(AssignTrackerRequest::VT_TRACKER_ID, tracker_id); @@ -149,7 +149,7 @@ impl<'a: 'b, 'b> AssignTrackerRequestBuilder<'a, 'b> { self.fbb_.push_slot::(AssignTrackerRequest::VT_ALLOW_DRIFT_COMPENSATION, allow_drift_compensation, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AssignTrackerRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AssignTrackerRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); AssignTrackerRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs index a192f782..5972dfaa 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneApplyRequest<'a> { type Inner = AutoBoneApplyRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneApplyRequest<'a> { AutoBoneApplyRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args AutoBoneApplyRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneApplyRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for AutoBoneApplyRequestArgs { } } -pub struct AutoBoneApplyRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AutoBoneApplyRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AutoBoneApplyRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneApplyRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneApplyRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneApplyRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); AutoBoneApplyRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs index ee2b36e0..f5aa9a99 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneCancelRecordingRequest<'a> { type Inner = AutoBoneCancelRecordingRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneCancelRecordingRequest<'a> { AutoBoneCancelRecordingRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args AutoBoneCancelRecordingRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneCancelRecordingRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for AutoBoneCancelRecordingRequestArgs { } } -pub struct AutoBoneCancelRecordingRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AutoBoneCancelRecordingRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AutoBoneCancelRecordingRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneCancelRecordingRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneCancelRecordingRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneCancelRecordingRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); AutoBoneCancelRecordingRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs index 6577433c..4e0a4267 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneEpochResponse<'a> { type Inner = AutoBoneEpochResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -35,8 +35,8 @@ impl<'a> AutoBoneEpochResponse<'a> { AutoBoneEpochResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args AutoBoneEpochResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneEpochResponseBuilder::new(_fbb); @@ -113,11 +113,11 @@ impl<'a> Default for AutoBoneEpochResponseArgs<'a> { } } -pub struct AutoBoneEpochResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AutoBoneEpochResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AutoBoneEpochResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneEpochResponseBuilder<'a, 'b, A> { #[inline] pub fn add_current_epoch(&mut self, current_epoch: u32) { self.fbb_.push_slot::(AutoBoneEpochResponse::VT_CURRENT_EPOCH, current_epoch, 0); @@ -135,7 +135,7 @@ impl<'a: 'b, 'b> AutoBoneEpochResponseBuilder<'a, 'b> { self.fbb_.push_slot_always::>(AutoBoneEpochResponse::VT_ADJUSTED_SKELETON_PARTS, adjusted_skeleton_parts); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneEpochResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneEpochResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); AutoBoneEpochResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs index d4489c60..d82ccb32 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneProcessRequest<'a> { type Inner = AutoBoneProcessRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneProcessRequest<'a> { AutoBoneProcessRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args AutoBoneProcessRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneProcessRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for AutoBoneProcessRequestArgs { } } -pub struct AutoBoneProcessRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AutoBoneProcessRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AutoBoneProcessRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneProcessRequestBuilder<'a, 'b, A> { #[inline] pub fn add_process_type(&mut self, process_type: AutoBoneProcessType) { self.fbb_.push_slot::(AutoBoneProcessRequest::VT_PROCESS_TYPE, process_type, AutoBoneProcessType::NONE); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneProcessRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneProcessRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); AutoBoneProcessRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs index d3d1cf3e..caad7a92 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneProcessStatusResponse<'a> { type Inner = AutoBoneProcessStatusResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -37,8 +37,8 @@ impl<'a> AutoBoneProcessStatusResponse<'a> { AutoBoneProcessStatusResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args AutoBoneProcessStatusResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneProcessStatusResponseBuilder::new(_fbb); @@ -140,11 +140,11 @@ impl<'a> Default for AutoBoneProcessStatusResponseArgs { } } -pub struct AutoBoneProcessStatusResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AutoBoneProcessStatusResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AutoBoneProcessStatusResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneProcessStatusResponseBuilder<'a, 'b, A> { #[inline] pub fn add_process_type(&mut self, process_type: AutoBoneProcessType) { self.fbb_.push_slot::(AutoBoneProcessStatusResponse::VT_PROCESS_TYPE, process_type, AutoBoneProcessType::NONE); @@ -170,7 +170,7 @@ impl<'a: 'b, 'b> AutoBoneProcessStatusResponseBuilder<'a, 'b> { self.fbb_.push_slot::(AutoBoneProcessStatusResponse::VT_ETA, eta, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneProcessStatusResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneProcessStatusResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); AutoBoneProcessStatusResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs index 6e0a0002..14460dd8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs @@ -70,7 +70,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneProcessType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -79,7 +79,7 @@ impl flatbuffers::Push for AutoBoneProcessType { type Output = AutoBoneProcessType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs index 52123cfb..2c602305 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneSettings<'a> { type Inner = AutoBoneSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -54,8 +54,8 @@ impl<'a> AutoBoneSettings<'a> { AutoBoneSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args AutoBoneSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneSettingsBuilder::new(_fbb); @@ -328,11 +328,11 @@ impl<'a> Default for AutoBoneSettingsArgs { } } -pub struct AutoBoneSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AutoBoneSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AutoBoneSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_cursor_increment(&mut self, cursor_increment: i32) { self.fbb_.push_slot_always::(AutoBoneSettings::VT_CURSOR_INCREMENT, cursor_increment); @@ -422,7 +422,7 @@ impl<'a: 'b, 'b> AutoBoneSettingsBuilder<'a, 'b> { self.fbb_.push_slot_always::(AutoBoneSettings::VT_RAND_SEED, rand_seed); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); AutoBoneSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs index a5582ce8..12c001e1 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneStopRecordingRequest<'a> { type Inner = AutoBoneStopRecordingRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneStopRecordingRequest<'a> { AutoBoneStopRecordingRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args AutoBoneStopRecordingRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneStopRecordingRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for AutoBoneStopRecordingRequestArgs { } } -pub struct AutoBoneStopRecordingRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct AutoBoneStopRecordingRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> AutoBoneStopRecordingRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneStopRecordingRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneStopRecordingRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneStopRecordingRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); AutoBoneStopRecordingRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs index 3299ff1a..d94d5053 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ChangeMagToggleRequest<'a> { type Inner = ChangeMagToggleRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> ChangeMagToggleRequest<'a> { ChangeMagToggleRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ChangeMagToggleRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ChangeMagToggleRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for ChangeMagToggleRequestArgs<'a> { } } -pub struct ChangeMagToggleRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ChangeMagToggleRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ChangeMagToggleRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeMagToggleRequestBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(ChangeMagToggleRequest::VT_TRACKER_ID, tracker_id); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> ChangeMagToggleRequestBuilder<'a, 'b> { self.fbb_.push_slot::(ChangeMagToggleRequest::VT_ENABLE, enable, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ChangeMagToggleRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ChangeMagToggleRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ChangeMagToggleRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs index a2b65df0..cd642627 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ChangeSettingsRequest<'a> { type Inner = ChangeSettingsRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -42,8 +42,8 @@ impl<'a> ChangeSettingsRequest<'a> { ChangeSettingsRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ChangeSettingsRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ChangeSettingsRequestBuilder::new(_fbb); @@ -195,11 +195,11 @@ impl<'a> Default for ChangeSettingsRequestArgs<'a> { } } -pub struct ChangeSettingsRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ChangeSettingsRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ChangeSettingsRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeSettingsRequestBuilder<'a, 'b, A> { #[inline] pub fn add_steam_vr_trackers(&mut self, steam_vr_trackers: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(ChangeSettingsRequest::VT_STEAM_VR_TRACKERS, steam_vr_trackers); @@ -245,7 +245,7 @@ impl<'a: 'b, 'b> ChangeSettingsRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(ChangeSettingsRequest::VT_STAY_ALIGNED, stay_aligned); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ChangeSettingsRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ChangeSettingsRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ChangeSettingsRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs index 1cbb7256..fcca799b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ChangeSkeletonConfigRequest<'a> { type Inner = ChangeSkeletonConfigRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> ChangeSkeletonConfigRequest<'a> { ChangeSkeletonConfigRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ChangeSkeletonConfigRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ChangeSkeletonConfigRequestBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for ChangeSkeletonConfigRequestArgs { } } -pub struct ChangeSkeletonConfigRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ChangeSkeletonConfigRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ChangeSkeletonConfigRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeSkeletonConfigRequestBuilder<'a, 'b, A> { #[inline] pub fn add_bone(&mut self, bone: SkeletonBone) { self.fbb_.push_slot::(ChangeSkeletonConfigRequest::VT_BONE, bone, SkeletonBone::NONE); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> ChangeSkeletonConfigRequestBuilder<'a, 'b> { self.fbb_.push_slot::(ChangeSkeletonConfigRequest::VT_VALUE, value, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ChangeSkeletonConfigRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ChangeSkeletonConfigRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ChangeSkeletonConfigRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs index 9f058130..6aec823f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ClearDriftCompensationRequest<'a> { type Inner = ClearDriftCompensationRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> ClearDriftCompensationRequest<'a> { ClearDriftCompensationRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args ClearDriftCompensationRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ClearDriftCompensationRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for ClearDriftCompensationRequestArgs { } } -pub struct ClearDriftCompensationRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ClearDriftCompensationRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ClearDriftCompensationRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ClearDriftCompensationRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ClearDriftCompensationRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ClearDriftCompensationRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ClearDriftCompensationRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs index 3113687d..5d3e888e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ClearMountingResetRequest<'a> { type Inner = ClearMountingResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> ClearMountingResetRequest<'a> { ClearMountingResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args ClearMountingResetRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ClearMountingResetRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for ClearMountingResetRequestArgs { } } -pub struct ClearMountingResetRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ClearMountingResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ClearMountingResetRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ClearMountingResetRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ClearMountingResetRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ClearMountingResetRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ClearMountingResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs index c62602b0..a92d6514 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for CloseSerialRequest<'a> { type Inner = CloseSerialRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> CloseSerialRequest<'a> { CloseSerialRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args CloseSerialRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = CloseSerialRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for CloseSerialRequestArgs { } } -pub struct CloseSerialRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct CloseSerialRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> CloseSerialRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> CloseSerialRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> CloseSerialRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> CloseSerialRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); CloseSerialRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs index 77e30ac3..e20fc0a2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs @@ -53,7 +53,7 @@ impl<'a> flatbuffers::Follow<'a> for ComputerDirectory { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -62,7 +62,7 @@ impl flatbuffers::Push for ComputerDirectory { type Output = ComputerDirectory; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs index 8ef3d6fc..325f8b3a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for DetectStayAlignedRelaxedPoseRequest<'a> { type Inner = DetectStayAlignedRelaxedPoseRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> DetectStayAlignedRelaxedPoseRequest<'a> { DetectStayAlignedRelaxedPoseRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DetectStayAlignedRelaxedPoseRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = DetectStayAlignedRelaxedPoseRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for DetectStayAlignedRelaxedPoseRequestArgs { } } -pub struct DetectStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DetectStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { #[inline] pub fn add_pose(&mut self, pose: StayAlignedRelaxedPose) { self.fbb_.push_slot::(DetectStayAlignedRelaxedPoseRequest::VT_POSE, pose, StayAlignedRelaxedPose::STANDING); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); DetectStayAlignedRelaxedPoseRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs index 3a5e1840..33458952 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for DriftCompensationSettings<'a> { type Inner = DriftCompensationSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> DriftCompensationSettings<'a> { DriftCompensationSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args DriftCompensationSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = DriftCompensationSettingsBuilder::new(_fbb); @@ -114,11 +114,11 @@ impl<'a> Default for DriftCompensationSettingsArgs { } } -pub struct DriftCompensationSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct DriftCompensationSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> DriftCompensationSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DriftCompensationSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_enabled(&mut self, enabled: bool) { self.fbb_.push_slot::(DriftCompensationSettings::VT_ENABLED, enabled, false); @@ -136,7 +136,7 @@ impl<'a: 'b, 'b> DriftCompensationSettingsBuilder<'a, 'b> { self.fbb_.push_slot::(DriftCompensationSettings::VT_MAX_RESETS, max_resets, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DriftCompensationSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DriftCompensationSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); DriftCompensationSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs index a0288973..0e154b0f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for EnableStayAlignedRequest<'a> { type Inner = EnableStayAlignedRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> EnableStayAlignedRequest<'a> { EnableStayAlignedRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args EnableStayAlignedRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = EnableStayAlignedRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for EnableStayAlignedRequestArgs { } } -pub struct EnableStayAlignedRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct EnableStayAlignedRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> EnableStayAlignedRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> EnableStayAlignedRequestBuilder<'a, 'b, A> { #[inline] pub fn add_enable(&mut self, enable: bool) { self.fbb_.push_slot::(EnableStayAlignedRequest::VT_ENABLE, enable, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> EnableStayAlignedRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> EnableStayAlignedRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); EnableStayAlignedRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs index 15054562..cdac0492 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FilteringSettings<'a> { type Inner = FilteringSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> FilteringSettings<'a> { FilteringSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args FilteringSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = FilteringSettingsBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for FilteringSettingsArgs { } } -pub struct FilteringSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct FilteringSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> FilteringSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FilteringSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_type_(&mut self, type_: super::datatypes::FilteringType) { self.fbb_.push_slot::(FilteringSettings::VT_TYPE_, type_, super::datatypes::FilteringType::NONE); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> FilteringSettingsBuilder<'a, 'b> { self.fbb_.push_slot::(FilteringSettings::VT_AMOUNT, amount, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FilteringSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FilteringSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); FilteringSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs index 3b69f636..ca5fbcf2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwarePart<'a> { type Inner = FirmwarePart<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> FirmwarePart<'a> { FirmwarePart { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args FirmwarePartArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = FirmwarePartBuilder::new(_fbb); @@ -103,11 +103,11 @@ impl<'a> Default for FirmwarePartArgs<'a> { } } -pub struct FirmwarePartBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct FirmwarePartBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> FirmwarePartBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwarePartBuilder<'a, 'b, A> { #[inline] pub fn add_url(&mut self, url: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(FirmwarePart::VT_URL, url); diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs index 28a68f79..14418ee3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateDeviceId { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for FirmwareUpdateDeviceId { type Output = FirmwareUpdateDeviceId; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs index f6cdfde1..c122f812 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateMethod { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for FirmwareUpdateMethod { type Output = FirmwareUpdateMethod; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs index b5cc8e16..e95e13ed 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateRequest<'a> { type Inner = FirmwareUpdateRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> FirmwareUpdateRequest<'a> { FirmwareUpdateRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args FirmwareUpdateRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareUpdateRequestBuilder::new(_fbb); @@ -122,11 +122,11 @@ impl<'a> Default for FirmwareUpdateRequestArgs { } } -pub struct FirmwareUpdateRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct FirmwareUpdateRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> FirmwareUpdateRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateRequestBuilder<'a, 'b, A> { #[inline] pub fn add_method_type(&mut self, method_type: FirmwareUpdateMethod) { self.fbb_.push_slot::(FirmwareUpdateRequest::VT_METHOD_TYPE, method_type, FirmwareUpdateMethod::NONE); @@ -136,7 +136,7 @@ impl<'a: 'b, 'b> FirmwareUpdateRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(FirmwareUpdateRequest::VT_METHOD, method); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareUpdateRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareUpdateRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); FirmwareUpdateRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs index fedb4dbe..da70f7fc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs @@ -128,7 +128,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -137,7 +137,7 @@ impl flatbuffers::Push for FirmwareUpdateStatus { type Output = FirmwareUpdateStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs index 64a60c7e..32f8d735 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateStatusResponse<'a> { type Inner = FirmwareUpdateStatusResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -35,8 +35,8 @@ impl<'a> FirmwareUpdateStatusResponse<'a> { FirmwareUpdateStatusResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args FirmwareUpdateStatusResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareUpdateStatusResponseBuilder::new(_fbb); @@ -147,11 +147,11 @@ impl<'a> Default for FirmwareUpdateStatusResponseArgs { } } -pub struct FirmwareUpdateStatusResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct FirmwareUpdateStatusResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> FirmwareUpdateStatusResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateStatusResponseBuilder<'a, 'b, A> { #[inline] pub fn add_device_id_type(&mut self, device_id_type: FirmwareUpdateDeviceId) { self.fbb_.push_slot::(FirmwareUpdateStatusResponse::VT_DEVICE_ID_TYPE, device_id_type, FirmwareUpdateDeviceId::NONE); @@ -169,7 +169,7 @@ impl<'a: 'b, 'b> FirmwareUpdateStatusResponseBuilder<'a, 'b> { self.fbb_.push_slot::(FirmwareUpdateStatusResponse::VT_PROGRESS, progress, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareUpdateStatusResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareUpdateStatusResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); FirmwareUpdateStatusResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs index 02ab34aa..9a9ef7bc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateStopQueuesRequest<'a> { type Inner = FirmwareUpdateStopQueuesRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> FirmwareUpdateStopQueuesRequest<'a> { FirmwareUpdateStopQueuesRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args FirmwareUpdateStopQueuesRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareUpdateStopQueuesRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for FirmwareUpdateStopQueuesRequestArgs { } } -pub struct FirmwareUpdateStopQueuesRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct FirmwareUpdateStopQueuesRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); FirmwareUpdateStopQueuesRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs index ef85aafb..5c76f396 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ForgetDeviceRequest<'a> { type Inner = ForgetDeviceRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> ForgetDeviceRequest<'a> { ForgetDeviceRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ForgetDeviceRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ForgetDeviceRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for ForgetDeviceRequestArgs<'a> { } } -pub struct ForgetDeviceRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ForgetDeviceRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ForgetDeviceRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ForgetDeviceRequestBuilder<'a, 'b, A> { #[inline] pub fn add_mac_address(&mut self, mac_address: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(ForgetDeviceRequest::VT_MAC_ADDRESS, mac_address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ForgetDeviceRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ForgetDeviceRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ForgetDeviceRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs index 44c96c44..47c80860 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for HeartbeatRequest<'a> { type Inner = HeartbeatRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> HeartbeatRequest<'a> { HeartbeatRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args HeartbeatRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeartbeatRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for HeartbeatRequestArgs { } } -pub struct HeartbeatRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct HeartbeatRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> HeartbeatRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeartbeatRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeartbeatRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeartbeatRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); HeartbeatRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs index c0dcbe16..c74c0f92 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for HeartbeatResponse<'a> { type Inner = HeartbeatResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> HeartbeatResponse<'a> { HeartbeatResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args HeartbeatResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeartbeatResponseBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for HeartbeatResponseArgs { } } -pub struct HeartbeatResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct HeartbeatResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> HeartbeatResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeartbeatResponseBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeartbeatResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeartbeatResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); HeartbeatResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs index 2679cab3..dcb54c82 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for HeightRequest<'a> { type Inner = HeightRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> HeightRequest<'a> { HeightRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args HeightRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeightRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for HeightRequestArgs { } } -pub struct HeightRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct HeightRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> HeightRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeightRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeightRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeightRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); HeightRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs index ff0c23a2..0384010a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for HeightResponse<'a> { type Inner = HeightResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> HeightResponse<'a> { HeightResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args HeightResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeightResponseBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for HeightResponseArgs { } } -pub struct HeightResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct HeightResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> HeightResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeightResponseBuilder<'a, 'b, A> { #[inline] pub fn add_min_height(&mut self, min_height: f32) { self.fbb_.push_slot::(HeightResponse::VT_MIN_HEIGHT, min_height, 0.0); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> HeightResponseBuilder<'a, 'b> { self.fbb_.push_slot::(HeightResponse::VT_MAX_HEIGHT, max_height, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeightResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeightResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); HeightResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs index 7f4dee62..71f45ac5 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for LegTweaksTmpChange<'a> { type Inner = LegTweaksTmpChange<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -37,8 +37,8 @@ impl<'a> LegTweaksTmpChange<'a> { LegTweaksTmpChange { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args LegTweaksTmpChangeArgs ) -> flatbuffers::WIPOffset> { let mut builder = LegTweaksTmpChangeBuilder::new(_fbb); @@ -113,11 +113,11 @@ impl<'a> Default for LegTweaksTmpChangeArgs { } } -pub struct LegTweaksTmpChangeBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct LegTweaksTmpChangeBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> LegTweaksTmpChangeBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksTmpChangeBuilder<'a, 'b, A> { #[inline] pub fn add_floor_clip(&mut self, floor_clip: bool) { self.fbb_.push_slot_always::(LegTweaksTmpChange::VT_FLOOR_CLIP, floor_clip); @@ -135,7 +135,7 @@ impl<'a: 'b, 'b> LegTweaksTmpChangeBuilder<'a, 'b> { self.fbb_.push_slot_always::(LegTweaksTmpChange::VT_FOOT_PLANT, foot_plant); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LegTweaksTmpChangeBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LegTweaksTmpChangeBuilder<'a, 'b, A> { let start = _fbb.start_table(); LegTweaksTmpChangeBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs index e163b6a2..f01ba06a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for LegTweaksTmpClear<'a> { type Inner = LegTweaksTmpClear<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -37,8 +37,8 @@ impl<'a> LegTweaksTmpClear<'a> { LegTweaksTmpClear { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args LegTweaksTmpClearArgs ) -> flatbuffers::WIPOffset> { let mut builder = LegTweaksTmpClearBuilder::new(_fbb); @@ -113,11 +113,11 @@ impl<'a> Default for LegTweaksTmpClearArgs { } } -pub struct LegTweaksTmpClearBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct LegTweaksTmpClearBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> LegTweaksTmpClearBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksTmpClearBuilder<'a, 'b, A> { #[inline] pub fn add_floor_clip(&mut self, floor_clip: bool) { self.fbb_.push_slot::(LegTweaksTmpClear::VT_FLOOR_CLIP, floor_clip, false); @@ -135,7 +135,7 @@ impl<'a: 'b, 'b> LegTweaksTmpClearBuilder<'a, 'b> { self.fbb_.push_slot::(LegTweaksTmpClear::VT_FOOT_PLANT, foot_plant, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LegTweaksTmpClearBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LegTweaksTmpClearBuilder<'a, 'b, A> { let start = _fbb.start_table(); LegTweaksTmpClearBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs index 2cd913fe..9fcb01a4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for MagToggleRequest<'a> { type Inner = MagToggleRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> MagToggleRequest<'a> { MagToggleRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args MagToggleRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = MagToggleRequestBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for MagToggleRequestArgs<'a> { } } -pub struct MagToggleRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct MagToggleRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> MagToggleRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MagToggleRequestBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(MagToggleRequest::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MagToggleRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MagToggleRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); MagToggleRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs index 2cb5bfad..27186576 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for MagToggleResponse<'a> { type Inner = MagToggleResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> MagToggleResponse<'a> { MagToggleResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args MagToggleResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = MagToggleResponseBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for MagToggleResponseArgs<'a> { } } -pub struct MagToggleResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct MagToggleResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> MagToggleResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MagToggleResponseBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(MagToggleResponse::VT_TRACKER_ID, tracker_id); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> MagToggleResponseBuilder<'a, 'b> { self.fbb_.push_slot::(MagToggleResponse::VT_ENABLE, enable, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MagToggleResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MagToggleResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); MagToggleResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs index 989cfa82..ac547fc6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for NewSerialDeviceResponse<'a> { type Inner = NewSerialDeviceResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> NewSerialDeviceResponse<'a> { NewSerialDeviceResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args NewSerialDeviceResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = NewSerialDeviceResponseBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for NewSerialDeviceResponseArgs<'a> { } } -pub struct NewSerialDeviceResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct NewSerialDeviceResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> NewSerialDeviceResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> NewSerialDeviceResponseBuilder<'a, 'b, A> { #[inline] pub fn add_device(&mut self, device: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(NewSerialDeviceResponse::VT_DEVICE, device); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> NewSerialDeviceResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> NewSerialDeviceResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); NewSerialDeviceResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs index c94bbd38..c29de6a4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for OpenSerialRequest<'a> { type Inner = OpenSerialRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> OpenSerialRequest<'a> { OpenSerialRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args OpenSerialRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OpenSerialRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for OpenSerialRequestArgs<'a> { } } -pub struct OpenSerialRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OpenSerialRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OpenSerialRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OpenSerialRequestBuilder<'a, 'b, A> { #[inline] pub fn add_auto(&mut self, auto: bool) { self.fbb_.push_slot::(OpenSerialRequest::VT_AUTO, auto, false); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> OpenSerialRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(OpenSerialRequest::VT_PORT, port); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OpenSerialRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OpenSerialRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); OpenSerialRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs index b21029c2..d990ba9d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OSCRouterSettings<'a> { type Inner = OSCRouterSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> OSCRouterSettings<'a> { OSCRouterSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args OSCRouterSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OSCRouterSettingsBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for OSCRouterSettingsArgs<'a> { } } -pub struct OSCRouterSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OSCRouterSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OSCRouterSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCRouterSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_osc_settings(&mut self, osc_settings: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(OSCRouterSettings::VT_OSC_SETTINGS, osc_settings); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OSCRouterSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OSCRouterSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); OSCRouterSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs index a8a8c28f..d0b380ad 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OSCSettings<'a> { type Inner = OSCSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> OSCSettings<'a> { OSCSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args OSCSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OSCSettingsBuilder::new(_fbb); @@ -112,11 +112,11 @@ impl<'a> Default for OSCSettingsArgs<'a> { } } -pub struct OSCSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OSCSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OSCSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_enabled(&mut self, enabled: bool) { self.fbb_.push_slot::(OSCSettings::VT_ENABLED, enabled, false); @@ -134,7 +134,7 @@ impl<'a: 'b, 'b> OSCSettingsBuilder<'a, 'b> { self.fbb_.push_slot_always::>(OSCSettings::VT_ADDRESS, address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OSCSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OSCSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); OSCSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs index 21543dcc..3039e357 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for OSCTrackersSetting<'a> { type Inner = OSCTrackersSetting<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -38,8 +38,8 @@ impl<'a> OSCTrackersSetting<'a> { OSCTrackersSetting { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args OSCTrackersSettingArgs ) -> flatbuffers::WIPOffset> { let mut builder = OSCTrackersSettingBuilder::new(_fbb); @@ -147,11 +147,11 @@ impl<'a> Default for OSCTrackersSettingArgs { } } -pub struct OSCTrackersSettingBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OSCTrackersSettingBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OSCTrackersSettingBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCTrackersSettingBuilder<'a, 'b, A> { #[inline] pub fn add_head(&mut self, head: bool) { self.fbb_.push_slot::(OSCTrackersSetting::VT_HEAD, head, false); @@ -181,7 +181,7 @@ impl<'a: 'b, 'b> OSCTrackersSettingBuilder<'a, 'b> { self.fbb_.push_slot::(OSCTrackersSetting::VT_HANDS, hands, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OSCTrackersSettingBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OSCTrackersSettingBuilder<'a, 'b, A> { let start = _fbb.start_table(); OSCTrackersSettingBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs index 31f16021..a6ce44da 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for OTAFirmwareUpdate<'a> { type Inner = OTAFirmwareUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> OTAFirmwareUpdate<'a> { OTAFirmwareUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args OTAFirmwareUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OTAFirmwareUpdateBuilder::new(_fbb); @@ -89,11 +89,11 @@ impl<'a> Default for OTAFirmwareUpdateArgs<'a> { } } -pub struct OTAFirmwareUpdateBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OTAFirmwareUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OTAFirmwareUpdateBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OTAFirmwareUpdateBuilder<'a, 'b, A> { #[inline] pub fn add_device_id(&mut self, device_id: &super::datatypes::DeviceId) { self.fbb_.push_slot_always::<&super::datatypes::DeviceId>(OTAFirmwareUpdate::VT_DEVICE_ID, device_id); @@ -103,7 +103,7 @@ impl<'a: 'b, 'b> OTAFirmwareUpdateBuilder<'a, 'b> { self.fbb_.push_slot_always::>(OTAFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OTAFirmwareUpdateBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OTAFirmwareUpdateBuilder<'a, 'b, A> { let start = _fbb.start_table(); OTAFirmwareUpdateBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs index 231dd39f..6f12dec2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OverlayDisplayModeChangeRequest<'a> { type Inner = OverlayDisplayModeChangeRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> OverlayDisplayModeChangeRequest<'a> { OverlayDisplayModeChangeRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args OverlayDisplayModeChangeRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = OverlayDisplayModeChangeRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for OverlayDisplayModeChangeRequestArgs { } } -pub struct OverlayDisplayModeChangeRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OverlayDisplayModeChangeRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OverlayDisplayModeChangeRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeChangeRequestBuilder<'a, 'b, A> { #[inline] pub fn add_is_visible(&mut self, is_visible: bool) { self.fbb_.push_slot_always::(OverlayDisplayModeChangeRequest::VT_IS_VISIBLE, is_visible); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> OverlayDisplayModeChangeRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::(OverlayDisplayModeChangeRequest::VT_IS_MIRRORED, is_mirrored); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OverlayDisplayModeChangeRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OverlayDisplayModeChangeRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); OverlayDisplayModeChangeRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs index 1d5c3e8a..78f666e8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OverlayDisplayModeRequest<'a> { type Inner = OverlayDisplayModeRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> OverlayDisplayModeRequest<'a> { OverlayDisplayModeRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args OverlayDisplayModeRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = OverlayDisplayModeRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for OverlayDisplayModeRequestArgs { } } -pub struct OverlayDisplayModeRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OverlayDisplayModeRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OverlayDisplayModeRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OverlayDisplayModeRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OverlayDisplayModeRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); OverlayDisplayModeRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs index ba364109..505724ca 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OverlayDisplayModeResponse<'a> { type Inner = OverlayDisplayModeResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> OverlayDisplayModeResponse<'a> { OverlayDisplayModeResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args OverlayDisplayModeResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = OverlayDisplayModeResponseBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for OverlayDisplayModeResponseArgs { } } -pub struct OverlayDisplayModeResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct OverlayDisplayModeResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> OverlayDisplayModeResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeResponseBuilder<'a, 'b, A> { #[inline] pub fn add_is_visible(&mut self, is_visible: bool) { self.fbb_.push_slot::(OverlayDisplayModeResponse::VT_IS_VISIBLE, is_visible, false); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> OverlayDisplayModeResponseBuilder<'a, 'b> { self.fbb_.push_slot::(OverlayDisplayModeResponse::VT_IS_MIRRORED, is_mirrored, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OverlayDisplayModeResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OverlayDisplayModeResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); OverlayDisplayModeResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs index 0e55cac1..7b543018 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RecordBVHRequest<'a> { type Inner = RecordBVHRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> RecordBVHRequest<'a> { RecordBVHRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args RecordBVHRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = RecordBVHRequestBuilder::new(_fbb); @@ -89,11 +89,11 @@ impl<'a> Default for RecordBVHRequestArgs<'a> { } } -pub struct RecordBVHRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct RecordBVHRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> RecordBVHRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RecordBVHRequestBuilder<'a, 'b, A> { #[inline] pub fn add_stop(&mut self, stop: bool) { self.fbb_.push_slot::(RecordBVHRequest::VT_STOP, stop, false); @@ -103,7 +103,7 @@ impl<'a: 'b, 'b> RecordBVHRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(RecordBVHRequest::VT_PATH, path); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RecordBVHRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RecordBVHRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); RecordBVHRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs index 771df08d..6b4935bb 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RecordBVHStatus<'a> { type Inner = RecordBVHStatus<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> RecordBVHStatus<'a> { RecordBVHStatus { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args RecordBVHStatusArgs ) -> flatbuffers::WIPOffset> { let mut builder = RecordBVHStatusBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for RecordBVHStatusArgs { } } -pub struct RecordBVHStatusBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct RecordBVHStatusBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> RecordBVHStatusBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RecordBVHStatusBuilder<'a, 'b, A> { #[inline] pub fn add_recording(&mut self, recording: bool) { self.fbb_.push_slot::(RecordBVHStatus::VT_RECORDING, recording, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RecordBVHStatusBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RecordBVHStatusBuilder<'a, 'b, A> { let start = _fbb.start_table(); RecordBVHStatusBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs index 610de8c7..5242960e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RecordBVHStatusRequest<'a> { type Inner = RecordBVHStatusRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> RecordBVHStatusRequest<'a> { RecordBVHStatusRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args RecordBVHStatusRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = RecordBVHStatusRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for RecordBVHStatusRequestArgs { } } -pub struct RecordBVHStatusRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct RecordBVHStatusRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> RecordBVHStatusRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RecordBVHStatusRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RecordBVHStatusRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RecordBVHStatusRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); RecordBVHStatusRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs index e474370d..dfa76825 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetRequest<'a> { type Inner = ResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> ResetRequest<'a> { ResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ResetRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ResetRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for ResetRequestArgs<'a> { } } -pub struct ResetRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ResetRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetRequestBuilder<'a, 'b, A> { #[inline] pub fn add_reset_type(&mut self, reset_type: ResetType) { self.fbb_.push_slot::(ResetRequest::VT_RESET_TYPE, reset_type, ResetType::Yaw); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b> ResetRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(ResetRequest::VT_BODY_PARTS, body_parts); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ResetRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ResetRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs index b8a5ff87..19401f9f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetResponse<'a> { type Inner = ResetResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -127,11 +127,11 @@ impl<'a> Default for ResetResponseArgs<'a> { } } -pub struct ResetResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ResetResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ResetResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetResponseBuilder<'a, 'b, A> { #[inline] pub fn add_reset_type(&mut self, reset_type: ResetType) { self.fbb_.push_slot::(ResetResponse::VT_RESET_TYPE, reset_type, ResetType::Yaw); diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs index ff968be5..f5a82b92 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs @@ -56,7 +56,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -65,7 +65,7 @@ impl flatbuffers::Push for ResetStatus { type Output = ResetStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs index ea94a902..643fede6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetStayAlignedRelaxedPoseRequest<'a> { type Inner = ResetStayAlignedRelaxedPoseRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> ResetStayAlignedRelaxedPoseRequest<'a> { ResetStayAlignedRelaxedPoseRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ResetStayAlignedRelaxedPoseRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ResetStayAlignedRelaxedPoseRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for ResetStayAlignedRelaxedPoseRequestArgs { } } -pub struct ResetStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ResetStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { #[inline] pub fn add_pose(&mut self, pose: StayAlignedRelaxedPose) { self.fbb_.push_slot::(ResetStayAlignedRelaxedPoseRequest::VT_POSE, pose, StayAlignedRelaxedPose::STANDING); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ResetStayAlignedRelaxedPoseRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs index e2cad5f5..b84b2a70 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs @@ -61,7 +61,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -70,7 +70,7 @@ impl flatbuffers::Push for ResetType { type Output = ResetType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs index 4d66e0bd..ad50edb0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetsSettings<'a> { type Inner = ResetsSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> ResetsSettings<'a> { ResetsSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ResetsSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = ResetsSettingsBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for ResetsSettingsArgs { } } -pub struct ResetsSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ResetsSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ResetsSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetsSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_reset_mounting_feet(&mut self, reset_mounting_feet: bool) { self.fbb_.push_slot::(ResetsSettings::VT_RESET_MOUNTING_FEET, reset_mounting_feet, false); @@ -149,7 +149,7 @@ impl<'a: 'b, 'b> ResetsSettingsBuilder<'a, 'b> { self.fbb_.push_slot::(ResetsSettings::VT_RESET_HMD_PITCH, reset_hmd_pitch, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ResetsSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ResetsSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); ResetsSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs index f056f10c..c63823e2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs @@ -364,7 +364,7 @@ impl<'a> flatbuffers::Follow<'a> for RpcMessage { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -373,7 +373,7 @@ impl flatbuffers::Push for RpcMessage { type Output = RpcMessage; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs index 5302176d..559d53e0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RpcMessageHeader<'a> { type Inner = RpcMessageHeader<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> RpcMessageHeader<'a> { RpcMessageHeader { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args RpcMessageHeaderArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = RpcMessageHeaderBuilder::new(_fbb); @@ -1352,11 +1352,11 @@ impl<'a> Default for RpcMessageHeaderArgs<'a> { } } -pub struct RpcMessageHeaderBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct RpcMessageHeaderBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> RpcMessageHeaderBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RpcMessageHeaderBuilder<'a, 'b, A> { #[inline] pub fn add_tx_id(&mut self, tx_id: &super::datatypes::TransactionId) { self.fbb_.push_slot_always::<&super::datatypes::TransactionId>(RpcMessageHeader::VT_TX_ID, tx_id); @@ -1370,7 +1370,7 @@ impl<'a: 'b, 'b> RpcMessageHeaderBuilder<'a, 'b> { self.fbb_.push_slot_always::>(RpcMessageHeader::VT_MESSAGE, message); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RpcMessageHeaderBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RpcMessageHeaderBuilder<'a, 'b, A> { let start = _fbb.start_table(); RpcMessageHeaderBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs index d3b2204f..590910a3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SaveFileNotification<'a> { type Inner = SaveFileNotification<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -37,8 +37,8 @@ impl<'a> SaveFileNotification<'a> { SaveFileNotification { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SaveFileNotificationArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SaveFileNotificationBuilder::new(_fbb); @@ -129,11 +129,11 @@ impl<'a> Default for SaveFileNotificationArgs<'a> { } } -pub struct SaveFileNotificationBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SaveFileNotificationBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SaveFileNotificationBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SaveFileNotificationBuilder<'a, 'b, A> { #[inline] pub fn add_data(&mut self, data: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(SaveFileNotification::VT_DATA, data); @@ -155,7 +155,7 @@ impl<'a: 'b, 'b> SaveFileNotificationBuilder<'a, 'b> { self.fbb_.push_slot_always::>(SaveFileNotification::VT_EXPECTED_FILENAME, expected_filename); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SaveFileNotificationBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SaveFileNotificationBuilder<'a, 'b, A> { let start = _fbb.start_table(); SaveFileNotificationBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs index bf9ec9c9..2a3967ec 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevice<'a> { type Inner = SerialDevice<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> SerialDevice<'a> { SerialDevice { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SerialDeviceArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialDeviceBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SerialDeviceArgs<'a> { } } -pub struct SerialDeviceBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialDeviceBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialDeviceBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDeviceBuilder<'a, 'b, A> { #[inline] pub fn add_port(&mut self, port: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialDevice::VT_PORT, port); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> SerialDeviceBuilder<'a, 'b> { self.fbb_.push_slot_always::>(SerialDevice::VT_NAME, name); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDeviceBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDeviceBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialDeviceBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs index 3693e35a..425484a5 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevicePort<'a> { type Inner = SerialDevicePort<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> SerialDevicePort<'a> { SerialDevicePort { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SerialDevicePortArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialDevicePortBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for SerialDevicePortArgs<'a> { } } -pub struct SerialDevicePortBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialDevicePortBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialDevicePortBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDevicePortBuilder<'a, 'b, A> { #[inline] pub fn add_port(&mut self, port: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialDevicePort::VT_PORT, port); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDevicePortBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDevicePortBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialDevicePortBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs index 79267f3b..4246bcf4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevicesRequest<'a> { type Inner = SerialDevicesRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> SerialDevicesRequest<'a> { SerialDevicesRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SerialDevicesRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialDevicesRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SerialDevicesRequestArgs { } } -pub struct SerialDevicesRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialDevicesRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialDevicesRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDevicesRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDevicesRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDevicesRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialDevicesRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs index 40fbf980..59556ce8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevicesResponse<'a> { type Inner = SerialDevicesResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> SerialDevicesResponse<'a> { SerialDevicesResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SerialDevicesResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialDevicesResponseBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for SerialDevicesResponseArgs<'a> { } } -pub struct SerialDevicesResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialDevicesResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialDevicesResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDevicesResponseBuilder<'a, 'b, A> { #[inline] pub fn add_devices(&mut self, devices: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(SerialDevicesResponse::VT_DEVICES, devices); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDevicesResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDevicesResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialDevicesResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs index 70b3e599..cb702619 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialFirmwareUpdate<'a> { type Inner = SerialFirmwareUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> SerialFirmwareUpdate<'a> { SerialFirmwareUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SerialFirmwareUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialFirmwareUpdateBuilder::new(_fbb); @@ -129,11 +129,11 @@ impl<'a> Default for SerialFirmwareUpdateArgs<'a> { } } -pub struct SerialFirmwareUpdateBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialFirmwareUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialFirmwareUpdateBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialFirmwareUpdateBuilder<'a, 'b, A> { #[inline] pub fn add_device_id(&mut self, device_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(SerialFirmwareUpdate::VT_DEVICE_ID, device_id); @@ -155,7 +155,7 @@ impl<'a: 'b, 'b> SerialFirmwareUpdateBuilder<'a, 'b> { self.fbb_.push_slot_always::>(SerialFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialFirmwareUpdateBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialFirmwareUpdateBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialFirmwareUpdateBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs index 69e988a3..21550ba9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerCustomCommandRequest<'a> { type Inner = SerialTrackerCustomCommandRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> SerialTrackerCustomCommandRequest<'a> { SerialTrackerCustomCommandRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SerialTrackerCustomCommandRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerCustomCommandRequestBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for SerialTrackerCustomCommandRequestArgs<'a> { } } -pub struct SerialTrackerCustomCommandRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialTrackerCustomCommandRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialTrackerCustomCommandRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerCustomCommandRequestBuilder<'a, 'b, A> { #[inline] pub fn add_command(&mut self, command: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialTrackerCustomCommandRequest::VT_COMMAND, command); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerCustomCommandRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerCustomCommandRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialTrackerCustomCommandRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs index 7630bab0..e99b4ec8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerFactoryResetRequest<'a> { type Inner = SerialTrackerFactoryResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerFactoryResetRequest<'a> { SerialTrackerFactoryResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SerialTrackerFactoryResetRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerFactoryResetRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerFactoryResetRequestArgs { } } -pub struct SerialTrackerFactoryResetRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialTrackerFactoryResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialTrackerFactoryResetRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerFactoryResetRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerFactoryResetRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerFactoryResetRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialTrackerFactoryResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs index 04cee22d..30e9064b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerGetInfoRequest<'a> { type Inner = SerialTrackerGetInfoRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerGetInfoRequest<'a> { SerialTrackerGetInfoRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SerialTrackerGetInfoRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerGetInfoRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerGetInfoRequestArgs { } } -pub struct SerialTrackerGetInfoRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialTrackerGetInfoRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialTrackerGetInfoRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerGetInfoRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerGetInfoRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerGetInfoRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialTrackerGetInfoRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs index 044b54d2..f790cf35 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerGetWifiScanRequest<'a> { type Inner = SerialTrackerGetWifiScanRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerGetWifiScanRequest<'a> { SerialTrackerGetWifiScanRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SerialTrackerGetWifiScanRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerGetWifiScanRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerGetWifiScanRequestArgs { } } -pub struct SerialTrackerGetWifiScanRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialTrackerGetWifiScanRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialTrackerGetWifiScanRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerGetWifiScanRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerGetWifiScanRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerGetWifiScanRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialTrackerGetWifiScanRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs index 0c0c059f..514e57fc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerRebootRequest<'a> { type Inner = SerialTrackerRebootRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerRebootRequest<'a> { SerialTrackerRebootRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SerialTrackerRebootRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerRebootRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerRebootRequestArgs { } } -pub struct SerialTrackerRebootRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialTrackerRebootRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialTrackerRebootRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerRebootRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerRebootRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerRebootRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialTrackerRebootRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs index cf9dfec0..b79a3e1b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialUpdateResponse<'a> { type Inner = SerialUpdateResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> SerialUpdateResponse<'a> { SerialUpdateResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SerialUpdateResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialUpdateResponseBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SerialUpdateResponseArgs<'a> { } } -pub struct SerialUpdateResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SerialUpdateResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SerialUpdateResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialUpdateResponseBuilder<'a, 'b, A> { #[inline] pub fn add_log(&mut self, log: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialUpdateResponse::VT_LOG, log); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> SerialUpdateResponseBuilder<'a, 'b> { self.fbb_.push_slot::(SerialUpdateResponse::VT_CLOSED, closed, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialUpdateResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialUpdateResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); SerialUpdateResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs index 92d95f94..cb04d05d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs @@ -24,7 +24,7 @@ impl<'a> flatbuffers::Follow<'a> for ServerInfosRequest<'a> { type Inner = ServerInfosRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -35,8 +35,8 @@ impl<'a> ServerInfosRequest<'a> { ServerInfosRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args ServerInfosRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ServerInfosRequestBuilder::new(_fbb); @@ -66,13 +66,13 @@ impl<'a> Default for ServerInfosRequestArgs { } } -pub struct ServerInfosRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ServerInfosRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ServerInfosRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ServerInfosRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ServerInfosRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ServerInfosRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); ServerInfosRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs index c3610f72..40a258b8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs @@ -24,7 +24,7 @@ impl<'a> flatbuffers::Follow<'a> for ServerInfosResponse<'a> { type Inner = ServerInfosResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> ServerInfosResponse<'a> { ServerInfosResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ServerInfosResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ServerInfosResponseBuilder::new(_fbb); @@ -79,17 +79,17 @@ impl<'a> Default for ServerInfosResponseArgs<'a> { } } -pub struct ServerInfosResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ServerInfosResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ServerInfosResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ServerInfosResponseBuilder<'a, 'b, A> { #[inline] pub fn add_localIp(&mut self, localIp: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(ServerInfosResponse::VT_LOCALIP, localIp); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ServerInfosResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ServerInfosResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); ServerInfosResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs index 9a62544b..05ff1612 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SetPauseTrackingRequest<'a> { type Inner = SetPauseTrackingRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> SetPauseTrackingRequest<'a> { SetPauseTrackingRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SetPauseTrackingRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SetPauseTrackingRequestBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for SetPauseTrackingRequestArgs { } } -pub struct SetPauseTrackingRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SetPauseTrackingRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SetPauseTrackingRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SetPauseTrackingRequestBuilder<'a, 'b, A> { #[inline] pub fn add_pauseTracking(&mut self, pauseTracking: bool) { self.fbb_.push_slot::(SetPauseTrackingRequest::VT_PAUSETRACKING, pauseTracking, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SetPauseTrackingRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SetPauseTrackingRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SetPauseTrackingRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs index 0e0bee60..8bc79998 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SetWifiRequest<'a> { type Inner = SetWifiRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> SetWifiRequest<'a> { SetWifiRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SetWifiRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SetWifiRequestBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SetWifiRequestArgs<'a> { } } -pub struct SetWifiRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SetWifiRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SetWifiRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SetWifiRequestBuilder<'a, 'b, A> { #[inline] pub fn add_ssid(&mut self, ssid: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SetWifiRequest::VT_SSID, ssid); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> SetWifiRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(SetWifiRequest::VT_PASSWORD, password); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SetWifiRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SetWifiRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SetWifiRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs index 39a24c5c..9f0b0cba 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for LegTweaksSettings<'a> { type Inner = LegTweaksSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> LegTweaksSettings<'a> { LegTweaksSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args LegTweaksSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = LegTweaksSettingsBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for LegTweaksSettingsArgs { } } -pub struct LegTweaksSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct LegTweaksSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> LegTweaksSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_correction_strength(&mut self, correction_strength: f32) { self.fbb_.push_slot_always::(LegTweaksSettings::VT_CORRECTION_STRENGTH, correction_strength); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LegTweaksSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LegTweaksSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); LegTweaksSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs index 6af21232..d572a824 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for ModelRatios<'a> { type Inner = ModelRatios<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -40,8 +40,8 @@ impl<'a> ModelRatios<'a> { ModelRatios { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ModelRatiosArgs ) -> flatbuffers::WIPOffset> { let mut builder = ModelRatiosBuilder::new(_fbb); @@ -152,11 +152,11 @@ impl<'a> Default for ModelRatiosArgs { } } -pub struct ModelRatiosBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ModelRatiosBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ModelRatiosBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelRatiosBuilder<'a, 'b, A> { #[inline] pub fn add_impute_waist_from_chest_hip(&mut self, impute_waist_from_chest_hip: f32) { self.fbb_.push_slot_always::(ModelRatios::VT_IMPUTE_WAIST_FROM_CHEST_HIP, impute_waist_from_chest_hip); @@ -186,7 +186,7 @@ impl<'a: 'b, 'b> ModelRatiosBuilder<'a, 'b> { self.fbb_.push_slot_always::(ModelRatios::VT_INTERP_KNEE_ANKLE, interp_knee_ankle); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ModelRatiosBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ModelRatiosBuilder<'a, 'b, A> { let start = _fbb.start_table(); ModelRatiosBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs index fed1b713..b0229c85 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ModelSettings<'a> { type Inner = ModelSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> ModelSettings<'a> { ModelSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ModelSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ModelSettingsBuilder::new(_fbb); @@ -112,11 +112,11 @@ impl<'a> Default for ModelSettingsArgs<'a> { } } -pub struct ModelSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ModelSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ModelSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_toggles(&mut self, toggles: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(ModelSettings::VT_TOGGLES, toggles); @@ -134,7 +134,7 @@ impl<'a: 'b, 'b> ModelSettingsBuilder<'a, 'b> { self.fbb_.push_slot_always::>(ModelSettings::VT_SKELETON_HEIGHT, skeleton_height); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ModelSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ModelSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); ModelSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs index b04b7eb4..fb2a105e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ModelToggles<'a> { type Inner = ModelToggles<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -44,8 +44,8 @@ impl<'a> ModelToggles<'a> { ModelToggles { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args ModelTogglesArgs ) -> flatbuffers::WIPOffset> { let mut builder = ModelTogglesBuilder::new(_fbb); @@ -208,11 +208,11 @@ impl<'a> Default for ModelTogglesArgs { } } -pub struct ModelTogglesBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct ModelTogglesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> ModelTogglesBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelTogglesBuilder<'a, 'b, A> { #[inline] pub fn add_extended_spine(&mut self, extended_spine: bool) { self.fbb_.push_slot_always::(ModelToggles::VT_EXTENDED_SPINE, extended_spine); @@ -262,7 +262,7 @@ impl<'a: 'b, 'b> ModelTogglesBuilder<'a, 'b> { self.fbb_.push_slot_always::(ModelToggles::VT_CORRECT_CONSTRAINTS, correct_constraints); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ModelTogglesBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ModelTogglesBuilder<'a, 'b, A> { let start = _fbb.start_table(); ModelTogglesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs index 9bd87f27..18945e63 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonHeight<'a> { type Inner = SkeletonHeight<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> SkeletonHeight<'a> { SkeletonHeight { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SkeletonHeightArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonHeightBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SkeletonHeightArgs { } } -pub struct SkeletonHeightBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SkeletonHeightBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SkeletonHeightBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonHeightBuilder<'a, 'b, A> { #[inline] pub fn add_hmd_height(&mut self, hmd_height: f32) { self.fbb_.push_slot_always::(SkeletonHeight::VT_HMD_HEIGHT, hmd_height); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> SkeletonHeightBuilder<'a, 'b> { self.fbb_.push_slot_always::(SkeletonHeight::VT_FLOOR_HEIGHT, floor_height); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonHeightBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonHeightBuilder<'a, 'b, A> { let start = _fbb.start_table(); SkeletonHeightBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs index 23376956..3226e1b7 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SettingsRequest<'a> { type Inner = SettingsRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> SettingsRequest<'a> { SettingsRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SettingsRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SettingsRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SettingsRequestArgs { } } -pub struct SettingsRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SettingsRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SettingsRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SettingsRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SettingsRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SettingsRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SettingsRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs index d90f8c93..f69e68a9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SettingsResetRequest<'a> { type Inner = SettingsResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> SettingsResetRequest<'a> { SettingsResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SettingsResetRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SettingsResetRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SettingsResetRequestArgs { } } -pub struct SettingsResetRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SettingsResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SettingsResetRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SettingsResetRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SettingsResetRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SettingsResetRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SettingsResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs index d903d098..ecca2524 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SettingsResponse<'a> { type Inner = SettingsResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -42,8 +42,8 @@ impl<'a> SettingsResponse<'a> { SettingsResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SettingsResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SettingsResponseBuilder::new(_fbb); @@ -195,11 +195,11 @@ impl<'a> Default for SettingsResponseArgs<'a> { } } -pub struct SettingsResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SettingsResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SettingsResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SettingsResponseBuilder<'a, 'b, A> { #[inline] pub fn add_steam_vr_trackers(&mut self, steam_vr_trackers: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(SettingsResponse::VT_STEAM_VR_TRACKERS, steam_vr_trackers); @@ -245,7 +245,7 @@ impl<'a: 'b, 'b> SettingsResponseBuilder<'a, 'b> { self.fbb_.push_slot_always::>(SettingsResponse::VT_STAY_ALIGNED, stay_aligned); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SettingsResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SettingsResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); SettingsResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs index b8125bb1..dbba86db 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs @@ -12,10 +12,10 @@ use super::*; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] pub const ENUM_MIN_SKELETON_BONE: u8 = 0; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] -pub const ENUM_MAX_SKELETON_BONE: u8 = 21; +pub const ENUM_MAX_SKELETON_BONE: u8 = 27; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] #[allow(non_camel_case_types)] -pub const ENUM_VALUES_SKELETON_BONE: [SkeletonBone; 22] = [ +pub const ENUM_VALUES_SKELETON_BONE: [SkeletonBone; 28] = [ SkeletonBone::NONE, SkeletonBone::HEAD, SkeletonBone::NECK, @@ -38,6 +38,12 @@ pub const ENUM_VALUES_SKELETON_BONE: [SkeletonBone; 22] = [ SkeletonBone::HAND_Z, SkeletonBone::ELBOW_OFFSET, SkeletonBone::UPPER_CHEST, + SkeletonBone::LEFT_TOE_1, + SkeletonBone::LEFT_TOE_2, + SkeletonBone::LEFT_TOE_3, + SkeletonBone::RIGHT_TOE_1, + SkeletonBone::RIGHT_TOE_2, + SkeletonBone::RIGHT_TOE_3, ]; #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] @@ -67,9 +73,15 @@ impl SkeletonBone { pub const HAND_Z: Self = Self(19); pub const ELBOW_OFFSET: Self = Self(20); pub const UPPER_CHEST: Self = Self(21); + pub const LEFT_TOE_1: Self = Self(22); + pub const LEFT_TOE_2: Self = Self(23); + pub const LEFT_TOE_3: Self = Self(24); + pub const RIGHT_TOE_1: Self = Self(25); + pub const RIGHT_TOE_2: Self = Self(26); + pub const RIGHT_TOE_3: Self = Self(27); pub const ENUM_MIN: u8 = 0; - pub const ENUM_MAX: u8 = 21; + pub const ENUM_MAX: u8 = 27; pub const ENUM_VALUES: &'static [Self] = &[ Self::NONE, Self::HEAD, @@ -93,6 +105,12 @@ impl SkeletonBone { Self::HAND_Z, Self::ELBOW_OFFSET, Self::UPPER_CHEST, + Self::LEFT_TOE_1, + Self::LEFT_TOE_2, + Self::LEFT_TOE_3, + Self::RIGHT_TOE_1, + Self::RIGHT_TOE_2, + Self::RIGHT_TOE_3, ]; /// Returns the variant's name or "" if unknown. pub fn variant_name(self) -> Option<&'static str> { @@ -119,6 +137,12 @@ impl SkeletonBone { Self::HAND_Z => Some("HAND_Z"), Self::ELBOW_OFFSET => Some("ELBOW_OFFSET"), Self::UPPER_CHEST => Some("UPPER_CHEST"), + Self::LEFT_TOE_1 => Some("LEFT_TOE_1"), + Self::LEFT_TOE_2 => Some("LEFT_TOE_2"), + Self::LEFT_TOE_3 => Some("LEFT_TOE_3"), + Self::RIGHT_TOE_1 => Some("RIGHT_TOE_1"), + Self::RIGHT_TOE_2 => Some("RIGHT_TOE_2"), + Self::RIGHT_TOE_3 => Some("RIGHT_TOE_3"), _ => None, } } @@ -136,7 +160,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonBone { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -145,7 +169,7 @@ impl flatbuffers::Push for SkeletonBone { type Output = SkeletonBone; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs index 08d9c43a..9088a128 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonConfigRequest<'a> { type Inner = SkeletonConfigRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> SkeletonConfigRequest<'a> { SkeletonConfigRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SkeletonConfigRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonConfigRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SkeletonConfigRequestArgs { } } -pub struct SkeletonConfigRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SkeletonConfigRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SkeletonConfigRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonConfigRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonConfigRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonConfigRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SkeletonConfigRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs index 086e3b13..89cf70ac 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonConfigResponse<'a> { type Inner = SkeletonConfigResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> SkeletonConfigResponse<'a> { SkeletonConfigResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SkeletonConfigResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonConfigResponseBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SkeletonConfigResponseArgs<'a> { } } -pub struct SkeletonConfigResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SkeletonConfigResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SkeletonConfigResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonConfigResponseBuilder<'a, 'b, A> { #[inline] pub fn add_skeleton_parts(&mut self, skeleton_parts: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(SkeletonConfigResponse::VT_SKELETON_PARTS, skeleton_parts); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> SkeletonConfigResponseBuilder<'a, 'b> { self.fbb_.push_slot::(SkeletonConfigResponse::VT_USER_HEIGHT, user_height, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonConfigResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonConfigResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); SkeletonConfigResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs index 774f117d..e0ba2c06 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonPart<'a> { type Inner = SkeletonPart<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> SkeletonPart<'a> { SkeletonPart { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SkeletonPartArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonPartBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SkeletonPartArgs { } } -pub struct SkeletonPartBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SkeletonPartBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SkeletonPartBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonPartBuilder<'a, 'b, A> { #[inline] pub fn add_bone(&mut self, bone: SkeletonBone) { self.fbb_.push_slot::(SkeletonPart::VT_BONE, bone, SkeletonBone::NONE); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b> SkeletonPartBuilder<'a, 'b> { self.fbb_.push_slot::(SkeletonPart::VT_VALUE, value, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonPartBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonPartBuilder<'a, 'b, A> { let start = _fbb.start_table(); SkeletonPartBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs index 4a3328bd..d8c2b911 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonResetAllRequest<'a> { type Inner = SkeletonResetAllRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> SkeletonResetAllRequest<'a> { SkeletonResetAllRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args SkeletonResetAllRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonResetAllRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SkeletonResetAllRequestArgs { } } -pub struct SkeletonResetAllRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SkeletonResetAllRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SkeletonResetAllRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonResetAllRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonResetAllRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonResetAllRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); SkeletonResetAllRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs index 020fc4bb..ccd0fbe6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StartWifiProvisioningRequest<'a> { type Inner = StartWifiProvisioningRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -34,8 +34,8 @@ impl<'a> StartWifiProvisioningRequest<'a> { StartWifiProvisioningRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StartWifiProvisioningRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StartWifiProvisioningRequestBuilder::new(_fbb); @@ -99,11 +99,11 @@ impl<'a> Default for StartWifiProvisioningRequestArgs<'a> { } } -pub struct StartWifiProvisioningRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StartWifiProvisioningRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StartWifiProvisioningRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StartWifiProvisioningRequestBuilder<'a, 'b, A> { #[inline] pub fn add_ssid(&mut self, ssid: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(StartWifiProvisioningRequest::VT_SSID, ssid); @@ -117,7 +117,7 @@ impl<'a: 'b, 'b> StartWifiProvisioningRequestBuilder<'a, 'b> { self.fbb_.push_slot_always::>(StartWifiProvisioningRequest::VT_PORT, port); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StartWifiProvisioningRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StartWifiProvisioningRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); StartWifiProvisioningRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs index 641ced84..e5645a9b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs @@ -72,7 +72,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusData { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -81,7 +81,7 @@ impl flatbuffers::Push for StatusData { type Output = StatusData; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs index 3427a5b7..7ff8741e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusMessage<'a> { type Inner = StatusMessage<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -37,8 +37,8 @@ impl<'a> StatusMessage<'a> { StatusMessage { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusMessageArgs ) -> flatbuffers::WIPOffset> { let mut builder = StatusMessageBuilder::new(_fbb); @@ -198,11 +198,11 @@ impl<'a> Default for StatusMessageArgs { } } -pub struct StatusMessageBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusMessageBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusMessageBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusMessageBuilder<'a, 'b, A> { #[inline] pub fn add_id(&mut self, id: u32) { self.fbb_.push_slot::(StatusMessage::VT_ID, id, 0); @@ -220,7 +220,7 @@ impl<'a: 'b, 'b> StatusMessageBuilder<'a, 'b> { self.fbb_.push_slot_always::>(StatusMessage::VT_DATA, data); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusMessageBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusMessageBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusMessageBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs index 23d6fb2f..9c19bbd1 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusPublicNetwork<'a> { type Inner = StatusPublicNetwork<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusPublicNetwork<'a> { StatusPublicNetwork { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusPublicNetworkArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusPublicNetworkBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for StatusPublicNetworkArgs<'a> { } } -pub struct StatusPublicNetworkBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusPublicNetworkBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusPublicNetworkBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusPublicNetworkBuilder<'a, 'b, A> { #[inline] pub fn add_adapters(&mut self, adapters: flatbuffers::WIPOffset>>) { self.fbb_.push_slot_always::>(StatusPublicNetwork::VT_ADAPTERS, adapters); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusPublicNetworkBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusPublicNetworkBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusPublicNetworkBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs index 875e14f0..4467e7e0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSteamVRDisconnected<'a> { type Inner = StatusSteamVRDisconnected<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusSteamVRDisconnected<'a> { StatusSteamVRDisconnected { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusSteamVRDisconnectedArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusSteamVRDisconnectedBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for StatusSteamVRDisconnectedArgs<'a> { } } -pub struct StatusSteamVRDisconnectedBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusSteamVRDisconnectedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusSteamVRDisconnectedBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSteamVRDisconnectedBuilder<'a, 'b, A> { #[inline] pub fn add_bridge_settings_name(&mut self, bridge_settings_name: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(StatusSteamVRDisconnected::VT_BRIDGE_SETTINGS_NAME, bridge_settings_name); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSteamVRDisconnectedBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSteamVRDisconnectedBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusSteamVRDisconnectedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs index 748d2348..d451afe7 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemFixed<'a> { type Inner = StatusSystemFixed<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusSystemFixed<'a> { StatusSystemFixed { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusSystemFixedArgs ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemFixedBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusSystemFixedArgs { } } -pub struct StatusSystemFixedBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusSystemFixedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusSystemFixedBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemFixedBuilder<'a, 'b, A> { #[inline] pub fn add_fixed_status_id(&mut self, fixed_status_id: u32) { self.fbb_.push_slot::(StatusSystemFixed::VT_FIXED_STATUS_ID, fixed_status_id, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemFixedBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemFixedBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusSystemFixedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs index a11ddb75..88b0b017 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemRequest<'a> { type Inner = StatusSystemRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> StatusSystemRequest<'a> { StatusSystemRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args StatusSystemRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for StatusSystemRequestArgs { } } -pub struct StatusSystemRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusSystemRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusSystemRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusSystemRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs index c656f3f7..dac56a4e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemResponse<'a> { type Inner = StatusSystemResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusSystemResponse<'a> { StatusSystemResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusSystemResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemResponseBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusSystemResponseArgs<'a> { } } -pub struct StatusSystemResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusSystemResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusSystemResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemResponseBuilder<'a, 'b, A> { #[inline] pub fn add_current_statuses(&mut self, current_statuses: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StatusSystemResponse::VT_CURRENT_STATUSES, current_statuses); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusSystemResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs index d4639465..1661b5eb 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemUpdate<'a> { type Inner = StatusSystemUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusSystemUpdate<'a> { StatusSystemUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusSystemUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemUpdateBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusSystemUpdateArgs<'a> { } } -pub struct StatusSystemUpdateBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusSystemUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusSystemUpdateBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemUpdateBuilder<'a, 'b, A> { #[inline] pub fn add_new_status(&mut self, new_status: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(StatusSystemUpdate::VT_NEW_STATUS, new_status); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemUpdateBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemUpdateBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusSystemUpdateBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs index 18bc87f1..dad413a5 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusTrackerError<'a> { type Inner = StatusTrackerError<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusTrackerError<'a> { StatusTrackerError { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusTrackerErrorArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusTrackerErrorBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusTrackerErrorArgs<'a> { } } -pub struct StatusTrackerErrorBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusTrackerErrorBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusTrackerErrorBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusTrackerErrorBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StatusTrackerError::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusTrackerErrorBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusTrackerErrorBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusTrackerErrorBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs index a1a125cd..bf018982 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusTrackerReset<'a> { type Inner = StatusTrackerReset<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusTrackerReset<'a> { StatusTrackerReset { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusTrackerResetArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusTrackerResetBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusTrackerResetArgs<'a> { } } -pub struct StatusTrackerResetBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusTrackerResetBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusTrackerResetBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusTrackerResetBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StatusTrackerReset::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusTrackerResetBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusTrackerResetBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusTrackerResetBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs index 3e728c0e..43726d83 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusUnassignedHMD<'a> { type Inner = StatusUnassignedHMD<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> StatusUnassignedHMD<'a> { StatusUnassignedHMD { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StatusUnassignedHMDArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusUnassignedHMDBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusUnassignedHMDArgs<'a> { } } -pub struct StatusUnassignedHMDBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StatusUnassignedHMDBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StatusUnassignedHMDBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusUnassignedHMDBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(StatusUnassignedHMD::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusUnassignedHMDBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusUnassignedHMDBuilder<'a, 'b, A> { let start = _fbb.start_table(); StatusUnassignedHMDBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs index 7386b63c..11a3ba27 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedRelaxedPose { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for StayAlignedRelaxedPose { type Output = StayAlignedRelaxedPose; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs index fb2d5408..03dff9a7 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedSettings<'a> { type Inner = StayAlignedSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -47,8 +47,8 @@ impl<'a> StayAlignedSettings<'a> { StayAlignedSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args StayAlignedSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = StayAlignedSettingsBuilder::new(_fbb); @@ -255,11 +255,11 @@ impl<'a> Default for StayAlignedSettingsArgs { } } -pub struct StayAlignedSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StayAlignedSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StayAlignedSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_enabled(&mut self, enabled: bool) { self.fbb_.push_slot::(StayAlignedSettings::VT_ENABLED, enabled, false); @@ -325,7 +325,7 @@ impl<'a: 'b, 'b> StayAlignedSettingsBuilder<'a, 'b> { self.fbb_.push_slot::(StayAlignedSettings::VT_SETUPCOMPLETE, setupComplete, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StayAlignedSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StayAlignedSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); StayAlignedSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs index 77165e29..fa3ea27a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SteamVRTrackersSetting<'a> { type Inner = SteamVRTrackersSetting<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -42,8 +42,8 @@ impl<'a> SteamVRTrackersSetting<'a> { SteamVRTrackersSetting { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args SteamVRTrackersSettingArgs ) -> flatbuffers::WIPOffset> { let mut builder = SteamVRTrackersSettingBuilder::new(_fbb); @@ -195,11 +195,11 @@ impl<'a> Default for SteamVRTrackersSettingArgs { } } -pub struct SteamVRTrackersSettingBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct SteamVRTrackersSettingBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> SteamVRTrackersSettingBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SteamVRTrackersSettingBuilder<'a, 'b, A> { #[inline] pub fn add_waist(&mut self, waist: bool) { self.fbb_.push_slot::(SteamVRTrackersSetting::VT_WAIST, waist, false); @@ -245,7 +245,7 @@ impl<'a: 'b, 'b> SteamVRTrackersSettingBuilder<'a, 'b> { self.fbb_.push_slot::(SteamVRTrackersSetting::VT_RIGHT_HAND, right_hand, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SteamVRTrackersSettingBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SteamVRTrackersSettingBuilder<'a, 'b, A> { let start = _fbb.start_table(); SteamVRTrackersSettingBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs index cb902718..870624fa 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StopWifiProvisioningRequest<'a> { type Inner = StopWifiProvisioningRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> StopWifiProvisioningRequest<'a> { StopWifiProvisioningRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args StopWifiProvisioningRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = StopWifiProvisioningRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for StopWifiProvisioningRequestArgs { } } -pub struct StopWifiProvisioningRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct StopWifiProvisioningRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> StopWifiProvisioningRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StopWifiProvisioningRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StopWifiProvisioningRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StopWifiProvisioningRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); StopWifiProvisioningRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs index 79052ba2..d42d93c9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for TapDetectionSettings<'a> { type Inner = TapDetectionSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -42,8 +42,8 @@ impl<'a> TapDetectionSettings<'a> { TapDetectionSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TapDetectionSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = TapDetectionSettingsBuilder::new(_fbb); @@ -197,11 +197,11 @@ impl<'a> Default for TapDetectionSettingsArgs { } } -pub struct TapDetectionSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TapDetectionSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TapDetectionSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TapDetectionSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_full_reset_delay(&mut self, full_reset_delay: f32) { self.fbb_.push_slot_always::(TapDetectionSettings::VT_FULL_RESET_DELAY, full_reset_delay); @@ -247,7 +247,7 @@ impl<'a: 'b, 'b> TapDetectionSettingsBuilder<'a, 'b> { self.fbb_.push_slot_always::(TapDetectionSettings::VT_NUMBER_TRACKERS_OVER_THRESHOLD, number_trackers_over_threshold); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TapDetectionSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TapDetectionSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); TapDetectionSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs index d0fe0c48..75f881ec 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TapDetectionSetupNotification<'a> { type Inner = TapDetectionSetupNotification<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -33,8 +33,8 @@ impl<'a> TapDetectionSetupNotification<'a> { TapDetectionSetupNotification { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TapDetectionSetupNotificationArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TapDetectionSetupNotificationBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for TapDetectionSetupNotificationArgs<'a> { } } -pub struct TapDetectionSetupNotificationBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TapDetectionSetupNotificationBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TapDetectionSetupNotificationBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TapDetectionSetupNotificationBuilder<'a, 'b, A> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TapDetectionSetupNotification::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TapDetectionSetupNotificationBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TapDetectionSetupNotificationBuilder<'a, 'b, A> { let start = _fbb.start_table(); TapDetectionSetupNotificationBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs index f1ba88e0..987c8ad1 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackingPauseStateRequest<'a> { type Inner = TrackingPauseStateRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> TrackingPauseStateRequest<'a> { TrackingPauseStateRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args TrackingPauseStateRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = TrackingPauseStateRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for TrackingPauseStateRequestArgs { } } -pub struct TrackingPauseStateRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TrackingPauseStateRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TrackingPauseStateRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackingPauseStateRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackingPauseStateRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackingPauseStateRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); TrackingPauseStateRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs index 210e6b35..a501b675 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackingPauseStateResponse<'a> { type Inner = TrackingPauseStateResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> TrackingPauseStateResponse<'a> { TrackingPauseStateResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args TrackingPauseStateResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = TrackingPauseStateResponseBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for TrackingPauseStateResponseArgs { } } -pub struct TrackingPauseStateResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct TrackingPauseStateResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> TrackingPauseStateResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackingPauseStateResponseBuilder<'a, 'b, A> { #[inline] pub fn add_trackingPaused(&mut self, trackingPaused: bool) { self.fbb_.push_slot::(TrackingPauseStateResponse::VT_TRACKINGPAUSED, trackingPaused, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackingPauseStateResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackingPauseStateResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); TrackingPauseStateResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs index 99ba50df..15e3b6a9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs @@ -23,7 +23,7 @@ impl<'a> flatbuffers::Follow<'a> for UnknownDeviceHandshakeNotification<'a> { type Inner = UnknownDeviceHandshakeNotification<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -35,8 +35,8 @@ impl<'a> UnknownDeviceHandshakeNotification<'a> { UnknownDeviceHandshakeNotification { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args UnknownDeviceHandshakeNotificationArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = UnknownDeviceHandshakeNotificationBuilder::new(_fbb); @@ -78,17 +78,17 @@ impl<'a> Default for UnknownDeviceHandshakeNotificationArgs<'a> { } } -pub struct UnknownDeviceHandshakeNotificationBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct UnknownDeviceHandshakeNotificationBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> UnknownDeviceHandshakeNotificationBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> UnknownDeviceHandshakeNotificationBuilder<'a, 'b, A> { #[inline] pub fn add_mac_address(&mut self, mac_address: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(UnknownDeviceHandshakeNotification::VT_MAC_ADDRESS, mac_address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> UnknownDeviceHandshakeNotificationBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> UnknownDeviceHandshakeNotificationBuilder<'a, 'b, A> { let start = _fbb.start_table(); UnknownDeviceHandshakeNotificationBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs index 7002828c..fce78f6f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for VMCOSCSettings<'a> { type Inner = VMCOSCSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -36,8 +36,8 @@ impl<'a> VMCOSCSettings<'a> { VMCOSCSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args VMCOSCSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VMCOSCSettingsBuilder::new(_fbb); @@ -112,11 +112,11 @@ impl<'a> Default for VMCOSCSettingsArgs<'a> { } } -pub struct VMCOSCSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct VMCOSCSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> VMCOSCSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VMCOSCSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_osc_settings(&mut self, osc_settings: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(VMCOSCSettings::VT_OSC_SETTINGS, osc_settings); @@ -134,7 +134,7 @@ impl<'a: 'b, 'b> VMCOSCSettingsBuilder<'a, 'b> { self.fbb_.push_slot::(VMCOSCSettings::VT_MIRROR_TRACKING, mirror_tracking, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VMCOSCSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VMCOSCSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); VMCOSCSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs index 707848b6..18f08df8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCAvatarMeasurementType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for VRCAvatarMeasurementType { type Output = VRCAvatarMeasurementType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs index cfc5c76a..90123849 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigRecommendedValues<'a> { type Inner = VRCConfigRecommendedValues<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -40,8 +40,8 @@ impl<'a> VRCConfigRecommendedValues<'a> { VRCConfigRecommendedValues { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args VRCConfigRecommendedValuesArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigRecommendedValuesBuilder::new(_fbb); @@ -171,11 +171,11 @@ impl<'a> Default for VRCConfigRecommendedValuesArgs<'a> { } } -pub struct VRCConfigRecommendedValuesBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct VRCConfigRecommendedValuesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> VRCConfigRecommendedValuesBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigRecommendedValuesBuilder<'a, 'b, A> { #[inline] pub fn add_legacy_mode(&mut self, legacy_mode: bool) { self.fbb_.push_slot::(VRCConfigRecommendedValues::VT_LEGACY_MODE, legacy_mode, false); @@ -213,7 +213,7 @@ impl<'a: 'b, 'b> VRCConfigRecommendedValuesBuilder<'a, 'b> { self.fbb_.push_slot::(VRCConfigRecommendedValues::VT_SHOULDER_WIDTH_COMPENSATION, shoulder_width_compensation, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigRecommendedValuesBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigRecommendedValuesBuilder<'a, 'b, A> { let start = _fbb.start_table(); VRCConfigRecommendedValuesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs index eb78c06b..28bec8bc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigStateChangeResponse<'a> { type Inner = VRCConfigStateChangeResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -38,8 +38,8 @@ impl<'a> VRCConfigStateChangeResponse<'a> { VRCConfigStateChangeResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args VRCConfigStateChangeResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigStateChangeResponseBuilder::new(_fbb); @@ -125,11 +125,11 @@ impl<'a> Default for VRCConfigStateChangeResponseArgs<'a> { } } -pub struct VRCConfigStateChangeResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct VRCConfigStateChangeResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> VRCConfigStateChangeResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigStateChangeResponseBuilder<'a, 'b, A> { #[inline] pub fn add_is_supported(&mut self, is_supported: bool) { self.fbb_.push_slot::(VRCConfigStateChangeResponse::VT_IS_SUPPORTED, is_supported, false); diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs index dc91b371..aa2cbead 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigStateRequest<'a> { type Inner = VRCConfigStateRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -31,8 +31,8 @@ impl<'a> VRCConfigStateRequest<'a> { VRCConfigStateRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, _args: &'args VRCConfigStateRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigStateRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for VRCConfigStateRequestArgs { } } -pub struct VRCConfigStateRequestBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct VRCConfigStateRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> VRCConfigStateRequestBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigStateRequestBuilder<'a, 'b, A> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigStateRequestBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigStateRequestBuilder<'a, 'b, A> { let start = _fbb.start_table(); VRCConfigStateRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs index 2627c578..0240cd0d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigValidity<'a> { type Inner = VRCConfigValidity<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -40,8 +40,8 @@ impl<'a> VRCConfigValidity<'a> { VRCConfigValidity { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args VRCConfigValidityArgs ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigValidityBuilder::new(_fbb); @@ -171,11 +171,11 @@ impl<'a> Default for VRCConfigValidityArgs { } } -pub struct VRCConfigValidityBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct VRCConfigValidityBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> VRCConfigValidityBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigValidityBuilder<'a, 'b, A> { #[inline] pub fn add_legacy_mode_ok(&mut self, legacy_mode_ok: bool) { self.fbb_.push_slot::(VRCConfigValidity::VT_LEGACY_MODE_OK, legacy_mode_ok, false); @@ -213,7 +213,7 @@ impl<'a: 'b, 'b> VRCConfigValidityBuilder<'a, 'b> { self.fbb_.push_slot::(VRCConfigValidity::VT_SHOULDER_WIDTH_COMPENSATION_OK, shoulder_width_compensation_ok, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigValidityBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigValidityBuilder<'a, 'b, A> { let start = _fbb.start_table(); VRCConfigValidityBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs index 2610c40a..9178dc47 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigValues<'a> { type Inner = VRCConfigValues<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -40,8 +40,8 @@ impl<'a> VRCConfigValues<'a> { VRCConfigValues { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args VRCConfigValuesArgs ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigValuesBuilder::new(_fbb); @@ -171,11 +171,11 @@ impl<'a> Default for VRCConfigValuesArgs { } } -pub struct VRCConfigValuesBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct VRCConfigValuesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> VRCConfigValuesBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigValuesBuilder<'a, 'b, A> { #[inline] pub fn add_legacy_mode(&mut self, legacy_mode: bool) { self.fbb_.push_slot::(VRCConfigValues::VT_LEGACY_MODE, legacy_mode, false); @@ -213,7 +213,7 @@ impl<'a: 'b, 'b> VRCConfigValuesBuilder<'a, 'b> { self.fbb_.push_slot::(VRCConfigValues::VT_SHOULDER_WIDTH_COMPENSATION, shoulder_width_compensation, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigValuesBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigValuesBuilder<'a, 'b, A> { let start = _fbb.start_table(); VRCConfigValuesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs index f7efc54e..f54bd9d6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCOSCSettings<'a> { type Inner = VRCOSCSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -35,8 +35,8 @@ impl<'a> VRCOSCSettings<'a> { VRCOSCSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args VRCOSCSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VRCOSCSettingsBuilder::new(_fbb); @@ -100,11 +100,11 @@ impl<'a> Default for VRCOSCSettingsArgs<'a> { } } -pub struct VRCOSCSettingsBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct VRCOSCSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> VRCOSCSettingsBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCOSCSettingsBuilder<'a, 'b, A> { #[inline] pub fn add_osc_settings(&mut self, osc_settings: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(VRCOSCSettings::VT_OSC_SETTINGS, osc_settings); @@ -118,7 +118,7 @@ impl<'a: 'b, 'b> VRCOSCSettingsBuilder<'a, 'b> { self.fbb_.push_slot::(VRCOSCSettings::VT_OSCQUERY_ENABLED, oscquery_enabled, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCOSCSettingsBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCOSCSettingsBuilder<'a, 'b, A> { let start = _fbb.start_table(); VRCOSCSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs index 7bd20071..6ecd5703 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs @@ -64,7 +64,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCSpineMode { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -73,7 +73,7 @@ impl flatbuffers::Push for VRCSpineMode { type Output = VRCSpineMode; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs index f6d89aa7..d49da564 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCTrackerModel { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for VRCTrackerModel { type Output = VRCTrackerModel; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs index 9279f93e..7cac5961 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs @@ -92,7 +92,7 @@ impl<'a> flatbuffers::Follow<'a> for WifiProvisioningStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = flatbuffers::read_scalar_at::(buf, loc); + let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; Self(b) } } @@ -101,7 +101,7 @@ impl flatbuffers::Push for WifiProvisioningStatus { type Output = WifiProvisioningStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - flatbuffers::emplace_scalar::(dst, self.0); + unsafe { flatbuffers::emplace_scalar::(dst, self.0); } } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs index 9621a878..64a1b5b0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for WifiProvisioningStatusResponse<'a> { type Inner = WifiProvisioningStatusResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: flatbuffers::Table::new(buf, loc) } + Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } } } @@ -32,8 +32,8 @@ impl<'a> WifiProvisioningStatusResponse<'a> { WifiProvisioningStatusResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, args: &'args WifiProvisioningStatusResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = WifiProvisioningStatusResponseBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for WifiProvisioningStatusResponseArgs { } } -pub struct WifiProvisioningStatusResponseBuilder<'a: 'b, 'b> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, +pub struct WifiProvisioningStatusResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b> WifiProvisioningStatusResponseBuilder<'a, 'b> { +impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> WifiProvisioningStatusResponseBuilder<'a, 'b, A> { #[inline] pub fn add_status(&mut self, status: WifiProvisioningStatus) { self.fbb_.push_slot::(WifiProvisioningStatusResponse::VT_STATUS, status, WifiProvisioningStatus::NONE); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> WifiProvisioningStatusResponseBuilder<'a, 'b> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> WifiProvisioningStatusResponseBuilder<'a, 'b, A> { let start = _fbb.start_table(); WifiProvisioningStatusResponseBuilder { fbb_: _fbb, diff --git a/protocol/typescript/src/all.ts b/protocol/typescript/src/all.ts new file mode 100644 index 00000000..9a862fe3 --- /dev/null +++ b/protocol/typescript/src/all.ts @@ -0,0 +1,5 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export * as solarxr_protocol from './solarxr-protocol.js'; diff --git a/protocol/typescript/src/solarxr-protocol.ts b/protocol/typescript/src/solarxr-protocol.ts new file mode 100644 index 00000000..43d18868 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol.ts @@ -0,0 +1,9 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { MessageBundle, MessageBundleT } from './solarxr-protocol/message-bundle.js'; +export * as data_feed from './solarxr-protocol/data-feed.js'; +export * as datatypes from './solarxr-protocol/datatypes.js'; +export * as pub_sub from './solarxr-protocol/pub-sub.js'; +export * as rpc from './solarxr-protocol/rpc.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed.ts b/protocol/typescript/src/solarxr-protocol/data-feed.ts new file mode 100644 index 00000000..0eed1896 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/data-feed.ts @@ -0,0 +1,17 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { Bone, BoneT } from './data-feed/bone.js'; +export { DataFeedConfig, DataFeedConfigT } from './data-feed/data-feed-config.js'; +export { DataFeedMessage } from './data-feed/data-feed-message.js'; +export { DataFeedMessageHeader, DataFeedMessageHeaderT } from './data-feed/data-feed-message-header.js'; +export { DataFeedUpdate, DataFeedUpdateT } from './data-feed/data-feed-update.js'; +export { PollDataFeed, PollDataFeedT } from './data-feed/poll-data-feed.js'; +export { StartDataFeed, StartDataFeedT } from './data-feed/start-data-feed.js'; +export * as device_data from './data-feed/device-data.js'; +export * as stay_aligned from './data-feed/stay-aligned.js'; +export * as tracker from './data-feed/tracker.js'; +export * as hardware_info from './datatypes/hardware-info.js'; +export * as math from './datatypes/math.js'; +export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts b/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts index 5f89f173..c26c21f4 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts index 043a8da5..8b7a8362 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DeviceDataMask, DeviceDataMaskT } from '../../solarxr-protocol/data-feed/device-data/device-data-mask.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts index b2094a6d..a74ebdb8 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts index e7236d71..efdaf755 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; import { DataFeedUpdate, DataFeedUpdateT } from '../../solarxr-protocol/data-feed/data-feed-update.js'; import { PollDataFeed, PollDataFeedT } from '../../solarxr-protocol/data-feed/poll-data-feed.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts index 5c2fd13c..aafe7394 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Bone, BoneT } from '../../solarxr-protocol/data-feed/bone.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts b/protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts new file mode 100644 index 00000000..60a6f99e --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts @@ -0,0 +1,6 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { DeviceData, DeviceDataT } from './device-data/device-data.js'; +export { DeviceDataMask, DeviceDataMaskT } from './device-data/device-data-mask.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts index 2f18870c..4a6678c4 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerDataMask, TrackerDataMaskT } from '../../../solarxr-protocol/data-feed/tracker/tracker-data-mask.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts index cf35b8de..97718720 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerData, TrackerDataT } from '../../../solarxr-protocol/data-feed/tracker/tracker-data.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts b/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts index f03b966f..9f68a1ee 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts b/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts index c1107acc..d5020db7 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts new file mode 100644 index 00000000..c59bdb5d --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts @@ -0,0 +1,6 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { StayAlignedPose, StayAlignedPoseT } from './stay-aligned/stay-aligned-pose.js'; +export { StayAlignedTracker, StayAlignedTrackerT } from './stay-aligned/stay-aligned-tracker.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts index 9ef4f1d4..5848c05e 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts index 915e20b2..c0b06e8b 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts new file mode 100644 index 00000000..d0c155df --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts @@ -0,0 +1,7 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { TrackerData, TrackerDataT } from './tracker/tracker-data.js'; +export { TrackerDataMask, TrackerDataMaskT } from './tracker/tracker-data-mask.js'; +export { TrackerInfo, TrackerInfoT } from './tracker/tracker-info.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts index e69a7991..e8c13c0e 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts index 41de3014..066c6d60 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { StayAlignedTracker, StayAlignedTrackerT } from '../../../solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.js'; @@ -198,7 +200,7 @@ static addRotationIdentityAdjusted(builder:flatbuffers.Builder, rotationIdentity } static addTps(builder:flatbuffers.Builder, tps:number) { - builder.addFieldInt16(11, tps, 0); + builder.addFieldInt16(11, tps, null); } static addRawMagneticVector(builder:flatbuffers.Builder, rawMagneticVectorOffset:flatbuffers.Offset) { diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts index fdc18316..1ccd161c 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes.ts b/protocol/typescript/src/solarxr-protocol/datatypes.ts new file mode 100644 index 00000000..2db371b6 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/datatypes.ts @@ -0,0 +1,27 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { BodyPart } from './datatypes/body-part.js'; +export { Bytes, BytesT } from './datatypes/bytes.js'; +export { DeviceId, DeviceIdT } from './datatypes/device-id.js'; +export { DeviceIdTable, DeviceIdTableT } from './datatypes/device-id-table.js'; +export { FilteringType } from './datatypes/filtering-type.js'; +export { FirmwareErrorCode } from './datatypes/firmware-error-code.js'; +export { HzF32, HzF32T } from './datatypes/hz-f32.js'; +export { Ipv4Address, Ipv4AddressT } from './datatypes/ipv4-address.js'; +export { LogData, LogDataT } from './datatypes/log-data.js'; +export { MagnetometerStatus } from './datatypes/magnetometer-status.js'; +export { RestCalibrationStatus } from './datatypes/rest-calibration-status.js'; +export { StringTable, StringTableT } from './datatypes/string-table.js'; +export { Temperature, TemperatureT } from './datatypes/temperature.js'; +export { TrackerId, TrackerIdT } from './datatypes/tracker-id.js'; +export { TrackerRole } from './datatypes/tracker-role.js'; +export { TrackerStatus } from './datatypes/tracker-status.js'; +export { TransactionId, TransactionIdT } from './datatypes/transaction-id.js'; +export * as device_data from './data-feed/device-data.js'; +export * as stay_aligned from './data-feed/stay-aligned.js'; +export * as tracker from './data-feed/tracker.js'; +export * as hardware_info from './datatypes/hardware-info.js'; +export * as math from './datatypes/math.js'; +export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts index 86d40a25..c1490d1f 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + /** * Different parts of the body. Maps to each possible non-tracker bone in the skeleton. * These are *NOT* the trackers. diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts b/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts index 0e6eb939..1745420b 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts b/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts index e036d3b0..85e3ed34 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DeviceId, DeviceIdT } from '../../solarxr-protocol/datatypes/device-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts b/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts index f39f2cbe..b9b38442 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts index 06d506b8..3f6083d6 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + /** * Used for filtering tracker rotations in software */ diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts b/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts index bacf1a51..7b196275 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + /** * A list of error codes for error conditions on the device */ diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts new file mode 100644 index 00000000..ee960a17 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts @@ -0,0 +1,12 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { BoardType } from './hardware-info/board-type.js'; +export { FirmwareStatusMask, FirmwareStatusMaskT } from './hardware-info/firmware-status-mask.js'; +export { HardwareAddress, HardwareAddressT } from './hardware-info/hardware-address.js'; +export { HardwareInfo, HardwareInfoT } from './hardware-info/hardware-info.js'; +export { HardwareStatus, HardwareStatusT } from './hardware-info/hardware-status.js'; +export { ImuType } from './hardware-info/imu-type.js'; +export { McuType } from './hardware-info/mcu-type.js'; +export { TrackerDataType } from './hardware-info/tracker-data-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts index fb4786b9..e4c73f96 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum BoardType { UNKNOWN = 0, SLIMEVR_LEGACY = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts index 88ae7de2..65f6e974 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts index 0bcbf4cf..989ba295 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -28,7 +30,7 @@ static sizeOf():number { static createHardwareAddress(builder:flatbuffers.Builder, addr: bigint):flatbuffers.Offset { builder.prep(8, 8); - builder.writeInt64(addr); + builder.writeInt64(BigInt(addr ?? 0)); return builder.offset(); } diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts index b7066f4a..ad36e4ce 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Ipv4Address, Ipv4AddressT } from '../../../solarxr-protocol/datatypes/ipv4-address.js'; @@ -180,7 +182,7 @@ static addHardwareIdentifier(builder:flatbuffers.Builder, hardwareIdentifierOffs } static addNetworkProtocolVersion(builder:flatbuffers.Builder, networkProtocolVersion:number) { - builder.addFieldInt16(11, networkProtocolVersion, 0); + builder.addFieldInt16(11, networkProtocolVersion, null); } static endHardwareInfo(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts index 0890b859..744173bf 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { FirmwareErrorCode } from '../../../solarxr-protocol/datatypes/firmware-error-code.js'; @@ -73,27 +75,27 @@ static startHardwareStatus(builder:flatbuffers.Builder) { } static addErrorStatus(builder:flatbuffers.Builder, errorStatus:FirmwareErrorCode) { - builder.addFieldInt8(0, errorStatus, 0); + builder.addFieldInt8(0, errorStatus, null); } static addPing(builder:flatbuffers.Builder, ping:number) { - builder.addFieldInt16(2, ping, 0); + builder.addFieldInt16(2, ping, null); } static addRssi(builder:flatbuffers.Builder, rssi:number) { - builder.addFieldInt16(3, rssi, 0); + builder.addFieldInt16(3, rssi, null); } static addMcuTemp(builder:flatbuffers.Builder, mcuTemp:number) { - builder.addFieldFloat32(4, mcuTemp, 0); + builder.addFieldFloat32(4, mcuTemp, null); } static addBatteryVoltage(builder:flatbuffers.Builder, batteryVoltage:number) { - builder.addFieldFloat32(5, batteryVoltage, 0); + builder.addFieldFloat32(5, batteryVoltage, null); } static addBatteryPctEstimate(builder:flatbuffers.Builder, batteryPctEstimate:number) { - builder.addFieldInt8(6, batteryPctEstimate, 0); + builder.addFieldInt8(6, batteryPctEstimate, null); } static addLogData(builder:flatbuffers.Builder, logDataOffset:flatbuffers.Offset) { diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts index 496e80b3..f738c8ad 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum ImuType { Other = 0, MPU9250 = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts index 48389c65..e0cf2902 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum McuType { Other = 0, ESP8266 = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts index 7bf934ad..1542c6af 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + /** * What kind of data the tracker supports.The received data gets computed into a Quaternion rotation in any case. */ diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts index f3432e1c..24b20368 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts b/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts index bf11110e..44b541e2 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts b/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts index 213172aa..5128589f 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts index 4d8dbe4d..c80e25f4 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum MagnetometerStatus { NOT_SUPPORTED = 0, DISABLED = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/math.ts b/protocol/typescript/src/solarxr-protocol/datatypes/math.ts new file mode 100644 index 00000000..13c9800f --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/datatypes/math.ts @@ -0,0 +1,6 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { Quat, QuatT } from './math/quat.js'; +export { Vec3f, Vec3fT } from './math/vec3f.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts b/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts index 7f8677ce..d6c78f1a 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts b/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts index 56a84948..4996323d 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts index 32a654d7..1d4bbca6 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum RestCalibrationStatus { NOT_SUPPORTED = 0, NOT_CALIBRATED = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts b/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts index e6548a07..e10c004d 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts b/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts index 456f5306..c8b4872e 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts index c662e32d..4b139a80 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DeviceId, DeviceIdT } from '../../solarxr-protocol/datatypes/device-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts index 950178dd..fbef54b2 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + /** * Possible tracker roles * They're not perfect match for SteamVR tracker roles, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts index a283b659..ce0587ec 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum TrackerStatus { NONE = 0, DISCONNECTED = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts b/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts index 77c9be33..281f41a9 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/message-bundle.ts b/protocol/typescript/src/solarxr-protocol/message-bundle.ts index 3eb8c51c..e1700dec 100644 --- a/protocol/typescript/src/solarxr-protocol/message-bundle.ts +++ b/protocol/typescript/src/solarxr-protocol/message-bundle.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DataFeedMessageHeader, DataFeedMessageHeaderT } from '../solarxr-protocol/data-feed/data-feed-message-header.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub.ts b/protocol/typescript/src/solarxr-protocol/pub-sub.ts new file mode 100644 index 00000000..52190da8 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/pub-sub.ts @@ -0,0 +1,21 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { KeyValues, KeyValuesT } from './pub-sub/key-values.js'; +export { Message, MessageT } from './pub-sub/message.js'; +export { Payload } from './pub-sub/payload.js'; +export { PubSubHeader, PubSubHeaderT } from './pub-sub/pub-sub-header.js'; +export { PubSubUnion } from './pub-sub/pub-sub-union.js'; +export { SubscriptionRequest, SubscriptionRequestT } from './pub-sub/subscription-request.js'; +export { Topic } from './pub-sub/topic.js'; +export { TopicHandle, TopicHandleT } from './pub-sub/topic-handle.js'; +export { TopicHandleRequest, TopicHandleRequestT } from './pub-sub/topic-handle-request.js'; +export { TopicId, TopicIdT } from './pub-sub/topic-id.js'; +export { TopicMapping, TopicMappingT } from './pub-sub/topic-mapping.js'; +export * as device_data from './data-feed/device-data.js'; +export * as stay_aligned from './data-feed/stay-aligned.js'; +export * as tracker from './data-feed/tracker.js'; +export * as hardware_info from './datatypes/hardware-info.js'; +export * as math from './datatypes/math.js'; +export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts index 62457ada..59092535 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts index 39356746..d938d1ea 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Bytes, BytesT } from '../../solarxr-protocol/datatypes/bytes.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts index 621e9125..ce4017d7 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { Bytes, BytesT } from '../../solarxr-protocol/datatypes/bytes.js'; import { StringTable, StringTableT } from '../../solarxr-protocol/datatypes/string-table.js'; import { KeyValues, KeyValuesT } from '../../solarxr-protocol/pub-sub/key-values.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts index c5fc22ea..81a27ec0 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Message, MessageT } from '../../solarxr-protocol/pub-sub/message.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts index 03214a95..85401dd2 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { Message, MessageT } from '../../solarxr-protocol/pub-sub/message.js'; import { SubscriptionRequest, SubscriptionRequestT } from '../../solarxr-protocol/pub-sub/subscription-request.js'; import { TopicHandleRequest, TopicHandleRequestT } from '../../solarxr-protocol/pub-sub/topic-handle-request.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts index 2ad82e78..0e21dce7 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { Topic, unionToTopic, unionListToTopic } from '../../solarxr-protocol/pub-sub/topic.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts index 5d1bfaa7..c00c169a 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TopicId, TopicIdT } from '../../solarxr-protocol/pub-sub/topic-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts index 2044b5c2..10c79ef8 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts index fda5d7b9..78a876fb 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts index 6d7769f4..dc8ea663 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TopicHandle, TopicHandleT } from '../../solarxr-protocol/pub-sub/topic-handle.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts index 697121e9..99edf708 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { TopicHandle, TopicHandleT } from '../../solarxr-protocol/pub-sub/topic-handle.js'; import { TopicId, TopicIdT } from '../../solarxr-protocol/pub-sub/topic-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc.ts b/protocol/typescript/src/solarxr-protocol/rpc.ts new file mode 100644 index 00000000..7aeb5f75 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/rpc.ts @@ -0,0 +1,125 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { AddUnknownDeviceRequest, AddUnknownDeviceRequestT } from './rpc/add-unknown-device-request.js'; +export { ArmsMountingResetMode } from './rpc/arms-mounting-reset-mode.js'; +export { AssignTrackerRequest, AssignTrackerRequestT } from './rpc/assign-tracker-request.js'; +export { AutoBoneApplyRequest, AutoBoneApplyRequestT } from './rpc/auto-bone-apply-request.js'; +export { AutoBoneCancelRecordingRequest, AutoBoneCancelRecordingRequestT } from './rpc/auto-bone-cancel-recording-request.js'; +export { AutoBoneEpochResponse, AutoBoneEpochResponseT } from './rpc/auto-bone-epoch-response.js'; +export { AutoBoneProcessRequest, AutoBoneProcessRequestT } from './rpc/auto-bone-process-request.js'; +export { AutoBoneProcessStatusResponse, AutoBoneProcessStatusResponseT } from './rpc/auto-bone-process-status-response.js'; +export { AutoBoneProcessType } from './rpc/auto-bone-process-type.js'; +export { AutoBoneSettings, AutoBoneSettingsT } from './rpc/auto-bone-settings.js'; +export { AutoBoneStopRecordingRequest, AutoBoneStopRecordingRequestT } from './rpc/auto-bone-stop-recording-request.js'; +export { ChangeMagToggleRequest, ChangeMagToggleRequestT } from './rpc/change-mag-toggle-request.js'; +export { ChangeSettingsRequest, ChangeSettingsRequestT } from './rpc/change-settings-request.js'; +export { ChangeSkeletonConfigRequest, ChangeSkeletonConfigRequestT } from './rpc/change-skeleton-config-request.js'; +export { ClearDriftCompensationRequest, ClearDriftCompensationRequestT } from './rpc/clear-drift-compensation-request.js'; +export { ClearMountingResetRequest, ClearMountingResetRequestT } from './rpc/clear-mounting-reset-request.js'; +export { CloseSerialRequest, CloseSerialRequestT } from './rpc/close-serial-request.js'; +export { ComputerDirectory } from './rpc/computer-directory.js'; +export { DetectStayAlignedRelaxedPoseRequest, DetectStayAlignedRelaxedPoseRequestT } from './rpc/detect-stay-aligned-relaxed-pose-request.js'; +export { DriftCompensationSettings, DriftCompensationSettingsT } from './rpc/drift-compensation-settings.js'; +export { EnableStayAlignedRequest, EnableStayAlignedRequestT } from './rpc/enable-stay-aligned-request.js'; +export { FilteringSettings, FilteringSettingsT } from './rpc/filtering-settings.js'; +export { FirmwarePart, FirmwarePartT } from './rpc/firmware-part.js'; +export { FirmwareUpdateDeviceId } from './rpc/firmware-update-device-id.js'; +export { FirmwareUpdateMethod } from './rpc/firmware-update-method.js'; +export { FirmwareUpdateRequest, FirmwareUpdateRequestT } from './rpc/firmware-update-request.js'; +export { FirmwareUpdateStatus } from './rpc/firmware-update-status.js'; +export { FirmwareUpdateStatusResponse, FirmwareUpdateStatusResponseT } from './rpc/firmware-update-status-response.js'; +export { FirmwareUpdateStopQueuesRequest, FirmwareUpdateStopQueuesRequestT } from './rpc/firmware-update-stop-queues-request.js'; +export { ForgetDeviceRequest, ForgetDeviceRequestT } from './rpc/forget-device-request.js'; +export { HeartbeatRequest, HeartbeatRequestT } from './rpc/heartbeat-request.js'; +export { HeartbeatResponse, HeartbeatResponseT } from './rpc/heartbeat-response.js'; +export { HeightRequest, HeightRequestT } from './rpc/height-request.js'; +export { HeightResponse, HeightResponseT } from './rpc/height-response.js'; +export { LegTweaksTmpChange, LegTweaksTmpChangeT } from './rpc/leg-tweaks-tmp-change.js'; +export { LegTweaksTmpClear, LegTweaksTmpClearT } from './rpc/leg-tweaks-tmp-clear.js'; +export { MagToggleRequest, MagToggleRequestT } from './rpc/mag-toggle-request.js'; +export { MagToggleResponse, MagToggleResponseT } from './rpc/mag-toggle-response.js'; +export { NewSerialDeviceResponse, NewSerialDeviceResponseT } from './rpc/new-serial-device-response.js'; +export { OSCRouterSettings, OSCRouterSettingsT } from './rpc/oscrouter-settings.js'; +export { OSCSettings, OSCSettingsT } from './rpc/oscsettings.js'; +export { OSCTrackersSetting, OSCTrackersSettingT } from './rpc/osctrackers-setting.js'; +export { OTAFirmwareUpdate, OTAFirmwareUpdateT } from './rpc/otafirmware-update.js'; +export { OpenSerialRequest, OpenSerialRequestT } from './rpc/open-serial-request.js'; +export { OverlayDisplayModeChangeRequest, OverlayDisplayModeChangeRequestT } from './rpc/overlay-display-mode-change-request.js'; +export { OverlayDisplayModeRequest, OverlayDisplayModeRequestT } from './rpc/overlay-display-mode-request.js'; +export { OverlayDisplayModeResponse, OverlayDisplayModeResponseT } from './rpc/overlay-display-mode-response.js'; +export { RecordBVHRequest, RecordBVHRequestT } from './rpc/record-bvhrequest.js'; +export { RecordBVHStatus, RecordBVHStatusT } from './rpc/record-bvhstatus.js'; +export { RecordBVHStatusRequest, RecordBVHStatusRequestT } from './rpc/record-bvhstatus-request.js'; +export { ResetRequest, ResetRequestT } from './rpc/reset-request.js'; +export { ResetResponse, ResetResponseT } from './rpc/reset-response.js'; +export { ResetStatus } from './rpc/reset-status.js'; +export { ResetStayAlignedRelaxedPoseRequest, ResetStayAlignedRelaxedPoseRequestT } from './rpc/reset-stay-aligned-relaxed-pose-request.js'; +export { ResetType } from './rpc/reset-type.js'; +export { ResetsSettings, ResetsSettingsT } from './rpc/resets-settings.js'; +export { RpcMessage } from './rpc/rpc-message.js'; +export { RpcMessageHeader, RpcMessageHeaderT } from './rpc/rpc-message-header.js'; +export { SaveFileNotification, SaveFileNotificationT } from './rpc/save-file-notification.js'; +export { SerialDevice, SerialDeviceT } from './rpc/serial-device.js'; +export { SerialDevicePort, SerialDevicePortT } from './rpc/serial-device-port.js'; +export { SerialDevicesRequest, SerialDevicesRequestT } from './rpc/serial-devices-request.js'; +export { SerialDevicesResponse, SerialDevicesResponseT } from './rpc/serial-devices-response.js'; +export { SerialFirmwareUpdate, SerialFirmwareUpdateT } from './rpc/serial-firmware-update.js'; +export { SerialTrackerCustomCommandRequest, SerialTrackerCustomCommandRequestT } from './rpc/serial-tracker-custom-command-request.js'; +export { SerialTrackerFactoryResetRequest, SerialTrackerFactoryResetRequestT } from './rpc/serial-tracker-factory-reset-request.js'; +export { SerialTrackerGetInfoRequest, SerialTrackerGetInfoRequestT } from './rpc/serial-tracker-get-info-request.js'; +export { SerialTrackerGetWifiScanRequest, SerialTrackerGetWifiScanRequestT } from './rpc/serial-tracker-get-wifi-scan-request.js'; +export { SerialTrackerRebootRequest, SerialTrackerRebootRequestT } from './rpc/serial-tracker-reboot-request.js'; +export { SerialUpdateResponse, SerialUpdateResponseT } from './rpc/serial-update-response.js'; +export { ServerInfosRequest, ServerInfosRequestT } from './rpc/server-infos-request.js'; +export { ServerInfosResponse, ServerInfosResponseT } from './rpc/server-infos-response.js'; +export { SetPauseTrackingRequest, SetPauseTrackingRequestT } from './rpc/set-pause-tracking-request.js'; +export { SetWifiRequest, SetWifiRequestT } from './rpc/set-wifi-request.js'; +export { SettingsRequest, SettingsRequestT } from './rpc/settings-request.js'; +export { SettingsResetRequest, SettingsResetRequestT } from './rpc/settings-reset-request.js'; +export { SettingsResponse, SettingsResponseT } from './rpc/settings-response.js'; +export { SkeletonBone } from './rpc/skeleton-bone.js'; +export { SkeletonConfigRequest, SkeletonConfigRequestT } from './rpc/skeleton-config-request.js'; +export { SkeletonConfigResponse, SkeletonConfigResponseT } from './rpc/skeleton-config-response.js'; +export { SkeletonPart, SkeletonPartT } from './rpc/skeleton-part.js'; +export { SkeletonResetAllRequest, SkeletonResetAllRequestT } from './rpc/skeleton-reset-all-request.js'; +export { StartWifiProvisioningRequest, StartWifiProvisioningRequestT } from './rpc/start-wifi-provisioning-request.js'; +export { StatusData } from './rpc/status-data.js'; +export { StatusMessage, StatusMessageT } from './rpc/status-message.js'; +export { StatusPublicNetwork, StatusPublicNetworkT } from './rpc/status-public-network.js'; +export { StatusSteamVRDisconnected, StatusSteamVRDisconnectedT } from './rpc/status-steam-vrdisconnected.js'; +export { StatusSystemFixed, StatusSystemFixedT } from './rpc/status-system-fixed.js'; +export { StatusSystemRequest, StatusSystemRequestT } from './rpc/status-system-request.js'; +export { StatusSystemResponse, StatusSystemResponseT } from './rpc/status-system-response.js'; +export { StatusSystemUpdate, StatusSystemUpdateT } from './rpc/status-system-update.js'; +export { StatusTrackerError, StatusTrackerErrorT } from './rpc/status-tracker-error.js'; +export { StatusTrackerReset, StatusTrackerResetT } from './rpc/status-tracker-reset.js'; +export { StatusUnassignedHMD, StatusUnassignedHMDT } from './rpc/status-unassigned-hmd.js'; +export { StayAlignedRelaxedPose } from './rpc/stay-aligned-relaxed-pose.js'; +export { StayAlignedSettings, StayAlignedSettingsT } from './rpc/stay-aligned-settings.js'; +export { SteamVRTrackersSetting, SteamVRTrackersSettingT } from './rpc/steam-vrtrackers-setting.js'; +export { StopWifiProvisioningRequest, StopWifiProvisioningRequestT } from './rpc/stop-wifi-provisioning-request.js'; +export { TapDetectionSettings, TapDetectionSettingsT } from './rpc/tap-detection-settings.js'; +export { TapDetectionSetupNotification, TapDetectionSetupNotificationT } from './rpc/tap-detection-setup-notification.js'; +export { TrackingPauseStateRequest, TrackingPauseStateRequestT } from './rpc/tracking-pause-state-request.js'; +export { TrackingPauseStateResponse, TrackingPauseStateResponseT } from './rpc/tracking-pause-state-response.js'; +export { UnknownDeviceHandshakeNotification, UnknownDeviceHandshakeNotificationT } from './rpc/unknown-device-handshake-notification.js'; +export { VMCOSCSettings, VMCOSCSettingsT } from './rpc/vmcoscsettings.js'; +export { VRCAvatarMeasurementType } from './rpc/vrcavatar-measurement-type.js'; +export { VRCConfigRecommendedValues, VRCConfigRecommendedValuesT } from './rpc/vrcconfig-recommended-values.js'; +export { VRCConfigStateChangeResponse, VRCConfigStateChangeResponseT } from './rpc/vrcconfig-state-change-response.js'; +export { VRCConfigStateRequest, VRCConfigStateRequestT } from './rpc/vrcconfig-state-request.js'; +export { VRCConfigValidity, VRCConfigValidityT } from './rpc/vrcconfig-validity.js'; +export { VRCConfigValues, VRCConfigValuesT } from './rpc/vrcconfig-values.js'; +export { VRCOSCSettings, VRCOSCSettingsT } from './rpc/vrcoscsettings.js'; +export { VRCSpineMode } from './rpc/vrcspine-mode.js'; +export { VRCTrackerModel } from './rpc/vrctracker-model.js'; +export { WifiProvisioningStatus } from './rpc/wifi-provisioning-status.js'; +export { WifiProvisioningStatusResponse, WifiProvisioningStatusResponseT } from './rpc/wifi-provisioning-status-response.js'; +export * as device_data from './data-feed/device-data.js'; +export * as stay_aligned from './data-feed/stay-aligned.js'; +export * as tracker from './data-feed/tracker.js'; +export * as hardware_info from './datatypes/hardware-info.js'; +export * as math from './datatypes/math.js'; +export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts index a8b69dbb..94220f73 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts b/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts index a0ad1407..9c5a37df 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum ArmsMountingResetMode { /** * Upper arm going back and forearm going forward diff --git a/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts index 692e050f..8fa1ae70 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts index 7e428fef..fa5439c2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts index 7b5cf258..bd4e8c26 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts index 24e8ff43..6d476756 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { SkeletonPart, SkeletonPartT } from '../../solarxr-protocol/rpc/skeleton-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts index 85e87432..4e6656fd 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { AutoBoneProcessType } from '../../solarxr-protocol/rpc/auto-bone-process-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts index 5b5b10b2..f4cb8bd3 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { AutoBoneProcessType } from '../../solarxr-protocol/rpc/auto-bone-process-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts index 8c87dbeb..37217044 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum AutoBoneProcessType { NONE = 0, RECORD = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts index 4d697bbe..885a34af 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -140,91 +142,91 @@ static startAutoBoneSettings(builder:flatbuffers.Builder) { } static addCursorIncrement(builder:flatbuffers.Builder, cursorIncrement:number) { - builder.addFieldInt32(0, cursorIncrement, 0); + builder.addFieldInt32(0, cursorIncrement, null); } static addMinDataDistance(builder:flatbuffers.Builder, minDataDistance:number) { - builder.addFieldInt32(1, minDataDistance, 0); + builder.addFieldInt32(1, minDataDistance, null); } static addMaxDataDistance(builder:flatbuffers.Builder, maxDataDistance:number) { - builder.addFieldInt32(2, maxDataDistance, 0); + builder.addFieldInt32(2, maxDataDistance, null); } static addNumEpochs(builder:flatbuffers.Builder, numEpochs:number) { - builder.addFieldInt32(3, numEpochs, 0); + builder.addFieldInt32(3, numEpochs, null); } static addPrintEveryNumEpochs(builder:flatbuffers.Builder, printEveryNumEpochs:number) { - builder.addFieldInt32(4, printEveryNumEpochs, 0); + builder.addFieldInt32(4, printEveryNumEpochs, null); } static addInitialAdjustRate(builder:flatbuffers.Builder, initialAdjustRate:number) { - builder.addFieldFloat32(5, initialAdjustRate, 0); + builder.addFieldFloat32(5, initialAdjustRate, null); } static addAdjustRateDecay(builder:flatbuffers.Builder, adjustRateDecay:number) { - builder.addFieldFloat32(6, adjustRateDecay, 0); + builder.addFieldFloat32(6, adjustRateDecay, null); } static addSlideErrorFactor(builder:flatbuffers.Builder, slideErrorFactor:number) { - builder.addFieldFloat32(7, slideErrorFactor, 0); + builder.addFieldFloat32(7, slideErrorFactor, null); } static addOffsetSlideErrorFactor(builder:flatbuffers.Builder, offsetSlideErrorFactor:number) { - builder.addFieldFloat32(8, offsetSlideErrorFactor, 0); + builder.addFieldFloat32(8, offsetSlideErrorFactor, null); } static addFootHeightOffsetErrorFactor(builder:flatbuffers.Builder, footHeightOffsetErrorFactor:number) { - builder.addFieldFloat32(9, footHeightOffsetErrorFactor, 0); + builder.addFieldFloat32(9, footHeightOffsetErrorFactor, null); } static addBodyProportionErrorFactor(builder:flatbuffers.Builder, bodyProportionErrorFactor:number) { - builder.addFieldFloat32(10, bodyProportionErrorFactor, 0); + builder.addFieldFloat32(10, bodyProportionErrorFactor, null); } static addHeightErrorFactor(builder:flatbuffers.Builder, heightErrorFactor:number) { - builder.addFieldFloat32(11, heightErrorFactor, 0); + builder.addFieldFloat32(11, heightErrorFactor, null); } static addPositionErrorFactor(builder:flatbuffers.Builder, positionErrorFactor:number) { - builder.addFieldFloat32(12, positionErrorFactor, 0); + builder.addFieldFloat32(12, positionErrorFactor, null); } static addPositionOffsetErrorFactor(builder:flatbuffers.Builder, positionOffsetErrorFactor:number) { - builder.addFieldFloat32(13, positionOffsetErrorFactor, 0); + builder.addFieldFloat32(13, positionOffsetErrorFactor, null); } static addCalcInitError(builder:flatbuffers.Builder, calcInitError:boolean) { - builder.addFieldInt8(14, +calcInitError, 0); + builder.addFieldInt8(14, +calcInitError, null); } static addRandomizeFrameOrder(builder:flatbuffers.Builder, randomizeFrameOrder:boolean) { - builder.addFieldInt8(15, +randomizeFrameOrder, 0); + builder.addFieldInt8(15, +randomizeFrameOrder, null); } static addScaleEachStep(builder:flatbuffers.Builder, scaleEachStep:boolean) { - builder.addFieldInt8(16, +scaleEachStep, 0); + builder.addFieldInt8(16, +scaleEachStep, null); } static addSampleCount(builder:flatbuffers.Builder, sampleCount:number) { - builder.addFieldInt32(17, sampleCount, 0); + builder.addFieldInt32(17, sampleCount, null); } static addSampleRateMs(builder:flatbuffers.Builder, sampleRateMs:bigint) { - builder.addFieldInt64(18, sampleRateMs, BigInt(0)); + builder.addFieldInt64(18, sampleRateMs, null); } static addSaveRecordings(builder:flatbuffers.Builder, saveRecordings:boolean) { - builder.addFieldInt8(19, +saveRecordings, 0); + builder.addFieldInt8(19, +saveRecordings, null); } static addUseSkeletonHeight(builder:flatbuffers.Builder, useSkeletonHeight:boolean) { - builder.addFieldInt8(20, +useSkeletonHeight, 0); + builder.addFieldInt8(20, +useSkeletonHeight, null); } static addRandSeed(builder:flatbuffers.Builder, randSeed:bigint) { - builder.addFieldInt64(21, randSeed, BigInt(0)); + builder.addFieldInt64(21, randSeed, null); } static endAutoBoneSettings(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts index 86105b52..0134fbf4 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts index 09318a53..11f5350e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts index e7ca7570..c2758d54 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { AutoBoneSettings, AutoBoneSettingsT } from '../../solarxr-protocol/rpc/auto-bone-settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts index d46a8d5b..494e2a7c 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { SkeletonBone } from '../../solarxr-protocol/rpc/skeleton-bone.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts index dd4f7a1c..eea34d9d 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts index a05f3c91..0915d1bf 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts index 9a9843d8..022d5545 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts b/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts index bdd6295a..4ae58a05 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + /** * Common folders often used in computers for storing files */ diff --git a/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts index fc57920e..cce5089b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { StayAlignedRelaxedPose } from '../../solarxr-protocol/rpc/stay-aligned-relaxed-pose.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts index 38efd7ed..b8cbee25 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts index 21a9b82e..5d1e3027 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts index e7705646..b167e154 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { FilteringType } from '../../solarxr-protocol/datatypes/filtering-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts index deb5a2ea..3129462e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts index b6f966c1..bdc73aa1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { DeviceIdTable, DeviceIdTableT } from '../../solarxr-protocol/datatypes/device-id-table.js'; import { SerialDevicePort, SerialDevicePortT } from '../../solarxr-protocol/rpc/serial-device-port.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts index 6640ce30..f8225aeb 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { OTAFirmwareUpdate, OTAFirmwareUpdateT } from '../../solarxr-protocol/rpc/otafirmware-update.js'; import { SerialFirmwareUpdate, SerialFirmwareUpdateT } from '../../solarxr-protocol/rpc/serial-firmware-update.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts index a9bd614e..407a7cc5 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { FirmwareUpdateMethod, unionToFirmwareUpdateMethod, unionListToFirmwareUpdateMethod } from '../../solarxr-protocol/rpc/firmware-update-method.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts index 8f9813d3..a5c48785 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DeviceIdTable, DeviceIdTableT } from '../../solarxr-protocol/datatypes/device-id-table.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts index d5cd2502..ef7b4cbb 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum FirmwareUpdateStatus { /** * The server is downloading the firmware diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts index 72807daa..de457c52 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts index ff33163a..e29c4c63 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts index b0b5678a..3e0fdf2e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts index 0e49be79..3bee133e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts index b38fef46..01daefb0 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts index e490b57b..9fdb44f8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts index 67415c90..97c933f9 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -51,19 +53,19 @@ static startLegTweaksTmpChange(builder:flatbuffers.Builder) { } static addFloorClip(builder:flatbuffers.Builder, floorClip:boolean) { - builder.addFieldInt8(0, +floorClip, 0); + builder.addFieldInt8(0, +floorClip, null); } static addSkatingCorrection(builder:flatbuffers.Builder, skatingCorrection:boolean) { - builder.addFieldInt8(1, +skatingCorrection, 0); + builder.addFieldInt8(1, +skatingCorrection, null); } static addToeSnap(builder:flatbuffers.Builder, toeSnap:boolean) { - builder.addFieldInt8(2, +toeSnap, 0); + builder.addFieldInt8(2, +toeSnap, null); } static addFootPlant(builder:flatbuffers.Builder, footPlant:boolean) { - builder.addFieldInt8(3, +footPlant, 0); + builder.addFieldInt8(3, +footPlant, null); } static endLegTweaksTmpChange(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts index bb4b87c2..10bc0c52 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts index 5082ef11..a9d46437 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts index 381b7487..9f00d171 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts index c3c7381e..fd983f14 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { SerialDevice, SerialDeviceT } from '../../solarxr-protocol/rpc/serial-device.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts index 1b3ceb47..f4be0ec7 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts index e6da3aa2..7e7a9236 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { OSCSettings, OSCSettingsT } from '../../solarxr-protocol/rpc/oscsettings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts b/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts index 019e6ec8..4f9005ab 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts b/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts index 3519d494..2ee848e5 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts b/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts index d80bec03..694dd98a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { DeviceId, DeviceIdT } from '../../solarxr-protocol/datatypes/device-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts index cac228e1..fd9c985b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -40,11 +42,11 @@ static startOverlayDisplayModeChangeRequest(builder:flatbuffers.Builder) { } static addIsVisible(builder:flatbuffers.Builder, isVisible:boolean) { - builder.addFieldInt8(0, +isVisible, 0); + builder.addFieldInt8(0, +isVisible, null); } static addIsMirrored(builder:flatbuffers.Builder, isMirrored:boolean) { - builder.addFieldInt8(1, +isMirrored, 0); + builder.addFieldInt8(1, +isMirrored, null); } static endOverlayDisplayModeChangeRequest(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts index 79e8d215..d6f17a36 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts index 2066c1b1..ca1410e1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts index c48e5761..e463f86b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts index e8b50c40..1dbf3589 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts index 0627d1ea..b7f1cdd7 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts index 29235882..b6cfeb75 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; @@ -34,7 +36,7 @@ resetType():ResetType { */ bodyParts(index: number):BodyPart|null { const offset = this.bb!.__offset(this.bb_pos, 6); - return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0; + return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : null; } bodyPartsLength():number { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts index 0349ed65..3d06eb44 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts index 405fed9c..12e927b2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum ResetStatus { STARTED = 0, FINISHED = 1 diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts index c920dce0..46d67dfe 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { StayAlignedRelaxedPose } from '../../solarxr-protocol/rpc/stay-aligned-relaxed-pose.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts index 61c35e2d..608f9eb1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum ResetType { Yaw = 0, Full = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts index 804f7930..9b862455 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { ArmsMountingResetMode } from '../../solarxr-protocol/rpc/arms-mounting-reset-mode.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts index 45268429..7d20ce3a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TransactionId, TransactionIdT } from '../../solarxr-protocol/datatypes/transaction-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts index 76d9891b..8dee735e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { AddUnknownDeviceRequest, AddUnknownDeviceRequestT } from '../../solarxr-protocol/rpc/add-unknown-device-request.js'; import { AssignTrackerRequest, AssignTrackerRequestT } from '../../solarxr-protocol/rpc/assign-tracker-request.js'; import { AutoBoneApplyRequest, AutoBoneApplyRequestT } from '../../solarxr-protocol/rpc/auto-bone-apply-request.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts b/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts index 619e524e..18ca63ad 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { ComputerDirectory } from '../../solarxr-protocol/rpc/computer-directory.js'; @@ -111,7 +113,7 @@ static addFileExtension(builder:flatbuffers.Builder, fileExtensionOffset:flatbuf } static addExpectedDir(builder:flatbuffers.Builder, expectedDir:ComputerDirectory) { - builder.addFieldInt8(3, expectedDir, 0); + builder.addFieldInt8(3, expectedDir, null); } static addExpectedFilename(builder:flatbuffers.Builder, expectedFilenameOffset:flatbuffers.Offset) { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts index 064bb413..c3384c05 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts index 424dc868..4ead61d2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts index 8aac40a8..d8d343e6 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts index 97809aab..09016833 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { SerialDevice, SerialDeviceT } from '../../solarxr-protocol/rpc/serial-device.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts index af282738..ebb60669 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { FirmwarePart, FirmwarePartT } from '../../solarxr-protocol/rpc/firmware-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts index 22d7ea02..59eddf19 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts index 3139f801..4481033a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts index 420c0687..d839f850 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts index f9e1775d..a0ce7cf7 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts index 5ee5bc00..0513e1d7 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts index 23b9b5ad..75d43925 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts index c5a8c88d..d0e2a9ba 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts index f07ebf26..1d34babf 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts index 7bc2cbcf..b6b06c88 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts index d6ee4d93..bc2a6fe2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts index b7bf2a3b..ea949a68 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts index b7179aad..72b60c50 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts index 29156104..646d0f13 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { AutoBoneSettings, AutoBoneSettingsT } from '../../solarxr-protocol/rpc/auto-bone-settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings.ts new file mode 100644 index 00000000..06b00ac1 --- /dev/null +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings.ts @@ -0,0 +1,9 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + +export { LegTweaksSettings, LegTweaksSettingsT } from './settings/leg-tweaks-settings.js'; +export { ModelRatios, ModelRatiosT } from './settings/model-ratios.js'; +export { ModelSettings, ModelSettingsT } from './settings/model-settings.js'; +export { ModelToggles, ModelTogglesT } from './settings/model-toggles.js'; +export { SkeletonHeight, SkeletonHeightT } from './settings/skeleton-height.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts index 43a066a2..2a9dc545 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -32,7 +34,7 @@ static startLegTweaksSettings(builder:flatbuffers.Builder) { } static addCorrectionStrength(builder:flatbuffers.Builder, correctionStrength:number) { - builder.addFieldFloat32(0, correctionStrength, 0); + builder.addFieldFloat32(0, correctionStrength, null); } static endLegTweaksSettings(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts index 878e9163..d80085c9 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -75,31 +77,31 @@ static startModelRatios(builder:flatbuffers.Builder) { } static addImputeWaistFromChestHip(builder:flatbuffers.Builder, imputeWaistFromChestHip:number) { - builder.addFieldFloat32(0, imputeWaistFromChestHip, 0); + builder.addFieldFloat32(0, imputeWaistFromChestHip, null); } static addImputeWaistFromChestLegs(builder:flatbuffers.Builder, imputeWaistFromChestLegs:number) { - builder.addFieldFloat32(1, imputeWaistFromChestLegs, 0); + builder.addFieldFloat32(1, imputeWaistFromChestLegs, null); } static addImputeHipFromChestLegs(builder:flatbuffers.Builder, imputeHipFromChestLegs:number) { - builder.addFieldFloat32(2, imputeHipFromChestLegs, 0); + builder.addFieldFloat32(2, imputeHipFromChestLegs, null); } static addImputeHipFromWaistLegs(builder:flatbuffers.Builder, imputeHipFromWaistLegs:number) { - builder.addFieldFloat32(3, imputeHipFromWaistLegs, 0); + builder.addFieldFloat32(3, imputeHipFromWaistLegs, null); } static addInterpHipLegs(builder:flatbuffers.Builder, interpHipLegs:number) { - builder.addFieldFloat32(4, interpHipLegs, 0); + builder.addFieldFloat32(4, interpHipLegs, null); } static addInterpKneeTrackerAnkle(builder:flatbuffers.Builder, interpKneeTrackerAnkle:number) { - builder.addFieldFloat32(5, interpKneeTrackerAnkle, 0); + builder.addFieldFloat32(5, interpKneeTrackerAnkle, null); } static addInterpKneeAnkle(builder:flatbuffers.Builder, interpKneeAnkle:number) { - builder.addFieldFloat32(6, interpKneeAnkle, 0); + builder.addFieldFloat32(6, interpKneeAnkle, null); } static endModelRatios(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts index 66648707..67a85ee5 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { LegTweaksSettings, LegTweaksSettingsT } from '../../../solarxr-protocol/rpc/settings/leg-tweaks-settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts index 1064d0ed..4f824bd6 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -90,51 +92,51 @@ static startModelToggles(builder:flatbuffers.Builder) { } static addExtendedSpine(builder:flatbuffers.Builder, extendedSpine:boolean) { - builder.addFieldInt8(0, +extendedSpine, 0); + builder.addFieldInt8(0, +extendedSpine, null); } static addExtendedPelvis(builder:flatbuffers.Builder, extendedPelvis:boolean) { - builder.addFieldInt8(1, +extendedPelvis, 0); + builder.addFieldInt8(1, +extendedPelvis, null); } static addExtendedKnee(builder:flatbuffers.Builder, extendedKnee:boolean) { - builder.addFieldInt8(2, +extendedKnee, 0); + builder.addFieldInt8(2, +extendedKnee, null); } static addForceArmsFromHmd(builder:flatbuffers.Builder, forceArmsFromHmd:boolean) { - builder.addFieldInt8(3, +forceArmsFromHmd, 0); + builder.addFieldInt8(3, +forceArmsFromHmd, null); } static addFloorClip(builder:flatbuffers.Builder, floorClip:boolean) { - builder.addFieldInt8(4, +floorClip, 0); + builder.addFieldInt8(4, +floorClip, null); } static addSkatingCorrection(builder:flatbuffers.Builder, skatingCorrection:boolean) { - builder.addFieldInt8(5, +skatingCorrection, 0); + builder.addFieldInt8(5, +skatingCorrection, null); } static addToeSnap(builder:flatbuffers.Builder, toeSnap:boolean) { - builder.addFieldInt8(7, +toeSnap, 0); + builder.addFieldInt8(7, +toeSnap, null); } static addFootPlant(builder:flatbuffers.Builder, footPlant:boolean) { - builder.addFieldInt8(8, +footPlant, 0); + builder.addFieldInt8(8, +footPlant, null); } static addSelfLocalization(builder:flatbuffers.Builder, selfLocalization:boolean) { - builder.addFieldInt8(9, +selfLocalization, 0); + builder.addFieldInt8(9, +selfLocalization, null); } static addUsePosition(builder:flatbuffers.Builder, usePosition:boolean) { - builder.addFieldInt8(10, +usePosition, 0); + builder.addFieldInt8(10, +usePosition, null); } static addEnforceConstraints(builder:flatbuffers.Builder, enforceConstraints:boolean) { - builder.addFieldInt8(11, +enforceConstraints, 0); + builder.addFieldInt8(11, +enforceConstraints, null); } static addCorrectConstraints(builder:flatbuffers.Builder, correctConstraints:boolean) { - builder.addFieldInt8(12, +correctConstraints, 0); + builder.addFieldInt8(12, +correctConstraints, null); } static endModelToggles(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts index f2b493bb..c4bae8c1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -37,11 +39,11 @@ static startSkeletonHeight(builder:flatbuffers.Builder) { } static addHmdHeight(builder:flatbuffers.Builder, hmdHeight:number) { - builder.addFieldFloat32(0, hmdHeight, 0); + builder.addFieldFloat32(0, hmdHeight, null); } static addFloorHeight(builder:flatbuffers.Builder, floorHeight:number) { - builder.addFieldFloat32(1, floorHeight, 0); + builder.addFieldFloat32(1, floorHeight, null); } static endSkeletonHeight(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts index 2d7474fd..e0b9a9c4 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum SkeletonBone { NONE = 0, HEAD = 1, @@ -22,5 +24,11 @@ export enum SkeletonBone { HAND_Y = 18, HAND_Z = 19, ELBOW_OFFSET = 20, - UPPER_CHEST = 21 + UPPER_CHEST = 21, + LEFT_TOE_1 = 22, + LEFT_TOE_2 = 23, + LEFT_TOE_3 = 24, + RIGHT_TOE_1 = 25, + RIGHT_TOE_2 = 26, + RIGHT_TOE_3 = 27 } diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts index 3ab139fc..0fa1d8e5 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts index f03ecc50..05decca8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { SkeletonPart, SkeletonPartT } from '../../solarxr-protocol/rpc/skeleton-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts index 3b2d36b2..f7c9a862 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { SkeletonBone } from '../../solarxr-protocol/rpc/skeleton-bone.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts index 7108758a..978f57a4 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts index f44f5b91..5a664cd8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts index e84f22ed..a6e47998 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import { StatusPublicNetwork, StatusPublicNetworkT } from '../../solarxr-protocol/rpc/status-public-network.js'; import { StatusSteamVRDisconnected, StatusSteamVRDisconnectedT } from '../../solarxr-protocol/rpc/status-steam-vrdisconnected.js'; import { StatusTrackerError, StatusTrackerErrorT } from '../../solarxr-protocol/rpc/status-tracker-error.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts index 2e3d7b95..fa6b8d81 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { StatusData, unionToStatusData, unionListToStatusData } from '../../solarxr-protocol/rpc/status-data.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts index cec668f2..2eec84df 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts index 54c7aa6f..0cb04a0c 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts index 2945e3ee..183dbf7f 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts index 1feb037b..4667857c 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts index 07028843..89654fd6 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { StatusMessage, StatusMessageT } from '../../solarxr-protocol/rpc/status-message.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts index 063833e5..81695bac 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { StatusMessage, StatusMessageT } from '../../solarxr-protocol/rpc/status-message.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts index 0c3afe50..4649a8d6 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts index 72501805..a416c5b9 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts index 390f6aa2..1910a407 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts index bbbd1600..5f7199bc 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum StayAlignedRelaxedPose { STANDING = 0, SITTING = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts index 8eb24f61..88d8b3c0 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts b/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts index 6824ea93..f5041367 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts index 1db45a56..4bf62046 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts index 10cbc4b8..636c79d7 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; @@ -86,47 +88,47 @@ static startTapDetectionSettings(builder:flatbuffers.Builder) { } static addFullResetDelay(builder:flatbuffers.Builder, fullResetDelay:number) { - builder.addFieldFloat32(0, fullResetDelay, 0); + builder.addFieldFloat32(0, fullResetDelay, null); } static addFullResetEnabled(builder:flatbuffers.Builder, fullResetEnabled:boolean) { - builder.addFieldInt8(1, +fullResetEnabled, 0); + builder.addFieldInt8(1, +fullResetEnabled, null); } static addFullResetTaps(builder:flatbuffers.Builder, fullResetTaps:number) { - builder.addFieldInt8(2, fullResetTaps, 0); + builder.addFieldInt8(2, fullResetTaps, null); } static addYawResetDelay(builder:flatbuffers.Builder, yawResetDelay:number) { - builder.addFieldFloat32(3, yawResetDelay, 0); + builder.addFieldFloat32(3, yawResetDelay, null); } static addYawResetEnabled(builder:flatbuffers.Builder, yawResetEnabled:boolean) { - builder.addFieldInt8(4, +yawResetEnabled, 0); + builder.addFieldInt8(4, +yawResetEnabled, null); } static addYawResetTaps(builder:flatbuffers.Builder, yawResetTaps:number) { - builder.addFieldInt8(5, yawResetTaps, 0); + builder.addFieldInt8(5, yawResetTaps, null); } static addMountingResetDelay(builder:flatbuffers.Builder, mountingResetDelay:number) { - builder.addFieldFloat32(6, mountingResetDelay, 0); + builder.addFieldFloat32(6, mountingResetDelay, null); } static addMountingResetEnabled(builder:flatbuffers.Builder, mountingResetEnabled:boolean) { - builder.addFieldInt8(7, +mountingResetEnabled, 0); + builder.addFieldInt8(7, +mountingResetEnabled, null); } static addMountingResetTaps(builder:flatbuffers.Builder, mountingResetTaps:number) { - builder.addFieldInt8(8, mountingResetTaps, 0); + builder.addFieldInt8(8, mountingResetTaps, null); } static addSetupMode(builder:flatbuffers.Builder, setupMode:boolean) { - builder.addFieldInt8(9, +setupMode, 0); + builder.addFieldInt8(9, +setupMode, null); } static addNumberTrackersOverThreshold(builder:flatbuffers.Builder, numberTrackersOverThreshold:number) { - builder.addFieldInt8(10, numberTrackersOverThreshold, 0); + builder.addFieldInt8(10, numberTrackersOverThreshold, null); } static endTapDetectionSettings(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts index 51b9dcb5..d522ef1b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts index 878ca53e..b1fcda9d 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts index 6198eaf1..cf5ce6f7 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts b/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts index 23f9dbbd..cc953bd1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts b/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts index 6060a1ee..e32566c8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { OSCSettings, OSCSettingsT } from '../../solarxr-protocol/rpc/oscsettings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts index 7c5e7a0d..d97773c6 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum VRCAvatarMeasurementType { UNKNOWN = 0, HEIGHT = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts index 4fd15bd3..06877eb1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { VRCAvatarMeasurementType } from '../../solarxr-protocol/rpc/vrcavatar-measurement-type.js'; @@ -57,7 +59,7 @@ trackerModel():VRCTrackerModel { spineMode(index: number):VRCSpineMode|null { const offset = this.bb!.__offset(this.bb_pos, 16); - return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0; + return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : null; } spineModeLength():number { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts index 4ecfa335..27332334 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { VRCConfigRecommendedValues, VRCConfigRecommendedValuesT } from '../../solarxr-protocol/rpc/vrcconfig-recommended-values.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts index 898e91f6..d976922b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts index 631d559a..f86d3b99 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts index f3de3941..76424ca0 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { VRCAvatarMeasurementType } from '../../solarxr-protocol/rpc/vrcavatar-measurement-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts index 3342da90..b4d93dcd 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { OSCSettings, OSCSettingsT } from '../../solarxr-protocol/rpc/oscsettings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts index bc2fdf0c..bc5e8239 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum VRCSpineMode { UNKNOWN = 0, LOCK_HIP = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts index b2c7391f..30a80ada 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum VRCTrackerModel { UNKNOWN = 0, SPHERE = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts index 848b482f..f0b949f4 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + import * as flatbuffers from 'flatbuffers'; import { WifiProvisioningStatus } from '../../solarxr-protocol/rpc/wifi-provisioning-status.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts index f864a317..af21534d 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts @@ -1,5 +1,7 @@ // automatically generated by the FlatBuffers compiler, do not modify +/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ + export enum WifiProvisioningStatus { NONE = 0, SERIAL_INIT = 1, diff --git a/schema/rpc.fbs b/schema/rpc.fbs index 61c81864..d431aa5c 100644 --- a/schema/rpc.fbs +++ b/schema/rpc.fbs @@ -362,6 +362,12 @@ enum SkeletonBone: uint8 { HAND_Z = 19, ELBOW_OFFSET = 20, UPPER_CHEST = 21, + LEFT_TOE_1 = 22, + LEFT_TOE_2 = 23, + LEFT_TOE_3 = 24, + RIGHT_TOE_1 = 25, + RIGHT_TOE_2 = 26, + RIGHT_TOE_3 = 27 } table SkeletonPart { From 0fbf5abff2e4f6379a8452734c78bb791f9c60a4 Mon Sep 17 00:00:00 2001 From: Sebastina Date: Wed, 8 Oct 2025 19:27:24 -0500 Subject: [PATCH 4/9] Add additional flatbuffers for toes. --- schema/datatypes/datatypes.fbs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/schema/datatypes/datatypes.fbs b/schema/datatypes/datatypes.fbs index 28f527c9..d3fe0ec5 100644 --- a/schema/datatypes/datatypes.fbs +++ b/schema/datatypes/datatypes.fbs @@ -92,6 +92,12 @@ enum TrackerRole: uint8 { HMD = 19, BEACON = 20, GENERIC_CONTROLLER = 21, + LEFT_TOE_1 = 22, + LEFT_TOE_2 = 23, + LEFT_TOE_3 = 24, + RIGHT_TOE_1 = 25, + RIGHT_TOE_2 = 26, + RIGHT_TOE_3 = 27 } @@ -151,6 +157,12 @@ enum BodyPart: uint8 { RIGHT_LITTLE_PROXIMAL = 52, RIGHT_LITTLE_INTERMEDIATE = 53, RIGHT_LITTLE_DISTAL = 54, + LEFT_TOE_1 = 55, + LEFT_TOE_2 = 56, + LEFT_TOE_3 = 57, + RIGHT_TOE_1 = 58, + RIGHT_TOE_2 = 59, + RIGHT_TOE_3 = 60 } enum TrackerStatus: uint8 { From fa83dcf87f27d20e0c35fbbc1a6d5271d7da7175 Mon Sep 17 00:00:00 2001 From: Sebastina Date: Wed, 8 Oct 2025 19:28:31 -0500 Subject: [PATCH 5/9] Re-generate flatbuffer code --- .../generated/all_generated.h | 56 +++++++++++++++---- .../solarxr_protocol/datatypes/BodyPart.java | 8 ++- .../datatypes/TrackerRole.java | 8 ++- .../solarxr_protocol/datatypes/BodyPart.kt | 6 ++ .../solarxr_protocol/datatypes/TrackerRole.kt | 6 ++ .../datatypes/body_part_generated.rs | 30 +++++++++- .../datatypes/tracker_role_generated.rs | 30 +++++++++- .../solarxr-protocol/datatypes/body-part.ts | 8 ++- .../datatypes/tracker-role.ts | 8 ++- 9 files changed, 140 insertions(+), 20 deletions(-) diff --git a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h index f8b12cbb..f4a467d4 100644 --- a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h +++ b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h @@ -618,11 +618,17 @@ enum class TrackerRole : uint8_t { HMD = 19, BEACON = 20, GENERIC_CONTROLLER = 21, + LEFT_TOE_1 = 22, + LEFT_TOE_2 = 23, + LEFT_TOE_3 = 24, + RIGHT_TOE_1 = 25, + RIGHT_TOE_2 = 26, + RIGHT_TOE_3 = 27, MIN = NONE, - MAX = GENERIC_CONTROLLER + MAX = RIGHT_TOE_3 }; -inline const TrackerRole (&EnumValuesTrackerRole())[22] { +inline const TrackerRole (&EnumValuesTrackerRole())[28] { static const TrackerRole values[] = { TrackerRole::NONE, TrackerRole::WAIST, @@ -645,13 +651,19 @@ inline const TrackerRole (&EnumValuesTrackerRole())[22] { TrackerRole::KEYBOARD, TrackerRole::HMD, TrackerRole::BEACON, - TrackerRole::GENERIC_CONTROLLER + TrackerRole::GENERIC_CONTROLLER, + TrackerRole::LEFT_TOE_1, + TrackerRole::LEFT_TOE_2, + TrackerRole::LEFT_TOE_3, + TrackerRole::RIGHT_TOE_1, + TrackerRole::RIGHT_TOE_2, + TrackerRole::RIGHT_TOE_3 }; return values; } inline const char * const *EnumNamesTrackerRole() { - static const char * const names[23] = { + static const char * const names[29] = { "NONE", "WAIST", "LEFT_FOOT", @@ -674,13 +686,19 @@ inline const char * const *EnumNamesTrackerRole() { "HMD", "BEACON", "GENERIC_CONTROLLER", + "LEFT_TOE_1", + "LEFT_TOE_2", + "LEFT_TOE_3", + "RIGHT_TOE_1", + "RIGHT_TOE_2", + "RIGHT_TOE_3", nullptr }; return names; } inline const char *EnumNameTrackerRole(TrackerRole e) { - if (::flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::GENERIC_CONTROLLER)) return ""; + if (::flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::RIGHT_TOE_3)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerRole()[index]; } @@ -741,11 +759,17 @@ enum class BodyPart : uint8_t { RIGHT_LITTLE_PROXIMAL = 52, RIGHT_LITTLE_INTERMEDIATE = 53, RIGHT_LITTLE_DISTAL = 54, + LEFT_TOE_1 = 55, + LEFT_TOE_2 = 56, + LEFT_TOE_3 = 57, + RIGHT_TOE_1 = 58, + RIGHT_TOE_2 = 59, + RIGHT_TOE_3 = 60, MIN = NONE, - MAX = RIGHT_LITTLE_DISTAL + MAX = RIGHT_TOE_3 }; -inline const BodyPart (&EnumValuesBodyPart())[53] { +inline const BodyPart (&EnumValuesBodyPart())[59] { static const BodyPart values[] = { BodyPart::NONE, BodyPart::HEAD, @@ -799,13 +823,19 @@ inline const BodyPart (&EnumValuesBodyPart())[53] { BodyPart::RIGHT_RING_DISTAL, BodyPart::RIGHT_LITTLE_PROXIMAL, BodyPart::RIGHT_LITTLE_INTERMEDIATE, - BodyPart::RIGHT_LITTLE_DISTAL + BodyPart::RIGHT_LITTLE_DISTAL, + BodyPart::LEFT_TOE_1, + BodyPart::LEFT_TOE_2, + BodyPart::LEFT_TOE_3, + BodyPart::RIGHT_TOE_1, + BodyPart::RIGHT_TOE_2, + BodyPart::RIGHT_TOE_3 }; return values; } inline const char * const *EnumNamesBodyPart() { - static const char * const names[56] = { + static const char * const names[62] = { "NONE", "HEAD", "NECK", @@ -861,13 +891,19 @@ inline const char * const *EnumNamesBodyPart() { "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", + "LEFT_TOE_1", + "LEFT_TOE_2", + "LEFT_TOE_3", + "RIGHT_TOE_1", + "RIGHT_TOE_2", + "RIGHT_TOE_3", nullptr }; return names; } inline const char *EnumNameBodyPart(BodyPart e) { - if (::flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_LITTLE_DISTAL)) return ""; + if (::flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_TOE_3)) return ""; const size_t index = static_cast(e); return EnumNamesBodyPart()[index]; } diff --git a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java index 051104c5..c243745e 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java +++ b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java @@ -62,8 +62,14 @@ private BodyPart() { } public static final int RIGHT_LITTLE_PROXIMAL = 52; public static final int RIGHT_LITTLE_INTERMEDIATE = 53; public static final int RIGHT_LITTLE_DISTAL = 54; + public static final int LEFT_TOE_1 = 55; + public static final int LEFT_TOE_2 = 56; + public static final int LEFT_TOE_3 = 57; + public static final int RIGHT_TOE_1 = 58; + public static final int RIGHT_TOE_2 = 59; + public static final int RIGHT_TOE_3 = 60; - public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", }; + public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3", }; public static String name(int e) { return names[e]; } } diff --git a/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java b/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java index 65202716..5b49ca24 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java @@ -33,8 +33,14 @@ private TrackerRole() { } public static final int HMD = 19; public static final int BEACON = 20; public static final int GENERIC_CONTROLLER = 21; + public static final int LEFT_TOE_1 = 22; + public static final int LEFT_TOE_2 = 23; + public static final int LEFT_TOE_3 = 24; + public static final int RIGHT_TOE_1 = 25; + public static final int RIGHT_TOE_2 = 26; + public static final int RIGHT_TOE_3 = 27; - public static final String[] names = { "NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER", }; + public static final String[] names = { "NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3", }; public static String name(int e) { return names[e]; } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt index cc44bde1..18a94bf9 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt @@ -62,5 +62,11 @@ class BodyPart private constructor() { const val RIGHT_LITTLE_PROXIMAL: UByte = 52u const val RIGHT_LITTLE_INTERMEDIATE: UByte = 53u const val RIGHT_LITTLE_DISTAL: UByte = 54u + const val LEFT_TOE_1: UByte = 55u + const val LEFT_TOE_2: UByte = 56u + const val LEFT_TOE_3: UByte = 57u + const val RIGHT_TOE_1: UByte = 58u + const val RIGHT_TOE_2: UByte = 59u + const val RIGHT_TOE_3: UByte = 60u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt index 887a56f1..e5f10c54 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt @@ -33,5 +33,11 @@ class TrackerRole private constructor() { const val HMD: UByte = 19u const val BEACON: UByte = 20u const val GENERIC_CONTROLLER: UByte = 21u + const val LEFT_TOE_1: UByte = 22u + const val LEFT_TOE_2: UByte = 23u + const val LEFT_TOE_3: UByte = 24u + const val RIGHT_TOE_1: UByte = 25u + const val RIGHT_TOE_2: UByte = 26u + const val RIGHT_TOE_3: UByte = 27u } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs index 57408e5c..a8e79429 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs @@ -12,10 +12,10 @@ use super::*; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] pub const ENUM_MIN_BODY_PART: u8 = 0; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] -pub const ENUM_MAX_BODY_PART: u8 = 54; +pub const ENUM_MAX_BODY_PART: u8 = 60; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] #[allow(non_camel_case_types)] -pub const ENUM_VALUES_BODY_PART: [BodyPart; 53] = [ +pub const ENUM_VALUES_BODY_PART: [BodyPart; 59] = [ BodyPart::NONE, BodyPart::HEAD, BodyPart::NECK, @@ -69,6 +69,12 @@ pub const ENUM_VALUES_BODY_PART: [BodyPart; 53] = [ BodyPart::RIGHT_LITTLE_PROXIMAL, BodyPart::RIGHT_LITTLE_INTERMEDIATE, BodyPart::RIGHT_LITTLE_DISTAL, + BodyPart::LEFT_TOE_1, + BodyPart::LEFT_TOE_2, + BodyPart::LEFT_TOE_3, + BodyPart::RIGHT_TOE_1, + BodyPart::RIGHT_TOE_2, + BodyPart::RIGHT_TOE_3, ]; /// Different parts of the body. Maps to each possible non-tracker bone in the skeleton. @@ -131,9 +137,15 @@ impl BodyPart { pub const RIGHT_LITTLE_PROXIMAL: Self = Self(52); pub const RIGHT_LITTLE_INTERMEDIATE: Self = Self(53); pub const RIGHT_LITTLE_DISTAL: Self = Self(54); + pub const LEFT_TOE_1: Self = Self(55); + pub const LEFT_TOE_2: Self = Self(56); + pub const LEFT_TOE_3: Self = Self(57); + pub const RIGHT_TOE_1: Self = Self(58); + pub const RIGHT_TOE_2: Self = Self(59); + pub const RIGHT_TOE_3: Self = Self(60); pub const ENUM_MIN: u8 = 0; - pub const ENUM_MAX: u8 = 54; + pub const ENUM_MAX: u8 = 60; pub const ENUM_VALUES: &'static [Self] = &[ Self::NONE, Self::HEAD, @@ -188,6 +200,12 @@ impl BodyPart { Self::RIGHT_LITTLE_PROXIMAL, Self::RIGHT_LITTLE_INTERMEDIATE, Self::RIGHT_LITTLE_DISTAL, + Self::LEFT_TOE_1, + Self::LEFT_TOE_2, + Self::LEFT_TOE_3, + Self::RIGHT_TOE_1, + Self::RIGHT_TOE_2, + Self::RIGHT_TOE_3, ]; /// Returns the variant's name or "" if unknown. pub fn variant_name(self) -> Option<&'static str> { @@ -245,6 +263,12 @@ impl BodyPart { Self::RIGHT_LITTLE_PROXIMAL => Some("RIGHT_LITTLE_PROXIMAL"), Self::RIGHT_LITTLE_INTERMEDIATE => Some("RIGHT_LITTLE_INTERMEDIATE"), Self::RIGHT_LITTLE_DISTAL => Some("RIGHT_LITTLE_DISTAL"), + Self::LEFT_TOE_1 => Some("LEFT_TOE_1"), + Self::LEFT_TOE_2 => Some("LEFT_TOE_2"), + Self::LEFT_TOE_3 => Some("LEFT_TOE_3"), + Self::RIGHT_TOE_1 => Some("RIGHT_TOE_1"), + Self::RIGHT_TOE_2 => Some("RIGHT_TOE_2"), + Self::RIGHT_TOE_3 => Some("RIGHT_TOE_3"), _ => None, } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs index 556d9a7f..bca1a9f6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs @@ -12,10 +12,10 @@ use super::*; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] pub const ENUM_MIN_TRACKER_ROLE: u8 = 0; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] -pub const ENUM_MAX_TRACKER_ROLE: u8 = 21; +pub const ENUM_MAX_TRACKER_ROLE: u8 = 27; #[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")] #[allow(non_camel_case_types)] -pub const ENUM_VALUES_TRACKER_ROLE: [TrackerRole; 22] = [ +pub const ENUM_VALUES_TRACKER_ROLE: [TrackerRole; 28] = [ TrackerRole::NONE, TrackerRole::WAIST, TrackerRole::LEFT_FOOT, @@ -38,6 +38,12 @@ pub const ENUM_VALUES_TRACKER_ROLE: [TrackerRole; 22] = [ TrackerRole::HMD, TrackerRole::BEACON, TrackerRole::GENERIC_CONTROLLER, + TrackerRole::LEFT_TOE_1, + TrackerRole::LEFT_TOE_2, + TrackerRole::LEFT_TOE_3, + TrackerRole::RIGHT_TOE_1, + TrackerRole::RIGHT_TOE_2, + TrackerRole::RIGHT_TOE_3, ]; /// Possible tracker roles @@ -71,9 +77,15 @@ impl TrackerRole { pub const HMD: Self = Self(19); pub const BEACON: Self = Self(20); pub const GENERIC_CONTROLLER: Self = Self(21); + pub const LEFT_TOE_1: Self = Self(22); + pub const LEFT_TOE_2: Self = Self(23); + pub const LEFT_TOE_3: Self = Self(24); + pub const RIGHT_TOE_1: Self = Self(25); + pub const RIGHT_TOE_2: Self = Self(26); + pub const RIGHT_TOE_3: Self = Self(27); pub const ENUM_MIN: u8 = 0; - pub const ENUM_MAX: u8 = 21; + pub const ENUM_MAX: u8 = 27; pub const ENUM_VALUES: &'static [Self] = &[ Self::NONE, Self::WAIST, @@ -97,6 +109,12 @@ impl TrackerRole { Self::HMD, Self::BEACON, Self::GENERIC_CONTROLLER, + Self::LEFT_TOE_1, + Self::LEFT_TOE_2, + Self::LEFT_TOE_3, + Self::RIGHT_TOE_1, + Self::RIGHT_TOE_2, + Self::RIGHT_TOE_3, ]; /// Returns the variant's name or "" if unknown. pub fn variant_name(self) -> Option<&'static str> { @@ -123,6 +141,12 @@ impl TrackerRole { Self::HMD => Some("HMD"), Self::BEACON => Some("BEACON"), Self::GENERIC_CONTROLLER => Some("GENERIC_CONTROLLER"), + Self::LEFT_TOE_1 => Some("LEFT_TOE_1"), + Self::LEFT_TOE_2 => Some("LEFT_TOE_2"), + Self::LEFT_TOE_3 => Some("LEFT_TOE_3"), + Self::RIGHT_TOE_1 => Some("RIGHT_TOE_1"), + Self::RIGHT_TOE_2 => Some("RIGHT_TOE_2"), + Self::RIGHT_TOE_3 => Some("RIGHT_TOE_3"), _ => None, } } diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts index c1490d1f..47193723 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts @@ -59,5 +59,11 @@ export enum BodyPart { RIGHT_RING_DISTAL = 51, RIGHT_LITTLE_PROXIMAL = 52, RIGHT_LITTLE_INTERMEDIATE = 53, - RIGHT_LITTLE_DISTAL = 54 + RIGHT_LITTLE_DISTAL = 54, + LEFT_TOE_1 = 55, + LEFT_TOE_2 = 56, + LEFT_TOE_3 = 57, + RIGHT_TOE_1 = 58, + RIGHT_TOE_2 = 59, + RIGHT_TOE_3 = 60 } diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts index fbef54b2..9390fd44 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts @@ -30,5 +30,11 @@ export enum TrackerRole { KEYBOARD = 18, HMD = 19, BEACON = 20, - GENERIC_CONTROLLER = 21 + GENERIC_CONTROLLER = 21, + LEFT_TOE_1 = 22, + LEFT_TOE_2 = 23, + LEFT_TOE_3 = 24, + RIGHT_TOE_1 = 25, + RIGHT_TOE_2 = 26, + RIGHT_TOE_3 = 27 } From 23595a33a500a33a5388741739aa633ad434e005 Mon Sep 17 00:00:00 2001 From: Sebastina Date: Wed, 8 Oct 2025 19:44:20 -0500 Subject: [PATCH 6/9] Use older version of flatbuffers. --- .../generated/all_generated.h | 3804 ++++++++--------- .../src/solarxr_protocol/MessageBundle.java | 22 +- .../src/solarxr_protocol/MessageBundleT.java | 20 +- .../src/solarxr_protocol/data_feed/Bone.java | 22 +- .../src/solarxr_protocol/data_feed/BoneT.java | 20 +- .../data_feed/DataFeedConfig.java | 22 +- .../data_feed/DataFeedConfigT.java | 20 +- .../data_feed/DataFeedMessageHeader.java | 22 +- .../data_feed/DataFeedMessageHeaderT.java | 20 +- .../data_feed/DataFeedUpdate.java | 22 +- .../data_feed/DataFeedUpdateT.java | 20 +- .../data_feed/PollDataFeed.java | 22 +- .../data_feed/PollDataFeedT.java | 20 +- .../data_feed/StartDataFeed.java | 22 +- .../data_feed/StartDataFeedT.java | 20 +- .../data_feed/device_data/DeviceData.java | 22 +- .../data_feed/device_data/DeviceDataMask.java | 22 +- .../device_data/DeviceDataMaskT.java | 20 +- .../data_feed/device_data/DeviceDataT.java | 20 +- .../stay_aligned/StayAlignedPose.java | 22 +- .../stay_aligned/StayAlignedPoseT.java | 20 +- .../stay_aligned/StayAlignedTracker.java | 22 +- .../stay_aligned/StayAlignedTrackerT.java | 20 +- .../data_feed/tracker/TrackerData.java | 22 +- .../data_feed/tracker/TrackerDataMask.java | 22 +- .../data_feed/tracker/TrackerDataMaskT.java | 20 +- .../data_feed/tracker/TrackerDataT.java | 20 +- .../data_feed/tracker/TrackerInfo.java | 22 +- .../data_feed/tracker/TrackerInfoT.java | 20 +- .../src/solarxr_protocol/datatypes/Bytes.java | 22 +- .../solarxr_protocol/datatypes/BytesT.java | 20 +- .../solarxr_protocol/datatypes/DeviceId.java | 20 +- .../solarxr_protocol/datatypes/DeviceIdT.java | 20 +- .../datatypes/DeviceIdTable.java | 22 +- .../datatypes/DeviceIdTableT.java | 20 +- .../src/solarxr_protocol/datatypes/HzF32.java | 20 +- .../solarxr_protocol/datatypes/HzF32T.java | 20 +- .../datatypes/Ipv4Address.java | 20 +- .../datatypes/Ipv4AddressT.java | 20 +- .../solarxr_protocol/datatypes/LogData.java | 22 +- .../solarxr_protocol/datatypes/LogDataT.java | 20 +- .../datatypes/StringTable.java | 22 +- .../datatypes/StringTableT.java | 20 +- .../datatypes/Temperature.java | 20 +- .../datatypes/TemperatureT.java | 20 +- .../solarxr_protocol/datatypes/TrackerId.java | 22 +- .../datatypes/TrackerIdT.java | 20 +- .../datatypes/TransactionId.java | 20 +- .../datatypes/TransactionIdT.java | 20 +- .../hardware_info/FirmwareStatusMask.java | 22 +- .../hardware_info/FirmwareStatusMaskT.java | 20 +- .../hardware_info/HardwareAddress.java | 20 +- .../hardware_info/HardwareAddressT.java | 20 +- .../datatypes/hardware_info/HardwareInfo.java | 22 +- .../hardware_info/HardwareInfoT.java | 20 +- .../hardware_info/HardwareStatus.java | 22 +- .../hardware_info/HardwareStatusT.java | 20 +- .../solarxr_protocol/datatypes/math/Quat.java | 20 +- .../datatypes/math/QuatT.java | 20 +- .../datatypes/math/Vec3f.java | 20 +- .../datatypes/math/Vec3fT.java | 20 +- .../solarxr_protocol/pub_sub/KeyValues.java | 22 +- .../solarxr_protocol/pub_sub/KeyValuesT.java | 20 +- .../src/solarxr_protocol/pub_sub/Message.java | 22 +- .../solarxr_protocol/pub_sub/MessageT.java | 20 +- .../pub_sub/PubSubHeader.java | 22 +- .../pub_sub/PubSubHeaderT.java | 20 +- .../pub_sub/SubscriptionRequest.java | 22 +- .../pub_sub/SubscriptionRequestT.java | 20 +- .../solarxr_protocol/pub_sub/TopicHandle.java | 22 +- .../pub_sub/TopicHandleRequest.java | 22 +- .../pub_sub/TopicHandleRequestT.java | 20 +- .../pub_sub/TopicHandleT.java | 20 +- .../src/solarxr_protocol/pub_sub/TopicId.java | 22 +- .../solarxr_protocol/pub_sub/TopicIdT.java | 20 +- .../pub_sub/TopicMapping.java | 22 +- .../pub_sub/TopicMappingT.java | 20 +- .../rpc/AddUnknownDeviceRequest.java | 22 +- .../rpc/AddUnknownDeviceRequestT.java | 20 +- .../rpc/AssignTrackerRequest.java | 22 +- .../rpc/AssignTrackerRequestT.java | 20 +- .../rpc/AutoBoneApplyRequest.java | 22 +- .../rpc/AutoBoneApplyRequestT.java | 20 +- .../rpc/AutoBoneCancelRecordingRequest.java | 22 +- .../rpc/AutoBoneCancelRecordingRequestT.java | 20 +- .../rpc/AutoBoneEpochResponse.java | 22 +- .../rpc/AutoBoneEpochResponseT.java | 20 +- .../rpc/AutoBoneProcessRequest.java | 22 +- .../rpc/AutoBoneProcessRequestT.java | 20 +- .../rpc/AutoBoneProcessStatusResponse.java | 22 +- .../rpc/AutoBoneProcessStatusResponseT.java | 20 +- .../rpc/AutoBoneSettings.java | 22 +- .../rpc/AutoBoneSettingsT.java | 20 +- .../rpc/AutoBoneStopRecordingRequest.java | 22 +- .../rpc/AutoBoneStopRecordingRequestT.java | 20 +- .../rpc/ChangeMagToggleRequest.java | 22 +- .../rpc/ChangeMagToggleRequestT.java | 20 +- .../rpc/ChangeSettingsRequest.java | 22 +- .../rpc/ChangeSettingsRequestT.java | 20 +- .../rpc/ChangeSkeletonConfigRequest.java | 22 +- .../rpc/ChangeSkeletonConfigRequestT.java | 20 +- .../rpc/ClearDriftCompensationRequest.java | 22 +- .../rpc/ClearDriftCompensationRequestT.java | 20 +- .../rpc/ClearMountingResetRequest.java | 22 +- .../rpc/ClearMountingResetRequestT.java | 20 +- .../rpc/CloseSerialRequest.java | 22 +- .../rpc/CloseSerialRequestT.java | 20 +- .../DetectStayAlignedRelaxedPoseRequest.java | 22 +- .../DetectStayAlignedRelaxedPoseRequestT.java | 20 +- .../rpc/DriftCompensationSettings.java | 22 +- .../rpc/DriftCompensationSettingsT.java | 20 +- .../rpc/EnableStayAlignedRequest.java | 22 +- .../rpc/EnableStayAlignedRequestT.java | 20 +- .../rpc/FilteringSettings.java | 22 +- .../rpc/FilteringSettingsT.java | 20 +- .../solarxr_protocol/rpc/FirmwarePart.java | 22 +- .../solarxr_protocol/rpc/FirmwarePartT.java | 20 +- .../rpc/FirmwareUpdateRequest.java | 22 +- .../rpc/FirmwareUpdateRequestT.java | 20 +- .../rpc/FirmwareUpdateStatusResponse.java | 22 +- .../rpc/FirmwareUpdateStatusResponseT.java | 20 +- .../rpc/FirmwareUpdateStopQueuesRequest.java | 22 +- .../rpc/FirmwareUpdateStopQueuesRequestT.java | 20 +- .../rpc/ForgetDeviceRequest.java | 22 +- .../rpc/ForgetDeviceRequestT.java | 20 +- .../rpc/HeartbeatRequest.java | 22 +- .../rpc/HeartbeatRequestT.java | 20 +- .../rpc/HeartbeatResponse.java | 22 +- .../rpc/HeartbeatResponseT.java | 20 +- .../solarxr_protocol/rpc/HeightRequest.java | 22 +- .../solarxr_protocol/rpc/HeightRequestT.java | 20 +- .../solarxr_protocol/rpc/HeightResponse.java | 22 +- .../solarxr_protocol/rpc/HeightResponseT.java | 20 +- .../rpc/LegTweaksTmpChange.java | 22 +- .../rpc/LegTweaksTmpChangeT.java | 20 +- .../rpc/LegTweaksTmpClear.java | 22 +- .../rpc/LegTweaksTmpClearT.java | 20 +- .../rpc/MagToggleRequest.java | 22 +- .../rpc/MagToggleRequestT.java | 20 +- .../rpc/MagToggleResponse.java | 22 +- .../rpc/MagToggleResponseT.java | 20 +- .../rpc/NewSerialDeviceResponse.java | 22 +- .../rpc/NewSerialDeviceResponseT.java | 20 +- .../rpc/OSCRouterSettings.java | 22 +- .../rpc/OSCRouterSettingsT.java | 20 +- .../src/solarxr_protocol/rpc/OSCSettings.java | 22 +- .../solarxr_protocol/rpc/OSCSettingsT.java | 20 +- .../rpc/OSCTrackersSetting.java | 22 +- .../rpc/OSCTrackersSettingT.java | 20 +- .../rpc/OTAFirmwareUpdate.java | 22 +- .../rpc/OTAFirmwareUpdateT.java | 20 +- .../rpc/OpenSerialRequest.java | 22 +- .../rpc/OpenSerialRequestT.java | 20 +- .../rpc/OverlayDisplayModeChangeRequest.java | 22 +- .../rpc/OverlayDisplayModeChangeRequestT.java | 20 +- .../rpc/OverlayDisplayModeRequest.java | 22 +- .../rpc/OverlayDisplayModeRequestT.java | 20 +- .../rpc/OverlayDisplayModeResponse.java | 22 +- .../rpc/OverlayDisplayModeResponseT.java | 20 +- .../rpc/RecordBVHRequest.java | 22 +- .../rpc/RecordBVHRequestT.java | 20 +- .../solarxr_protocol/rpc/RecordBVHStatus.java | 22 +- .../rpc/RecordBVHStatusRequest.java | 22 +- .../rpc/RecordBVHStatusRequestT.java | 20 +- .../rpc/RecordBVHStatusT.java | 20 +- .../solarxr_protocol/rpc/ResetRequest.java | 22 +- .../solarxr_protocol/rpc/ResetRequestT.java | 20 +- .../solarxr_protocol/rpc/ResetResponse.java | 22 +- .../solarxr_protocol/rpc/ResetResponseT.java | 20 +- .../ResetStayAlignedRelaxedPoseRequest.java | 22 +- .../ResetStayAlignedRelaxedPoseRequestT.java | 20 +- .../solarxr_protocol/rpc/ResetsSettings.java | 22 +- .../solarxr_protocol/rpc/ResetsSettingsT.java | 20 +- .../rpc/RpcMessageHeader.java | 22 +- .../rpc/RpcMessageHeaderT.java | 20 +- .../rpc/SaveFileNotification.java | 22 +- .../rpc/SaveFileNotificationT.java | 20 +- .../solarxr_protocol/rpc/SerialDevice.java | 22 +- .../rpc/SerialDevicePort.java | 22 +- .../rpc/SerialDevicePortT.java | 20 +- .../solarxr_protocol/rpc/SerialDeviceT.java | 20 +- .../rpc/SerialDevicesRequest.java | 22 +- .../rpc/SerialDevicesRequestT.java | 20 +- .../rpc/SerialDevicesResponse.java | 22 +- .../rpc/SerialDevicesResponseT.java | 20 +- .../rpc/SerialFirmwareUpdate.java | 22 +- .../rpc/SerialFirmwareUpdateT.java | 20 +- .../SerialTrackerCustomCommandRequest.java | 22 +- .../SerialTrackerCustomCommandRequestT.java | 20 +- .../rpc/SerialTrackerFactoryResetRequest.java | 22 +- .../SerialTrackerFactoryResetRequestT.java | 20 +- .../rpc/SerialTrackerGetInfoRequest.java | 22 +- .../rpc/SerialTrackerGetInfoRequestT.java | 20 +- .../rpc/SerialTrackerGetWifiScanRequest.java | 22 +- .../rpc/SerialTrackerGetWifiScanRequestT.java | 20 +- .../rpc/SerialTrackerRebootRequest.java | 22 +- .../rpc/SerialTrackerRebootRequestT.java | 20 +- .../rpc/SerialUpdateResponse.java | 22 +- .../rpc/SerialUpdateResponseT.java | 20 +- .../rpc/ServerInfosRequest.java | 22 +- .../rpc/ServerInfosRequestT.java | 20 +- .../rpc/ServerInfosResponse.java | 22 +- .../rpc/ServerInfosResponseT.java | 20 +- .../rpc/SetPauseTrackingRequest.java | 22 +- .../rpc/SetPauseTrackingRequestT.java | 20 +- .../solarxr_protocol/rpc/SetWifiRequest.java | 22 +- .../solarxr_protocol/rpc/SetWifiRequestT.java | 20 +- .../solarxr_protocol/rpc/SettingsRequest.java | 22 +- .../rpc/SettingsRequestT.java | 20 +- .../rpc/SettingsResetRequest.java | 22 +- .../rpc/SettingsResetRequestT.java | 20 +- .../rpc/SettingsResponse.java | 22 +- .../rpc/SettingsResponseT.java | 20 +- .../rpc/SkeletonConfigRequest.java | 22 +- .../rpc/SkeletonConfigRequestT.java | 20 +- .../rpc/SkeletonConfigResponse.java | 22 +- .../rpc/SkeletonConfigResponseT.java | 20 +- .../solarxr_protocol/rpc/SkeletonPart.java | 22 +- .../solarxr_protocol/rpc/SkeletonPartT.java | 20 +- .../rpc/SkeletonResetAllRequest.java | 22 +- .../rpc/SkeletonResetAllRequestT.java | 20 +- .../rpc/StartWifiProvisioningRequest.java | 22 +- .../rpc/StartWifiProvisioningRequestT.java | 20 +- .../solarxr_protocol/rpc/StatusMessage.java | 22 +- .../solarxr_protocol/rpc/StatusMessageT.java | 20 +- .../rpc/StatusPublicNetwork.java | 22 +- .../rpc/StatusPublicNetworkT.java | 20 +- .../rpc/StatusSteamVRDisconnected.java | 22 +- .../rpc/StatusSteamVRDisconnectedT.java | 20 +- .../rpc/StatusSystemFixed.java | 22 +- .../rpc/StatusSystemFixedT.java | 20 +- .../rpc/StatusSystemRequest.java | 22 +- .../rpc/StatusSystemRequestT.java | 20 +- .../rpc/StatusSystemResponse.java | 22 +- .../rpc/StatusSystemResponseT.java | 20 +- .../rpc/StatusSystemUpdate.java | 22 +- .../rpc/StatusSystemUpdateT.java | 20 +- .../rpc/StatusTrackerError.java | 22 +- .../rpc/StatusTrackerErrorT.java | 20 +- .../rpc/StatusTrackerReset.java | 22 +- .../rpc/StatusTrackerResetT.java | 20 +- .../rpc/StatusUnassignedHMD.java | 22 +- .../rpc/StatusUnassignedHMDT.java | 20 +- .../rpc/StayAlignedSettings.java | 22 +- .../rpc/StayAlignedSettingsT.java | 20 +- .../rpc/SteamVRTrackersSetting.java | 22 +- .../rpc/SteamVRTrackersSettingT.java | 20 +- .../rpc/StopWifiProvisioningRequest.java | 22 +- .../rpc/StopWifiProvisioningRequestT.java | 20 +- .../rpc/TapDetectionSettings.java | 22 +- .../rpc/TapDetectionSettingsT.java | 20 +- .../rpc/TapDetectionSetupNotification.java | 22 +- .../rpc/TapDetectionSetupNotificationT.java | 20 +- .../rpc/TrackingPauseStateRequest.java | 22 +- .../rpc/TrackingPauseStateRequestT.java | 20 +- .../rpc/TrackingPauseStateResponse.java | 22 +- .../rpc/TrackingPauseStateResponseT.java | 20 +- .../UnknownDeviceHandshakeNotification.java | 22 +- .../UnknownDeviceHandshakeNotificationT.java | 20 +- .../solarxr_protocol/rpc/VMCOSCSettings.java | 22 +- .../solarxr_protocol/rpc/VMCOSCSettingsT.java | 20 +- .../rpc/VRCConfigRecommendedValues.java | 22 +- .../rpc/VRCConfigRecommendedValuesT.java | 20 +- .../rpc/VRCConfigStateChangeResponse.java | 22 +- .../rpc/VRCConfigStateChangeResponseT.java | 20 +- .../rpc/VRCConfigStateRequest.java | 22 +- .../rpc/VRCConfigStateRequestT.java | 20 +- .../rpc/VRCConfigValidity.java | 22 +- .../rpc/VRCConfigValidityT.java | 20 +- .../solarxr_protocol/rpc/VRCConfigValues.java | 22 +- .../rpc/VRCConfigValuesT.java | 20 +- .../solarxr_protocol/rpc/VRCOSCSettings.java | 22 +- .../solarxr_protocol/rpc/VRCOSCSettingsT.java | 20 +- .../rpc/WifiProvisioningStatusResponse.java | 22 +- .../rpc/WifiProvisioningStatusResponseT.java | 20 +- .../rpc/settings/LegTweaksSettings.java | 22 +- .../rpc/settings/LegTweaksSettingsT.java | 20 +- .../rpc/settings/ModelRatios.java | 22 +- .../rpc/settings/ModelRatiosT.java | 20 +- .../rpc/settings/ModelSettings.java | 22 +- .../rpc/settings/ModelSettingsT.java | 20 +- .../rpc/settings/ModelToggles.java | 22 +- .../rpc/settings/ModelTogglesT.java | 20 +- .../rpc/settings/SkeletonHeight.java | 22 +- .../rpc/settings/SkeletonHeightT.java | 20 +- .../src/solarxr_protocol/MessageBundle.kt | 18 +- .../src/solarxr_protocol/data_feed/Bone.kt | 18 +- .../data_feed/DataFeedConfig.kt | 18 +- .../data_feed/DataFeedMessage.kt | 3 + .../data_feed/DataFeedMessageHeader.kt | 18 +- .../data_feed/DataFeedUpdate.kt | 18 +- .../data_feed/PollDataFeed.kt | 18 +- .../data_feed/StartDataFeed.kt | 18 +- .../data_feed/device_data/DeviceData.kt | 24 +- .../data_feed/device_data/DeviceDataMask.kt | 18 +- .../data_feed/stay_aligned/StayAlignedPose.kt | 18 +- .../stay_aligned/StayAlignedTracker.kt | 18 +- .../data_feed/tracker/TrackerData.kt | 18 +- .../data_feed/tracker/TrackerDataMask.kt | 18 +- .../data_feed/tracker/TrackerInfo.kt | 30 +- .../solarxr_protocol/datatypes/BodyPart.kt | 109 +- .../src/solarxr_protocol/datatypes/Bytes.kt | 19 +- .../solarxr_protocol/datatypes/DeviceId.kt | 16 +- .../datatypes/DeviceIdTable.kt | 18 +- .../datatypes/FilteringType.kt | 3 + .../datatypes/FirmwareErrorCode.kt | 3 + .../src/solarxr_protocol/datatypes/HzF32.kt | 16 +- .../solarxr_protocol/datatypes/Ipv4Address.kt | 16 +- .../src/solarxr_protocol/datatypes/LogData.kt | 25 +- .../datatypes/MagnetometerStatus.kt | 5 +- .../datatypes/RestCalibrationStatus.kt | 7 +- .../solarxr_protocol/datatypes/StringTable.kt | 24 +- .../solarxr_protocol/datatypes/Temperature.kt | 16 +- .../solarxr_protocol/datatypes/TrackerId.kt | 18 +- .../solarxr_protocol/datatypes/TrackerRole.kt | 41 +- .../datatypes/TrackerStatus.kt | 5 +- .../datatypes/TransactionId.kt | 16 +- .../datatypes/hardware_info/BoardType.kt | 18 +- .../hardware_info/FirmwareStatusMask.kt | 18 +- .../hardware_info/HardwareAddress.kt | 16 +- .../datatypes/hardware_info/HardwareInfo.kt | 60 +- .../datatypes/hardware_info/HardwareStatus.kt | 18 +- .../datatypes/hardware_info/ImuType.kt | 4 +- .../datatypes/hardware_info/McuType.kt | 8 +- .../hardware_info/TrackerDataType.kt | 7 +- .../solarxr_protocol/datatypes/math/Quat.kt | 16 +- .../solarxr_protocol/datatypes/math/Vec3f.kt | 16 +- .../src/solarxr_protocol/pub_sub/KeyValues.kt | 18 +- .../src/solarxr_protocol/pub_sub/Message.kt | 18 +- .../src/solarxr_protocol/pub_sub/Payload.kt | 7 +- .../solarxr_protocol/pub_sub/PubSubHeader.kt | 18 +- .../solarxr_protocol/pub_sub/PubSubUnion.kt | 3 + .../pub_sub/SubscriptionRequest.kt | 18 +- .../src/solarxr_protocol/pub_sub/Topic.kt | 3 + .../solarxr_protocol/pub_sub/TopicHandle.kt | 18 +- .../pub_sub/TopicHandleRequest.kt | 18 +- .../src/solarxr_protocol/pub_sub/TopicId.kt | 36 +- .../solarxr_protocol/pub_sub/TopicMapping.kt | 18 +- .../rpc/AddUnknownDeviceRequest.kt | 24 +- .../rpc/ArmsMountingResetMode.kt | 7 +- .../rpc/AssignTrackerRequest.kt | 24 +- .../rpc/AutoBoneApplyRequest.kt | 18 +- .../rpc/AutoBoneCancelRecordingRequest.kt | 18 +- .../rpc/AutoBoneEpochResponse.kt | 18 +- .../rpc/AutoBoneProcessRequest.kt | 18 +- .../rpc/AutoBoneProcessStatusResponse.kt | 18 +- .../rpc/AutoBoneProcessType.kt | 3 + .../solarxr_protocol/rpc/AutoBoneSettings.kt | 18 +- .../rpc/AutoBoneStopRecordingRequest.kt | 18 +- .../rpc/ChangeMagToggleRequest.kt | 18 +- .../rpc/ChangeSettingsRequest.kt | 18 +- .../rpc/ChangeSkeletonConfigRequest.kt | 18 +- .../rpc/ClearDriftCompensationRequest.kt | 18 +- .../rpc/ClearMountingResetRequest.kt | 18 +- .../rpc/CloseSerialRequest.kt | 18 +- .../solarxr_protocol/rpc/ComputerDirectory.kt | 3 + .../DetectStayAlignedRelaxedPoseRequest.kt | 18 +- .../rpc/DriftCompensationSettings.kt | 18 +- .../rpc/EnableStayAlignedRequest.kt | 18 +- .../solarxr_protocol/rpc/FilteringSettings.kt | 18 +- .../src/solarxr_protocol/rpc/FirmwarePart.kt | 24 +- .../rpc/FirmwareUpdateDeviceId.kt | 5 +- .../rpc/FirmwareUpdateMethod.kt | 3 + .../rpc/FirmwareUpdateRequest.kt | 18 +- .../rpc/FirmwareUpdateStatus.kt | 23 +- .../rpc/FirmwareUpdateStatusResponse.kt | 18 +- .../rpc/FirmwareUpdateStopQueuesRequest.kt | 18 +- .../rpc/ForgetDeviceRequest.kt | 24 +- .../solarxr_protocol/rpc/HeartbeatRequest.kt | 18 +- .../solarxr_protocol/rpc/HeartbeatResponse.kt | 18 +- .../src/solarxr_protocol/rpc/HeightRequest.kt | 18 +- .../solarxr_protocol/rpc/HeightResponse.kt | 18 +- .../rpc/LegTweaksTmpChange.kt | 18 +- .../solarxr_protocol/rpc/LegTweaksTmpClear.kt | 18 +- .../solarxr_protocol/rpc/MagToggleRequest.kt | 18 +- .../solarxr_protocol/rpc/MagToggleResponse.kt | 18 +- .../rpc/NewSerialDeviceResponse.kt | 18 +- .../solarxr_protocol/rpc/OSCRouterSettings.kt | 18 +- .../src/solarxr_protocol/rpc/OSCSettings.kt | 24 +- .../rpc/OSCTrackersSetting.kt | 18 +- .../solarxr_protocol/rpc/OTAFirmwareUpdate.kt | 18 +- .../solarxr_protocol/rpc/OpenSerialRequest.kt | 24 +- .../rpc/OverlayDisplayModeChangeRequest.kt | 18 +- .../rpc/OverlayDisplayModeRequest.kt | 18 +- .../rpc/OverlayDisplayModeResponse.kt | 18 +- .../solarxr_protocol/rpc/RecordBVHRequest.kt | 24 +- .../solarxr_protocol/rpc/RecordBVHStatus.kt | 18 +- .../rpc/RecordBVHStatusRequest.kt | 18 +- .../src/solarxr_protocol/rpc/ResetRequest.kt | 19 +- .../src/solarxr_protocol/rpc/ResetResponse.kt | 18 +- .../src/solarxr_protocol/rpc/ResetStatus.kt | 3 + .../rpc/ResetStayAlignedRelaxedPoseRequest.kt | 18 +- .../src/solarxr_protocol/rpc/ResetType.kt | 3 + .../solarxr_protocol/rpc/ResetsSettings.kt | 18 +- .../solarxr_protocol/rpc/RpcMessageHeader.kt | 18 +- .../rpc/SaveFileNotification.kt | 37 +- .../src/solarxr_protocol/rpc/SerialDevice.kt | 30 +- .../solarxr_protocol/rpc/SerialDevicePort.kt | 24 +- .../rpc/SerialDevicesRequest.kt | 18 +- .../rpc/SerialDevicesResponse.kt | 18 +- .../rpc/SerialFirmwareUpdate.kt | 30 +- .../rpc/SerialTrackerCustomCommandRequest.kt | 24 +- .../rpc/SerialTrackerFactoryResetRequest.kt | 18 +- .../rpc/SerialTrackerGetInfoRequest.kt | 18 +- .../rpc/SerialTrackerGetWifiScanRequest.kt | 18 +- .../rpc/SerialTrackerRebootRequest.kt | 18 +- .../rpc/SerialUpdateResponse.kt | 24 +- .../rpc/ServerInfosRequest.kt | 18 +- .../rpc/ServerInfosResponse.kt | 24 +- .../rpc/SetPauseTrackingRequest.kt | 18 +- .../solarxr_protocol/rpc/SetWifiRequest.kt | 30 +- .../solarxr_protocol/rpc/SettingsRequest.kt | 18 +- .../rpc/SettingsResetRequest.kt | 18 +- .../solarxr_protocol/rpc/SettingsResponse.kt | 18 +- .../src/solarxr_protocol/rpc/SkeletonBone.kt | 47 +- .../rpc/SkeletonConfigRequest.kt | 18 +- .../rpc/SkeletonConfigResponse.kt | 18 +- .../src/solarxr_protocol/rpc/SkeletonPart.kt | 18 +- .../rpc/SkeletonResetAllRequest.kt | 18 +- .../rpc/StartWifiProvisioningRequest.kt | 36 +- .../src/solarxr_protocol/rpc/StatusData.kt | 3 + .../src/solarxr_protocol/rpc/StatusMessage.kt | 18 +- .../rpc/StatusPublicNetwork.kt | 18 +- .../rpc/StatusSteamVRDisconnected.kt | 24 +- .../solarxr_protocol/rpc/StatusSystemFixed.kt | 18 +- .../rpc/StatusSystemRequest.kt | 18 +- .../rpc/StatusSystemResponse.kt | 18 +- .../rpc/StatusSystemUpdate.kt | 18 +- .../rpc/StatusTrackerError.kt | 18 +- .../rpc/StatusTrackerReset.kt | 18 +- .../rpc/StatusUnassignedHMD.kt | 18 +- .../rpc/StayAlignedRelaxedPose.kt | 3 + .../rpc/StayAlignedSettings.kt | 18 +- .../rpc/SteamVRTrackersSetting.kt | 18 +- .../rpc/StopWifiProvisioningRequest.kt | 18 +- .../rpc/TapDetectionSettings.kt | 18 +- .../rpc/TapDetectionSetupNotification.kt | 18 +- .../rpc/TrackingPauseStateRequest.kt | 18 +- .../rpc/TrackingPauseStateResponse.kt | 18 +- .../rpc/UnknownDeviceHandshakeNotification.kt | 24 +- .../solarxr_protocol/rpc/VMCOSCSettings.kt | 24 +- .../rpc/VRCAvatarMeasurementType.kt | 5 +- .../rpc/VRCConfigRecommendedValues.kt | 19 +- .../rpc/VRCConfigStateChangeResponse.kt | 18 +- .../rpc/VRCConfigStateRequest.kt | 18 +- .../solarxr_protocol/rpc/VRCConfigValidity.kt | 18 +- .../solarxr_protocol/rpc/VRCConfigValues.kt | 18 +- .../solarxr_protocol/rpc/VRCOSCSettings.kt | 18 +- .../src/solarxr_protocol/rpc/VRCSpineMode.kt | 9 +- .../solarxr_protocol/rpc/VRCTrackerModel.kt | 3 + .../rpc/WifiProvisioningStatus.kt | 17 +- .../rpc/WifiProvisioningStatusResponse.kt | 18 +- .../rpc/settings/LegTweaksSettings.kt | 18 +- .../rpc/settings/ModelRatios.kt | 18 +- .../rpc/settings/ModelSettings.kt | 18 +- .../rpc/settings/ModelToggles.kt | 18 +- .../rpc/settings/SkeletonHeight.kt | 18 +- .../data_feed/bone_generated.rs | 14 +- .../data_feed/data_feed_config_generated.rs | 12 +- .../data_feed/data_feed_message_generated.rs | 4 +- .../data_feed_message_header_generated.rs | 14 +- .../data_feed/data_feed_update_generated.rs | 12 +- .../device_data/device_data_generated.rs | 14 +- .../device_data/device_data_mask_generated.rs | 14 +- .../data_feed/poll_data_feed_generated.rs | 14 +- .../data_feed/start_data_feed_generated.rs | 14 +- .../stay_aligned_pose_generated.rs | 14 +- .../stay_aligned_tracker_generated.rs | 14 +- .../tracker/tracker_data_generated.rs | 14 +- .../tracker/tracker_data_mask_generated.rs | 14 +- .../tracker/tracker_info_generated.rs | 14 +- .../datatypes/body_part_generated.rs | 4 +- .../datatypes/bytes_generated.rs | 14 +- .../datatypes/device_id_generated.rs | 10 +- .../datatypes/device_id_table_generated.rs | 14 +- .../datatypes/filtering_type_generated.rs | 4 +- .../firmware_error_code_generated.rs | 4 +- .../hardware_info/board_type_generated.rs | 4 +- .../firmware_status_mask_generated.rs | 14 +- .../hardware_address_generated.rs | 10 +- .../hardware_info/hardware_info_generated.rs | 14 +- .../hardware_status_generated.rs | 14 +- .../hardware_info/imu_type_generated.rs | 4 +- .../hardware_info/mcu_type_generated.rs | 4 +- .../tracker_data_type_generated.rs | 4 +- .../datatypes/hz_f32_generated.rs | 10 +- .../datatypes/ipv_4_address_generated.rs | 10 +- .../datatypes/log_data_generated.rs | 14 +- .../magnetometer_status_generated.rs | 4 +- .../datatypes/math/quat_generated.rs | 10 +- .../datatypes/math/vec_3f_generated.rs | 10 +- .../rest_calibration_status_generated.rs | 4 +- .../datatypes/string_table_generated.rs | 14 +- .../datatypes/temperature_generated.rs | 10 +- .../datatypes/tracker_id_generated.rs | 14 +- .../datatypes/tracker_role_generated.rs | 4 +- .../datatypes/tracker_status_generated.rs | 4 +- .../datatypes/transaction_id_generated.rs | 10 +- .../message_bundle_generated.rs | 14 +- .../pub_sub/key_values_generated.rs | 14 +- .../pub_sub/message_generated.rs | 14 +- .../pub_sub/payload_generated.rs | 4 +- .../pub_sub/pub_sub_header_generated.rs | 14 +- .../pub_sub/pub_sub_union_generated.rs | 4 +- .../pub_sub/subscription_request_generated.rs | 14 +- .../pub_sub/topic_generated.rs | 4 +- .../pub_sub/topic_handle_generated.rs | 14 +- .../pub_sub/topic_handle_request_generated.rs | 14 +- .../pub_sub/topic_id_generated.rs | 14 +- .../pub_sub/topic_mapping_generated.rs | 14 +- .../add_unknown_device_request_generated.rs | 14 +- .../rpc/arms_mounting_reset_mode_generated.rs | 4 +- .../rpc/assign_tracker_request_generated.rs | 14 +- .../rpc/auto_bone_apply_request_generated.rs | 14 +- ...bone_cancel_recording_request_generated.rs | 14 +- .../rpc/auto_bone_epoch_response_generated.rs | 14 +- .../auto_bone_process_request_generated.rs | 14 +- ..._bone_process_status_response_generated.rs | 14 +- .../rpc/auto_bone_process_type_generated.rs | 4 +- .../rpc/auto_bone_settings_generated.rs | 14 +- ...o_bone_stop_recording_request_generated.rs | 14 +- .../change_mag_toggle_request_generated.rs | 14 +- .../rpc/change_settings_request_generated.rs | 14 +- ...hange_skeleton_config_request_generated.rs | 14 +- ...ar_drift_compensation_request_generated.rs | 14 +- .../clear_mounting_reset_request_generated.rs | 14 +- .../rpc/close_serial_request_generated.rs | 14 +- .../rpc/computer_directory_generated.rs | 4 +- ..._aligned_relaxed_pose_request_generated.rs | 14 +- .../drift_compensation_settings_generated.rs | 14 +- .../enable_stay_aligned_request_generated.rs | 14 +- .../rpc/filtering_settings_generated.rs | 14 +- .../rpc/firmware_part_generated.rs | 12 +- .../firmware_update_device_id_generated.rs | 4 +- .../rpc/firmware_update_method_generated.rs | 4 +- .../rpc/firmware_update_request_generated.rs | 14 +- .../rpc/firmware_update_status_generated.rs | 4 +- ...rmware_update_status_response_generated.rs | 14 +- ...re_update_stop_queues_request_generated.rs | 14 +- .../rpc/forget_device_request_generated.rs | 14 +- .../rpc/heartbeat_request_generated.rs | 14 +- .../rpc/heartbeat_response_generated.rs | 14 +- .../rpc/height_request_generated.rs | 14 +- .../rpc/height_response_generated.rs | 14 +- .../rpc/leg_tweaks_tmp_change_generated.rs | 14 +- .../rpc/leg_tweaks_tmp_clear_generated.rs | 14 +- .../rpc/mag_toggle_request_generated.rs | 14 +- .../rpc/mag_toggle_response_generated.rs | 14 +- .../new_serial_device_response_generated.rs | 14 +- .../rpc/open_serial_request_generated.rs | 14 +- .../rpc/oscrouter_settings_generated.rs | 14 +- .../rpc/oscsettings_generated.rs | 14 +- .../rpc/osctrackers_setting_generated.rs | 14 +- .../rpc/otafirmware_update_generated.rs | 14 +- ...y_display_mode_change_request_generated.rs | 14 +- .../overlay_display_mode_request_generated.rs | 14 +- ...overlay_display_mode_response_generated.rs | 14 +- .../rpc/record_bvhrequest_generated.rs | 14 +- .../rpc/record_bvhstatus_generated.rs | 14 +- .../rpc/record_bvhstatus_request_generated.rs | 14 +- .../rpc/reset_request_generated.rs | 14 +- .../rpc/reset_response_generated.rs | 8 +- .../rpc/reset_status_generated.rs | 4 +- ..._aligned_relaxed_pose_request_generated.rs | 14 +- .../rpc/reset_type_generated.rs | 4 +- .../rpc/resets_settings_generated.rs | 14 +- .../rpc/rpc_message_generated.rs | 4 +- .../rpc/rpc_message_header_generated.rs | 14 +- .../rpc/save_file_notification_generated.rs | 14 +- .../rpc/serial_device_generated.rs | 14 +- .../rpc/serial_device_port_generated.rs | 14 +- .../rpc/serial_devices_request_generated.rs | 14 +- .../rpc/serial_devices_response_generated.rs | 14 +- .../rpc/serial_firmware_update_generated.rs | 14 +- ...racker_custom_command_request_generated.rs | 14 +- ...tracker_factory_reset_request_generated.rs | 14 +- ...rial_tracker_get_info_request_generated.rs | 14 +- ...tracker_get_wifi_scan_request_generated.rs | 14 +- ...serial_tracker_reboot_request_generated.rs | 14 +- .../rpc/serial_update_response_generated.rs | 14 +- .../rpc/server_infos_request_generated.rs | 14 +- .../rpc/server_infos_response_generated.rs | 14 +- .../set_pause_tracking_request_generated.rs | 14 +- .../rpc/set_wifi_request_generated.rs | 14 +- .../settings/leg_tweaks_settings_generated.rs | 14 +- .../rpc/settings/model_ratios_generated.rs | 14 +- .../rpc/settings/model_settings_generated.rs | 14 +- .../rpc/settings/model_toggles_generated.rs | 14 +- .../rpc/settings/skeleton_height_generated.rs | 14 +- .../rpc/settings_request_generated.rs | 14 +- .../rpc/settings_reset_request_generated.rs | 14 +- .../rpc/settings_response_generated.rs | 14 +- .../rpc/skeleton_bone_generated.rs | 4 +- .../rpc/skeleton_config_request_generated.rs | 14 +- .../rpc/skeleton_config_response_generated.rs | 14 +- .../rpc/skeleton_part_generated.rs | 14 +- .../skeleton_reset_all_request_generated.rs | 14 +- ...art_wifi_provisioning_request_generated.rs | 14 +- .../rpc/status_data_generated.rs | 4 +- .../rpc/status_message_generated.rs | 14 +- .../rpc/status_public_network_generated.rs | 14 +- .../status_steam_vrdisconnected_generated.rs | 14 +- .../rpc/status_system_fixed_generated.rs | 14 +- .../rpc/status_system_request_generated.rs | 14 +- .../rpc/status_system_response_generated.rs | 14 +- .../rpc/status_system_update_generated.rs | 14 +- .../rpc/status_tracker_error_generated.rs | 14 +- .../rpc/status_tracker_reset_generated.rs | 14 +- .../rpc/status_unassigned_hmd_generated.rs | 14 +- .../stay_aligned_relaxed_pose_generated.rs | 4 +- .../rpc/stay_aligned_settings_generated.rs | 14 +- .../rpc/steam_vrtrackers_setting_generated.rs | 14 +- ...top_wifi_provisioning_request_generated.rs | 14 +- .../rpc/tap_detection_settings_generated.rs | 14 +- ..._detection_setup_notification_generated.rs | 14 +- .../tracking_pause_state_request_generated.rs | 14 +- ...tracking_pause_state_response_generated.rs | 14 +- ...device_handshake_notification_generated.rs | 14 +- .../rpc/vmcoscsettings_generated.rs | 14 +- .../vrcavatar_measurement_type_generated.rs | 4 +- .../vrcconfig_recommended_values_generated.rs | 14 +- ...cconfig_state_change_response_generated.rs | 12 +- .../rpc/vrcconfig_state_request_generated.rs | 14 +- .../rpc/vrcconfig_validity_generated.rs | 14 +- .../rpc/vrcconfig_values_generated.rs | 14 +- .../rpc/vrcoscsettings_generated.rs | 14 +- .../rpc/vrcspine_mode_generated.rs | 4 +- .../rpc/vrctracker_model_generated.rs | 4 +- .../rpc/wifi_provisioning_status_generated.rs | 4 +- ..._provisioning_status_response_generated.rs | 14 +- protocol/typescript/src/all.ts | 5 - protocol/typescript/src/solarxr-protocol.ts | 9 - .../src/solarxr-protocol/data-feed.ts | 17 - .../src/solarxr-protocol/data-feed/bone.ts | 2 - .../data-feed/data-feed-config.ts | 2 - .../data-feed/data-feed-message-header.ts | 2 - .../data-feed/data-feed-message.ts | 2 - .../data-feed/data-feed-update.ts | 2 - .../solarxr-protocol/data-feed/device-data.ts | 6 - .../data-feed/device-data/device-data-mask.ts | 2 - .../data-feed/device-data/device-data.ts | 2 - .../data-feed/poll-data-feed.ts | 2 - .../data-feed/start-data-feed.ts | 2 - .../data-feed/stay-aligned.ts | 6 - .../stay-aligned/stay-aligned-pose.ts | 2 - .../stay-aligned/stay-aligned-tracker.ts | 2 - .../src/solarxr-protocol/data-feed/tracker.ts | 7 - .../data-feed/tracker/tracker-data-mask.ts | 2 - .../data-feed/tracker/tracker-data.ts | 4 +- .../data-feed/tracker/tracker-info.ts | 2 - .../src/solarxr-protocol/datatypes.ts | 27 - .../solarxr-protocol/datatypes/body-part.ts | 2 - .../src/solarxr-protocol/datatypes/bytes.ts | 2 - .../datatypes/device-id-table.ts | 2 - .../solarxr-protocol/datatypes/device-id.ts | 2 - .../datatypes/filtering-type.ts | 2 - .../datatypes/firmware-error-code.ts | 2 - .../datatypes/hardware-info.ts | 12 - .../datatypes/hardware-info/board-type.ts | 2 - .../hardware-info/firmware-status-mask.ts | 2 - .../hardware-info/hardware-address.ts | 4 +- .../datatypes/hardware-info/hardware-info.ts | 4 +- .../hardware-info/hardware-status.ts | 14 +- .../datatypes/hardware-info/imu-type.ts | 2 - .../datatypes/hardware-info/mcu-type.ts | 2 - .../hardware-info/tracker-data-type.ts | 2 - .../src/solarxr-protocol/datatypes/hz-f32.ts | 2 - .../datatypes/ipv4-address.ts | 2 - .../solarxr-protocol/datatypes/log-data.ts | 2 - .../datatypes/magnetometer-status.ts | 2 - .../src/solarxr-protocol/datatypes/math.ts | 6 - .../solarxr-protocol/datatypes/math/quat.ts | 2 - .../solarxr-protocol/datatypes/math/vec3f.ts | 2 - .../datatypes/rest-calibration-status.ts | 2 - .../datatypes/string-table.ts | 2 - .../solarxr-protocol/datatypes/temperature.ts | 2 - .../solarxr-protocol/datatypes/tracker-id.ts | 2 - .../datatypes/tracker-role.ts | 2 - .../datatypes/tracker-status.ts | 2 - .../datatypes/transaction-id.ts | 2 - .../src/solarxr-protocol/message-bundle.ts | 2 - .../src/solarxr-protocol/pub-sub.ts | 21 - .../solarxr-protocol/pub-sub/key-values.ts | 2 - .../src/solarxr-protocol/pub-sub/message.ts | 2 - .../src/solarxr-protocol/pub-sub/payload.ts | 2 - .../pub-sub/pub-sub-header.ts | 2 - .../solarxr-protocol/pub-sub/pub-sub-union.ts | 2 - .../pub-sub/subscription-request.ts | 2 - .../pub-sub/topic-handle-request.ts | 2 - .../solarxr-protocol/pub-sub/topic-handle.ts | 2 - .../src/solarxr-protocol/pub-sub/topic-id.ts | 2 - .../solarxr-protocol/pub-sub/topic-mapping.ts | 2 - .../src/solarxr-protocol/pub-sub/topic.ts | 2 - .../typescript/src/solarxr-protocol/rpc.ts | 125 - .../rpc/add-unknown-device-request.ts | 2 - .../rpc/arms-mounting-reset-mode.ts | 2 - .../rpc/assign-tracker-request.ts | 2 - .../rpc/auto-bone-apply-request.ts | 2 - .../rpc/auto-bone-cancel-recording-request.ts | 2 - .../rpc/auto-bone-epoch-response.ts | 2 - .../rpc/auto-bone-process-request.ts | 2 - .../rpc/auto-bone-process-status-response.ts | 2 - .../rpc/auto-bone-process-type.ts | 2 - .../rpc/auto-bone-settings.ts | 46 +- .../rpc/auto-bone-stop-recording-request.ts | 2 - .../rpc/change-mag-toggle-request.ts | 2 - .../rpc/change-settings-request.ts | 2 - .../rpc/change-skeleton-config-request.ts | 2 - .../rpc/clear-drift-compensation-request.ts | 2 - .../rpc/clear-mounting-reset-request.ts | 2 - .../rpc/close-serial-request.ts | 2 - .../rpc/computer-directory.ts | 2 - ...etect-stay-aligned-relaxed-pose-request.ts | 2 - .../rpc/drift-compensation-settings.ts | 2 - .../rpc/enable-stay-aligned-request.ts | 2 - .../rpc/filtering-settings.ts | 2 - .../src/solarxr-protocol/rpc/firmware-part.ts | 2 - .../rpc/firmware-update-device-id.ts | 2 - .../rpc/firmware-update-method.ts | 2 - .../rpc/firmware-update-request.ts | 2 - .../rpc/firmware-update-status-response.ts | 2 - .../rpc/firmware-update-status.ts | 2 - .../firmware-update-stop-queues-request.ts | 2 - .../rpc/forget-device-request.ts | 2 - .../solarxr-protocol/rpc/heartbeat-request.ts | 2 - .../rpc/heartbeat-response.ts | 2 - .../solarxr-protocol/rpc/height-request.ts | 2 - .../solarxr-protocol/rpc/height-response.ts | 2 - .../rpc/leg-tweaks-tmp-change.ts | 10 +- .../rpc/leg-tweaks-tmp-clear.ts | 2 - .../rpc/mag-toggle-request.ts | 2 - .../rpc/mag-toggle-response.ts | 2 - .../rpc/new-serial-device-response.ts | 2 - .../rpc/open-serial-request.ts | 2 - .../rpc/oscrouter-settings.ts | 2 - .../src/solarxr-protocol/rpc/oscsettings.ts | 2 - .../rpc/osctrackers-setting.ts | 2 - .../rpc/otafirmware-update.ts | 2 - .../overlay-display-mode-change-request.ts | 6 +- .../rpc/overlay-display-mode-request.ts | 2 - .../rpc/overlay-display-mode-response.ts | 2 - .../solarxr-protocol/rpc/record-bvhrequest.ts | 2 - .../rpc/record-bvhstatus-request.ts | 2 - .../solarxr-protocol/rpc/record-bvhstatus.ts | 2 - .../src/solarxr-protocol/rpc/reset-request.ts | 4 +- .../solarxr-protocol/rpc/reset-response.ts | 2 - .../src/solarxr-protocol/rpc/reset-status.ts | 2 - ...reset-stay-aligned-relaxed-pose-request.ts | 2 - .../src/solarxr-protocol/rpc/reset-type.ts | 2 - .../solarxr-protocol/rpc/resets-settings.ts | 2 - .../rpc/rpc-message-header.ts | 2 - .../src/solarxr-protocol/rpc/rpc-message.ts | 2 - .../rpc/save-file-notification.ts | 4 +- .../rpc/serial-device-port.ts | 2 - .../src/solarxr-protocol/rpc/serial-device.ts | 2 - .../rpc/serial-devices-request.ts | 2 - .../rpc/serial-devices-response.ts | 2 - .../rpc/serial-firmware-update.ts | 2 - .../serial-tracker-custom-command-request.ts | 2 - .../serial-tracker-factory-reset-request.ts | 2 - .../rpc/serial-tracker-get-info-request.ts | 2 - .../serial-tracker-get-wifi-scan-request.ts | 2 - .../rpc/serial-tracker-reboot-request.ts | 2 - .../rpc/serial-update-response.ts | 2 - .../rpc/server-infos-request.ts | 2 - .../rpc/server-infos-response.ts | 2 - .../rpc/set-pause-tracking-request.ts | 2 - .../solarxr-protocol/rpc/set-wifi-request.ts | 2 - .../solarxr-protocol/rpc/settings-request.ts | 2 - .../rpc/settings-reset-request.ts | 2 - .../solarxr-protocol/rpc/settings-response.ts | 2 - .../src/solarxr-protocol/rpc/settings.ts | 9 - .../rpc/settings/leg-tweaks-settings.ts | 4 +- .../rpc/settings/model-ratios.ts | 16 +- .../rpc/settings/model-settings.ts | 2 - .../rpc/settings/model-toggles.ts | 26 +- .../rpc/settings/skeleton-height.ts | 6 +- .../src/solarxr-protocol/rpc/skeleton-bone.ts | 2 - .../rpc/skeleton-config-request.ts | 2 - .../rpc/skeleton-config-response.ts | 2 - .../src/solarxr-protocol/rpc/skeleton-part.ts | 2 - .../rpc/skeleton-reset-all-request.ts | 2 - .../rpc/start-wifi-provisioning-request.ts | 2 - .../src/solarxr-protocol/rpc/status-data.ts | 2 - .../solarxr-protocol/rpc/status-message.ts | 2 - .../rpc/status-public-network.ts | 2 - .../rpc/status-steam-vrdisconnected.ts | 2 - .../rpc/status-system-fixed.ts | 2 - .../rpc/status-system-request.ts | 2 - .../rpc/status-system-response.ts | 2 - .../rpc/status-system-update.ts | 2 - .../rpc/status-tracker-error.ts | 2 - .../rpc/status-tracker-reset.ts | 2 - .../rpc/status-unassigned-hmd.ts | 2 - .../rpc/stay-aligned-relaxed-pose.ts | 2 - .../rpc/stay-aligned-settings.ts | 2 - .../rpc/steam-vrtrackers-setting.ts | 2 - .../rpc/stop-wifi-provisioning-request.ts | 2 - .../rpc/tap-detection-settings.ts | 24 +- .../rpc/tap-detection-setup-notification.ts | 2 - .../rpc/tracking-pause-state-request.ts | 2 - .../rpc/tracking-pause-state-response.ts | 2 - .../unknown-device-handshake-notification.ts | 2 - .../solarxr-protocol/rpc/vmcoscsettings.ts | 2 - .../rpc/vrcavatar-measurement-type.ts | 2 - .../rpc/vrcconfig-recommended-values.ts | 4 +- .../rpc/vrcconfig-state-change-response.ts | 2 - .../rpc/vrcconfig-state-request.ts | 2 - .../rpc/vrcconfig-validity.ts | 2 - .../solarxr-protocol/rpc/vrcconfig-values.ts | 2 - .../solarxr-protocol/rpc/vrcoscsettings.ts | 2 - .../src/solarxr-protocol/rpc/vrcspine-mode.ts | 2 - .../solarxr-protocol/rpc/vrctracker-model.ts | 2 - .../rpc/wifi-provisioning-status-response.ts | 2 - .../rpc/wifi-provisioning-status.ts | 2 - 815 files changed, 4943 insertions(+), 10771 deletions(-) delete mode 100644 protocol/typescript/src/all.ts delete mode 100644 protocol/typescript/src/solarxr-protocol.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/data-feed.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/datatypes.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/datatypes/math.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/pub-sub.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/rpc.ts delete mode 100644 protocol/typescript/src/solarxr-protocol/rpc/settings.ts diff --git a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h index f4a467d4..6ceedf0e 100644 --- a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h +++ b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h @@ -8,9 +8,9 @@ // Ensure the included flatbuffers.h is the same version as when this file was // generated, otherwise it may not be compatible. -static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 9 && - FLATBUFFERS_VERSION_REVISION == 23, +static_assert(FLATBUFFERS_VERSION_MAJOR == 22 && + FLATBUFFERS_VERSION_MINOR == 10 && + FLATBUFFERS_VERSION_REVISION == 26, "Non-compatible flatbuffers version included"); namespace solarxr_protocol { @@ -552,7 +552,7 @@ inline const char * const *EnumNamesFirmwareErrorCode() { } inline const char *EnumNameFirmwareErrorCode(FirmwareErrorCode e) { - if (::flatbuffers::IsOutRange(e, FirmwareErrorCode::Other, FirmwareErrorCode::ImuError)) return ""; + if (flatbuffers::IsOutRange(e, FirmwareErrorCode::Other, FirmwareErrorCode::ImuError)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareErrorCode()[index]; } @@ -586,7 +586,7 @@ inline const char * const *EnumNamesFilteringType() { } inline const char *EnumNameFilteringType(FilteringType e) { - if (::flatbuffers::IsOutRange(e, FilteringType::NONE, FilteringType::PREDICTION)) return ""; + if (flatbuffers::IsOutRange(e, FilteringType::NONE, FilteringType::PREDICTION)) return ""; const size_t index = static_cast(e); return EnumNamesFilteringType()[index]; } @@ -698,7 +698,7 @@ inline const char * const *EnumNamesTrackerRole() { } inline const char *EnumNameTrackerRole(TrackerRole e) { - if (::flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::RIGHT_TOE_3)) return ""; + if (flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::RIGHT_TOE_3)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerRole()[index]; } @@ -903,7 +903,7 @@ inline const char * const *EnumNamesBodyPart() { } inline const char *EnumNameBodyPart(BodyPart e) { - if (::flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_TOE_3)) return ""; + if (flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_TOE_3)) return ""; const size_t index = static_cast(e); return EnumNamesBodyPart()[index]; } @@ -948,7 +948,7 @@ inline const char * const *EnumNamesTrackerStatus() { } inline const char *EnumNameTrackerStatus(TrackerStatus e) { - if (::flatbuffers::IsOutRange(e, TrackerStatus::NONE, TrackerStatus::TIMED_OUT)) return ""; + if (flatbuffers::IsOutRange(e, TrackerStatus::NONE, TrackerStatus::TIMED_OUT)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerStatus()[index]; } @@ -981,7 +981,7 @@ inline const char * const *EnumNamesMagnetometerStatus() { } inline const char *EnumNameMagnetometerStatus(MagnetometerStatus e) { - if (::flatbuffers::IsOutRange(e, MagnetometerStatus::NOT_SUPPORTED, MagnetometerStatus::ENABLED)) return ""; + if (flatbuffers::IsOutRange(e, MagnetometerStatus::NOT_SUPPORTED, MagnetometerStatus::ENABLED)) return ""; const size_t index = static_cast(e); return EnumNamesMagnetometerStatus()[index]; } @@ -1014,7 +1014,7 @@ inline const char * const *EnumNamesRestCalibrationStatus() { } inline const char *EnumNameRestCalibrationStatus(RestCalibrationStatus e) { - if (::flatbuffers::IsOutRange(e, RestCalibrationStatus::NOT_SUPPORTED, RestCalibrationStatus::CALIBRATED)) return ""; + if (flatbuffers::IsOutRange(e, RestCalibrationStatus::NOT_SUPPORTED, RestCalibrationStatus::CALIBRATED)) return ""; const size_t index = static_cast(e); return EnumNamesRestCalibrationStatus()[index]; } @@ -1269,7 +1269,7 @@ inline const char * const *EnumNamesTrackerDataType() { } inline const char *EnumNameTrackerDataType(TrackerDataType e) { - if (::flatbuffers::IsOutRange(e, TrackerDataType::ROTATION, TrackerDataType::FLEX_ANGLE)) return ""; + if (flatbuffers::IsOutRange(e, TrackerDataType::ROTATION, TrackerDataType::FLEX_ANGLE)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerDataType()[index]; } @@ -1313,7 +1313,7 @@ inline const char * const *EnumNamesDataFeedMessage() { } inline const char *EnumNameDataFeedMessage(DataFeedMessage e) { - if (::flatbuffers::IsOutRange(e, DataFeedMessage::NONE, DataFeedMessage::DataFeedConfig)) return ""; + if (flatbuffers::IsOutRange(e, DataFeedMessage::NONE, DataFeedMessage::DataFeedConfig)) return ""; const size_t index = static_cast(e); return EnumNamesDataFeedMessage()[index]; } @@ -1338,8 +1338,8 @@ template<> struct DataFeedMessageTraits> *values, const ::flatbuffers::Vector *types); +bool VerifyDataFeedMessage(flatbuffers::Verifier &verifier, const void *obj, DataFeedMessage type); +bool VerifyDataFeedMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); } // namespace data_feed @@ -1957,7 +1957,7 @@ inline const char * const *EnumNamesResetType() { } inline const char *EnumNameResetType(ResetType e) { - if (::flatbuffers::IsOutRange(e, ResetType::Yaw, ResetType::Mounting)) return ""; + if (flatbuffers::IsOutRange(e, ResetType::Yaw, ResetType::Mounting)) return ""; const size_t index = static_cast(e); return EnumNamesResetType()[index]; } @@ -1987,7 +1987,7 @@ inline const char * const *EnumNamesResetStatus() { } inline const char *EnumNameResetStatus(ResetStatus e) { - if (::flatbuffers::IsOutRange(e, ResetStatus::STARTED, ResetStatus::FINISHED)) return ""; + if (flatbuffers::IsOutRange(e, ResetStatus::STARTED, ResetStatus::FINISHED)) return ""; const size_t index = static_cast(e); return EnumNamesResetStatus()[index]; } @@ -2027,7 +2027,7 @@ inline const char * const *EnumNamesArmsMountingResetMode() { } inline const char *EnumNameArmsMountingResetMode(ArmsMountingResetMode e) { - if (::flatbuffers::IsOutRange(e, ArmsMountingResetMode::BACK, ArmsMountingResetMode::TPOSE_DOWN)) return ""; + if (flatbuffers::IsOutRange(e, ArmsMountingResetMode::BACK, ArmsMountingResetMode::TPOSE_DOWN)) return ""; const size_t index = static_cast(e); return EnumNamesArmsMountingResetMode()[index]; } @@ -2135,7 +2135,7 @@ inline const char * const *EnumNamesSkeletonBone() { } inline const char *EnumNameSkeletonBone(SkeletonBone e) { - if (::flatbuffers::IsOutRange(e, SkeletonBone::NONE, SkeletonBone::RIGHT_TOE_3)) return ""; + if (flatbuffers::IsOutRange(e, SkeletonBone::NONE, SkeletonBone::RIGHT_TOE_3)) return ""; const size_t index = static_cast(e); return EnumNamesSkeletonBone()[index]; } @@ -2192,7 +2192,7 @@ inline const char * const *EnumNamesWifiProvisioningStatus() { } inline const char *EnumNameWifiProvisioningStatus(WifiProvisioningStatus e) { - if (::flatbuffers::IsOutRange(e, WifiProvisioningStatus::NONE, WifiProvisioningStatus::NO_SERIAL_DEVICE_FOUND)) return ""; + if (flatbuffers::IsOutRange(e, WifiProvisioningStatus::NONE, WifiProvisioningStatus::NO_SERIAL_DEVICE_FOUND)) return ""; const size_t index = static_cast(e); return EnumNamesWifiProvisioningStatus()[index]; } @@ -2233,7 +2233,7 @@ inline const char * const *EnumNamesAutoBoneProcessType() { } inline const char *EnumNameAutoBoneProcessType(AutoBoneProcessType e) { - if (::flatbuffers::IsOutRange(e, AutoBoneProcessType::NONE, AutoBoneProcessType::APPLY)) return ""; + if (flatbuffers::IsOutRange(e, AutoBoneProcessType::NONE, AutoBoneProcessType::APPLY)) return ""; const size_t index = static_cast(e); return EnumNamesAutoBoneProcessType()[index]; } @@ -2275,7 +2275,7 @@ inline const char * const *EnumNamesStatusData() { } inline const char *EnumNameStatusData(StatusData e) { - if (::flatbuffers::IsOutRange(e, StatusData::NONE, StatusData::StatusPublicNetwork)) return ""; + if (flatbuffers::IsOutRange(e, StatusData::NONE, StatusData::StatusPublicNetwork)) return ""; const size_t index = static_cast(e); return EnumNamesStatusData()[index]; } @@ -2304,8 +2304,8 @@ template<> struct StatusDataTraits { static const StatusData enum_value = StatusData::StatusPublicNetwork; }; -bool VerifyStatusData(::flatbuffers::Verifier &verifier, const void *obj, StatusData type); -bool VerifyStatusDataVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); +bool VerifyStatusData(flatbuffers::Verifier &verifier, const void *obj, StatusData type); +bool VerifyStatusDataVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); /// Common folders often used in computers for storing files enum class ComputerDirectory : uint8_t { @@ -2330,7 +2330,7 @@ inline const char * const *EnumNamesComputerDirectory() { } inline const char *EnumNameComputerDirectory(ComputerDirectory e) { - if (::flatbuffers::IsOutRange(e, ComputerDirectory::Documents, ComputerDirectory::Documents)) return ""; + if (flatbuffers::IsOutRange(e, ComputerDirectory::Documents, ComputerDirectory::Documents)) return ""; const size_t index = static_cast(e); return EnumNamesComputerDirectory()[index]; } @@ -2418,7 +2418,7 @@ inline const char * const *EnumNamesFirmwareUpdateStatus() { } inline const char *EnumNameFirmwareUpdateStatus(FirmwareUpdateStatus e) { - if (::flatbuffers::IsOutRange(e, FirmwareUpdateStatus::DOWNLOADING, FirmwareUpdateStatus::ERROR_UNKNOWN)) return ""; + if (flatbuffers::IsOutRange(e, FirmwareUpdateStatus::DOWNLOADING, FirmwareUpdateStatus::ERROR_UNKNOWN)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareUpdateStatus()[index]; } @@ -2451,7 +2451,7 @@ inline const char * const *EnumNamesFirmwareUpdateDeviceId() { } inline const char *EnumNameFirmwareUpdateDeviceId(FirmwareUpdateDeviceId e) { - if (::flatbuffers::IsOutRange(e, FirmwareUpdateDeviceId::NONE, FirmwareUpdateDeviceId::SerialDevicePort)) return ""; + if (flatbuffers::IsOutRange(e, FirmwareUpdateDeviceId::NONE, FirmwareUpdateDeviceId::SerialDevicePort)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareUpdateDeviceId()[index]; } @@ -2468,8 +2468,8 @@ template<> struct FirmwareUpdateDeviceIdTraits> *values, const ::flatbuffers::Vector *types); +bool VerifyFirmwareUpdateDeviceId(flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateDeviceId type); +bool VerifyFirmwareUpdateDeviceIdVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); enum class FirmwareUpdateMethod : uint8_t { NONE = 0, @@ -2499,7 +2499,7 @@ inline const char * const *EnumNamesFirmwareUpdateMethod() { } inline const char *EnumNameFirmwareUpdateMethod(FirmwareUpdateMethod e) { - if (::flatbuffers::IsOutRange(e, FirmwareUpdateMethod::NONE, FirmwareUpdateMethod::SerialFirmwareUpdate)) return ""; + if (flatbuffers::IsOutRange(e, FirmwareUpdateMethod::NONE, FirmwareUpdateMethod::SerialFirmwareUpdate)) return ""; const size_t index = static_cast(e); return EnumNamesFirmwareUpdateMethod()[index]; } @@ -2516,8 +2516,8 @@ template<> struct FirmwareUpdateMethodTraits> *values, const ::flatbuffers::Vector *types); +bool VerifyFirmwareUpdateMethod(flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateMethod type); +bool VerifyFirmwareUpdateMethodVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); enum class VRCTrackerModel : uint8_t { UNKNOWN = 0, @@ -2553,7 +2553,7 @@ inline const char * const *EnumNamesVRCTrackerModel() { } inline const char *EnumNameVRCTrackerModel(VRCTrackerModel e) { - if (::flatbuffers::IsOutRange(e, VRCTrackerModel::UNKNOWN, VRCTrackerModel::AXIS)) return ""; + if (flatbuffers::IsOutRange(e, VRCTrackerModel::UNKNOWN, VRCTrackerModel::AXIS)) return ""; const size_t index = static_cast(e); return EnumNamesVRCTrackerModel()[index]; } @@ -2589,7 +2589,7 @@ inline const char * const *EnumNamesVRCSpineMode() { } inline const char *EnumNameVRCSpineMode(VRCSpineMode e) { - if (::flatbuffers::IsOutRange(e, VRCSpineMode::UNKNOWN, VRCSpineMode::LOCK_BOTH)) return ""; + if (flatbuffers::IsOutRange(e, VRCSpineMode::UNKNOWN, VRCSpineMode::LOCK_BOTH)) return ""; const size_t index = static_cast(e); return EnumNamesVRCSpineMode()[index]; } @@ -2622,7 +2622,7 @@ inline const char * const *EnumNamesVRCAvatarMeasurementType() { } inline const char *EnumNameVRCAvatarMeasurementType(VRCAvatarMeasurementType e) { - if (::flatbuffers::IsOutRange(e, VRCAvatarMeasurementType::UNKNOWN, VRCAvatarMeasurementType::ARM_SPAN)) return ""; + if (flatbuffers::IsOutRange(e, VRCAvatarMeasurementType::UNKNOWN, VRCAvatarMeasurementType::ARM_SPAN)) return ""; const size_t index = static_cast(e); return EnumNamesVRCAvatarMeasurementType()[index]; } @@ -2818,7 +2818,7 @@ inline const char * const *EnumNamesStayAlignedRelaxedPose() { } inline const char *EnumNameStayAlignedRelaxedPose(StayAlignedRelaxedPose e) { - if (::flatbuffers::IsOutRange(e, StayAlignedRelaxedPose::STANDING, StayAlignedRelaxedPose::FLAT)) return ""; + if (flatbuffers::IsOutRange(e, StayAlignedRelaxedPose::STANDING, StayAlignedRelaxedPose::FLAT)) return ""; const size_t index = static_cast(e); return EnumNamesStayAlignedRelaxedPose()[index]; } @@ -2909,7 +2909,7 @@ inline const char * const *EnumNamesTopic() { } inline const char *EnumNameTopic(Topic e) { - if (::flatbuffers::IsOutRange(e, Topic::NONE, Topic::TopicId)) return ""; + if (flatbuffers::IsOutRange(e, Topic::NONE, Topic::TopicId)) return ""; const size_t index = static_cast(e); return EnumNamesTopic()[index]; } @@ -2926,8 +2926,8 @@ template<> struct TopicTraits { static const Topic enum_value = Topic::TopicId; }; -bool VerifyTopic(::flatbuffers::Verifier &verifier, const void *obj, Topic type); -bool VerifyTopicVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); +bool VerifyTopic(flatbuffers::Verifier &verifier, const void *obj, Topic type); +bool VerifyTopicVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); enum class PubSubUnion : uint8_t { NONE = 0, @@ -2963,7 +2963,7 @@ inline const char * const *EnumNamesPubSubUnion() { } inline const char *EnumNamePubSubUnion(PubSubUnion e) { - if (::flatbuffers::IsOutRange(e, PubSubUnion::NONE, PubSubUnion::TopicMapping)) return ""; + if (flatbuffers::IsOutRange(e, PubSubUnion::NONE, PubSubUnion::TopicMapping)) return ""; const size_t index = static_cast(e); return EnumNamesPubSubUnion()[index]; } @@ -2988,8 +2988,8 @@ template<> struct PubSubUnionTraits { static const PubSubUnion enum_value = PubSubUnion::TopicMapping; }; -bool VerifyPubSubUnion(::flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type); -bool VerifyPubSubUnionVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); +bool VerifyPubSubUnion(flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type); +bool VerifyPubSubUnionVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); enum class Payload : uint8_t { NONE = 0, @@ -3022,7 +3022,7 @@ inline const char * const *EnumNamesPayload() { } inline const char *EnumNamePayload(Payload e) { - if (::flatbuffers::IsOutRange(e, Payload::NONE, Payload::KeyValues)) return ""; + if (flatbuffers::IsOutRange(e, Payload::NONE, Payload::KeyValues)) return ""; const size_t index = static_cast(e); return EnumNamesPayload()[index]; } @@ -3043,8 +3043,8 @@ template<> struct PayloadTraits { static const Payload enum_value = Payload::KeyValues; }; -bool VerifyPayload(::flatbuffers::Verifier &verifier, const void *obj, Payload type); -bool VerifyPayloadVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types); +bool VerifyPayload(flatbuffers::Verifier &verifier, const void *obj, Payload type); +bool VerifyPayloadVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types); } // namespace pub_sub @@ -3060,10 +3060,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) HzF32 FLATBUFFERS_FINAL_CLASS { : f_(0) { } HzF32(float _f) - : f_(::flatbuffers::EndianScalar(_f)) { + : f_(flatbuffers::EndianScalar(_f)) { } float f() const { - return ::flatbuffers::EndianScalar(f_); + return flatbuffers::EndianScalar(f_); } }; FLATBUFFERS_STRUCT_END(HzF32, 4); @@ -3077,11 +3077,11 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) TransactionId FLATBUFFERS_FINAL_CLASS { : id_(0) { } TransactionId(uint32_t _id) - : id_(::flatbuffers::EndianScalar(_id)) { + : id_(flatbuffers::EndianScalar(_id)) { } /// This is expected to overflow, networking logic should handle this case. uint32_t id() const { - return ::flatbuffers::EndianScalar(id_); + return flatbuffers::EndianScalar(id_); } }; FLATBUFFERS_STRUCT_END(TransactionId, 4); @@ -3097,10 +3097,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(1) DeviceId FLATBUFFERS_FINAL_CLASS { : id_(0) { } DeviceId(uint8_t _id) - : id_(::flatbuffers::EndianScalar(_id)) { + : id_(flatbuffers::EndianScalar(_id)) { } uint8_t id() const { - return ::flatbuffers::EndianScalar(id_); + return flatbuffers::EndianScalar(id_); } }; FLATBUFFERS_STRUCT_END(DeviceId, 1); @@ -3115,10 +3115,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Temperature FLATBUFFERS_FINAL_CLASS { : temp_(0) { } Temperature(float _temp) - : temp_(::flatbuffers::EndianScalar(_temp)) { + : temp_(flatbuffers::EndianScalar(_temp)) { } float temp() const { - return ::flatbuffers::EndianScalar(temp_); + return flatbuffers::EndianScalar(temp_); } }; FLATBUFFERS_STRUCT_END(Temperature, 4); @@ -3134,10 +3134,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Ipv4Address FLATBUFFERS_FINAL_CLASS { : addr_(0) { } Ipv4Address(uint32_t _addr) - : addr_(::flatbuffers::EndianScalar(_addr)) { + : addr_(flatbuffers::EndianScalar(_addr)) { } uint32_t addr() const { - return ::flatbuffers::EndianScalar(addr_); + return flatbuffers::EndianScalar(addr_); } }; FLATBUFFERS_STRUCT_END(Ipv4Address, 4); @@ -3156,10 +3156,10 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) HardwareAddress FLATBUFFERS_FINAL_CLASS { : addr_(0) { } HardwareAddress(uint64_t _addr) - : addr_(::flatbuffers::EndianScalar(_addr)) { + : addr_(flatbuffers::EndianScalar(_addr)) { } uint64_t addr() const { - return ::flatbuffers::EndianScalar(addr_); + return flatbuffers::EndianScalar(addr_); } }; FLATBUFFERS_STRUCT_END(HardwareAddress, 8); @@ -3183,22 +3183,22 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Quat FLATBUFFERS_FINAL_CLASS { w_(0) { } Quat(float _x, float _y, float _z, float _w) - : x_(::flatbuffers::EndianScalar(_x)), - y_(::flatbuffers::EndianScalar(_y)), - z_(::flatbuffers::EndianScalar(_z)), - w_(::flatbuffers::EndianScalar(_w)) { + : x_(flatbuffers::EndianScalar(_x)), + y_(flatbuffers::EndianScalar(_y)), + z_(flatbuffers::EndianScalar(_z)), + w_(flatbuffers::EndianScalar(_w)) { } float x() const { - return ::flatbuffers::EndianScalar(x_); + return flatbuffers::EndianScalar(x_); } float y() const { - return ::flatbuffers::EndianScalar(y_); + return flatbuffers::EndianScalar(y_); } float z() const { - return ::flatbuffers::EndianScalar(z_); + return flatbuffers::EndianScalar(z_); } float w() const { - return ::flatbuffers::EndianScalar(w_); + return flatbuffers::EndianScalar(w_); } }; FLATBUFFERS_STRUCT_END(Quat, 16); @@ -3216,18 +3216,18 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Vec3f FLATBUFFERS_FINAL_CLASS { z_(0) { } Vec3f(float _x, float _y, float _z) - : x_(::flatbuffers::EndianScalar(_x)), - y_(::flatbuffers::EndianScalar(_y)), - z_(::flatbuffers::EndianScalar(_z)) { + : x_(flatbuffers::EndianScalar(_x)), + y_(flatbuffers::EndianScalar(_y)), + z_(flatbuffers::EndianScalar(_z)) { } float x() const { - return ::flatbuffers::EndianScalar(x_); + return flatbuffers::EndianScalar(x_); } float y() const { - return ::flatbuffers::EndianScalar(y_); + return flatbuffers::EndianScalar(y_); } float z() const { - return ::flatbuffers::EndianScalar(z_); + return flatbuffers::EndianScalar(z_); } }; FLATBUFFERS_STRUCT_END(Vec3f, 12); @@ -3235,7 +3235,7 @@ FLATBUFFERS_STRUCT_END(Vec3f, 12); } // namespace math /// To be used inside unions -struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef DeviceIdTableBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4 @@ -3243,7 +3243,7 @@ struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::datatypes::DeviceId *id() const { return GetStruct(VT_ID); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 1) && verifier.EndTable(); @@ -3252,31 +3252,31 @@ struct DeviceIdTable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct DeviceIdTableBuilder { typedef DeviceIdTable Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_id(const solarxr_protocol::datatypes::DeviceId *id) { fbb_.AddStruct(DeviceIdTable::VT_ID, id); } - explicit DeviceIdTableBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit DeviceIdTableBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDeviceIdTable( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateDeviceIdTable( + flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *id = nullptr) { DeviceIdTableBuilder builder_(_fbb); builder_.add_id(id); return builder_.Finish(); } -struct TrackerId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TrackerId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TrackerIdBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID = 4, @@ -3291,7 +3291,7 @@ struct TrackerId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { uint8_t tracker_num() const { return GetField(VT_TRACKER_NUM, 0); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_DEVICE_ID, 1) && VerifyField(verifier, VT_TRACKER_NUM, 1) && @@ -3301,27 +3301,27 @@ struct TrackerId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct TrackerIdBuilder { typedef TrackerId Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_device_id(const solarxr_protocol::datatypes::DeviceId *device_id) { fbb_.AddStruct(TrackerId::VT_DEVICE_ID, device_id); } void add_tracker_num(uint8_t tracker_num) { fbb_.AddElement(TrackerId::VT_TRACKER_NUM, tracker_num, 0); } - explicit TrackerIdBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerIdBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTrackerId( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateTrackerId( + flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *device_id = nullptr, uint8_t tracker_num = 0) { TrackerIdBuilder builder_(_fbb); @@ -3331,19 +3331,19 @@ inline ::flatbuffers::Offset CreateTrackerId( } /// General purpose logging datatype -struct LogData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct LogData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef LogDataBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MESSAGE = 4, VT_DATA = 6 }; - const ::flatbuffers::String *message() const { - return GetPointer(VT_MESSAGE); + const flatbuffers::String *message() const { + return GetPointer(VT_MESSAGE); } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); + const flatbuffers::Vector *data() const { + return GetPointer *>(VT_DATA); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MESSAGE) && verifier.VerifyString(message()) && @@ -3355,37 +3355,37 @@ struct LogData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct LogDataBuilder { typedef LogData Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_message(::flatbuffers::Offset<::flatbuffers::String> message) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_message(flatbuffers::Offset message) { fbb_.AddOffset(LogData::VT_MESSAGE, message); } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { + void add_data(flatbuffers::Offset> data) { fbb_.AddOffset(LogData::VT_DATA, data); } - explicit LogDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit LogDataBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateLogData( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> message = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { +inline flatbuffers::Offset CreateLogData( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset message = 0, + flatbuffers::Offset> data = 0) { LogDataBuilder builder_(_fbb); builder_.add_data(data); builder_.add_message(message); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateLogDataDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateLogDataDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *message = nullptr, const std::vector *data = nullptr) { auto message__ = message ? _fbb.CreateString(message) : 0; @@ -3396,15 +3396,15 @@ inline ::flatbuffers::Offset CreateLogDataDirect( data__); } -struct Bytes FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct Bytes FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef BytesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_B = 4 }; - const ::flatbuffers::Vector *b() const { - return GetPointer *>(VT_B); + const flatbuffers::Vector *b() const { + return GetPointer *>(VT_B); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_B) && verifier.VerifyVector(b()) && @@ -3414,32 +3414,32 @@ struct Bytes FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct BytesBuilder { typedef Bytes Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_b(::flatbuffers::Offset<::flatbuffers::Vector> b) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_b(flatbuffers::Offset> b) { fbb_.AddOffset(Bytes::VT_B, b); } - explicit BytesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit BytesBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateBytes( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> b = 0) { +inline flatbuffers::Offset CreateBytes( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset> b = 0) { BytesBuilder builder_(_fbb); builder_.add_b(b); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateBytesDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateBytesDirect( + flatbuffers::FlatBufferBuilder &_fbb, const std::vector *b = nullptr) { auto b__ = b ? _fbb.CreateVector(*b) : 0; return solarxr_protocol::datatypes::CreateBytes( @@ -3447,15 +3447,15 @@ inline ::flatbuffers::Offset CreateBytesDirect( b__); } -struct StringTable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StringTable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StringTableBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_S = 4 }; - const ::flatbuffers::String *s() const { - return GetPointer(VT_S); + const flatbuffers::String *s() const { + return GetPointer(VT_S); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_S) && verifier.VerifyString(s()) && @@ -3465,32 +3465,32 @@ struct StringTable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct StringTableBuilder { typedef StringTable Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_s(::flatbuffers::Offset<::flatbuffers::String> s) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_s(flatbuffers::Offset s) { fbb_.AddOffset(StringTable::VT_S, s); } - explicit StringTableBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StringTableBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStringTable( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> s = 0) { +inline flatbuffers::Offset CreateStringTable( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset s = 0) { StringTableBuilder builder_(_fbb); builder_.add_s(s); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateStringTableDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStringTableDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *s = nullptr) { auto s__ = s ? _fbb.CreateString(s) : 0; return solarxr_protocol::datatypes::CreateStringTable( @@ -3501,7 +3501,7 @@ inline ::flatbuffers::Offset CreateStringTableDirect( namespace hardware_info { /// Mostly static info about the device's hardware/firmware. -struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef HardwareInfoBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MCU_ID = 4, @@ -3521,24 +3521,24 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { return static_cast(GetField(VT_MCU_ID, 0)); } /// A human-friendly name to display as the name of the device. - const ::flatbuffers::String *display_name() const { - return GetPointer(VT_DISPLAY_NAME); + const flatbuffers::String *display_name() const { + return GetPointer(VT_DISPLAY_NAME); } /// A human-friendly string for the device model. - const ::flatbuffers::String *model() const { - return GetPointer(VT_MODEL); + const flatbuffers::String *model() const { + return GetPointer(VT_MODEL); } /// A human-friendly string for the manufacturer of the device. - const ::flatbuffers::String *manufacturer() const { - return GetPointer(VT_MANUFACTURER); + const flatbuffers::String *manufacturer() const { + return GetPointer(VT_MANUFACTURER); } /// The hardware version of the device. For example, pcb version. - const ::flatbuffers::String *hardware_revision() const { - return GetPointer(VT_HARDWARE_REVISION); + const flatbuffers::String *hardware_revision() const { + return GetPointer(VT_HARDWARE_REVISION); } /// The version of the slimevr firmware that the device is running. - const ::flatbuffers::String *firmware_version() const { - return GetPointer(VT_FIRMWARE_VERSION); + const flatbuffers::String *firmware_version() const { + return GetPointer(VT_FIRMWARE_VERSION); } const solarxr_protocol::datatypes::hardware_info::HardwareAddress *hardware_address() const { return GetStruct(VT_HARDWARE_ADDRESS); @@ -3547,8 +3547,8 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { return GetStruct(VT_IP_ADDRESS); } /// A board type string that can be used to name a board. if possible you should use official board type - const ::flatbuffers::String *board_type() const { - return GetPointer(VT_BOARD_TYPE); + const flatbuffers::String *board_type() const { + return GetPointer(VT_BOARD_TYPE); } /// An enum listing all the board types supported by the firmware solarxr_protocol::datatypes::hardware_info::BoardType official_board_type() const { @@ -3556,14 +3556,14 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { } /// A unique identifier for the device. Depending on the type of device it can be the MAC address, /// the IP address, or some other unique identifier like what USB device it is. - const ::flatbuffers::String *hardware_identifier() const { - return GetPointer(VT_HARDWARE_IDENTIFIER); + const flatbuffers::String *hardware_identifier() const { + return GetPointer(VT_HARDWARE_IDENTIFIER); } /// The version of the protocol it's using to communicate with server - ::flatbuffers::Optional network_protocol_version() const { + flatbuffers::Optional network_protocol_version() const { return GetOptional(VT_NETWORK_PROTOCOL_VERSION); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_MCU_ID, 2) && VerifyOffset(verifier, VT_DISPLAY_NAME) && @@ -3590,24 +3590,24 @@ struct HardwareInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct HardwareInfoBuilder { typedef HardwareInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_mcu_id(solarxr_protocol::datatypes::hardware_info::McuType mcu_id) { fbb_.AddElement(HardwareInfo::VT_MCU_ID, static_cast(mcu_id), 0); } - void add_display_name(::flatbuffers::Offset<::flatbuffers::String> display_name) { + void add_display_name(flatbuffers::Offset display_name) { fbb_.AddOffset(HardwareInfo::VT_DISPLAY_NAME, display_name); } - void add_model(::flatbuffers::Offset<::flatbuffers::String> model) { + void add_model(flatbuffers::Offset model) { fbb_.AddOffset(HardwareInfo::VT_MODEL, model); } - void add_manufacturer(::flatbuffers::Offset<::flatbuffers::String> manufacturer) { + void add_manufacturer(flatbuffers::Offset manufacturer) { fbb_.AddOffset(HardwareInfo::VT_MANUFACTURER, manufacturer); } - void add_hardware_revision(::flatbuffers::Offset<::flatbuffers::String> hardware_revision) { + void add_hardware_revision(flatbuffers::Offset hardware_revision) { fbb_.AddOffset(HardwareInfo::VT_HARDWARE_REVISION, hardware_revision); } - void add_firmware_version(::flatbuffers::Offset<::flatbuffers::String> firmware_version) { + void add_firmware_version(flatbuffers::Offset firmware_version) { fbb_.AddOffset(HardwareInfo::VT_FIRMWARE_VERSION, firmware_version); } void add_hardware_address(const solarxr_protocol::datatypes::hardware_info::HardwareAddress *hardware_address) { @@ -3616,43 +3616,43 @@ struct HardwareInfoBuilder { void add_ip_address(const solarxr_protocol::datatypes::Ipv4Address *ip_address) { fbb_.AddStruct(HardwareInfo::VT_IP_ADDRESS, ip_address); } - void add_board_type(::flatbuffers::Offset<::flatbuffers::String> board_type) { + void add_board_type(flatbuffers::Offset board_type) { fbb_.AddOffset(HardwareInfo::VT_BOARD_TYPE, board_type); } void add_official_board_type(solarxr_protocol::datatypes::hardware_info::BoardType official_board_type) { fbb_.AddElement(HardwareInfo::VT_OFFICIAL_BOARD_TYPE, static_cast(official_board_type), 0); } - void add_hardware_identifier(::flatbuffers::Offset<::flatbuffers::String> hardware_identifier) { + void add_hardware_identifier(flatbuffers::Offset hardware_identifier) { fbb_.AddOffset(HardwareInfo::VT_HARDWARE_IDENTIFIER, hardware_identifier); } void add_network_protocol_version(uint16_t network_protocol_version) { fbb_.AddElement(HardwareInfo::VT_NETWORK_PROTOCOL_VERSION, network_protocol_version); } - explicit HardwareInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit HardwareInfoBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateHardwareInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateHardwareInfo( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::McuType mcu_id = solarxr_protocol::datatypes::hardware_info::McuType::Other, - ::flatbuffers::Offset<::flatbuffers::String> display_name = 0, - ::flatbuffers::Offset<::flatbuffers::String> model = 0, - ::flatbuffers::Offset<::flatbuffers::String> manufacturer = 0, - ::flatbuffers::Offset<::flatbuffers::String> hardware_revision = 0, - ::flatbuffers::Offset<::flatbuffers::String> firmware_version = 0, + flatbuffers::Offset display_name = 0, + flatbuffers::Offset model = 0, + flatbuffers::Offset manufacturer = 0, + flatbuffers::Offset hardware_revision = 0, + flatbuffers::Offset firmware_version = 0, const solarxr_protocol::datatypes::hardware_info::HardwareAddress *hardware_address = nullptr, const solarxr_protocol::datatypes::Ipv4Address *ip_address = nullptr, - ::flatbuffers::Offset<::flatbuffers::String> board_type = 0, + flatbuffers::Offset board_type = 0, solarxr_protocol::datatypes::hardware_info::BoardType official_board_type = solarxr_protocol::datatypes::hardware_info::BoardType::UNKNOWN, - ::flatbuffers::Offset<::flatbuffers::String> hardware_identifier = 0, - ::flatbuffers::Optional network_protocol_version = ::flatbuffers::nullopt) { + flatbuffers::Offset hardware_identifier = 0, + flatbuffers::Optional network_protocol_version = flatbuffers::nullopt) { HardwareInfoBuilder builder_(_fbb); builder_.add_hardware_identifier(hardware_identifier); builder_.add_board_type(board_type); @@ -3669,8 +3669,8 @@ inline ::flatbuffers::Offset CreateHardwareInfo( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateHardwareInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateHardwareInfoDirect( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::McuType mcu_id = solarxr_protocol::datatypes::hardware_info::McuType::Other, const char *display_name = nullptr, const char *model = nullptr, @@ -3682,7 +3682,7 @@ inline ::flatbuffers::Offset CreateHardwareInfoDirect( const char *board_type = nullptr, solarxr_protocol::datatypes::hardware_info::BoardType official_board_type = solarxr_protocol::datatypes::hardware_info::BoardType::UNKNOWN, const char *hardware_identifier = nullptr, - ::flatbuffers::Optional network_protocol_version = ::flatbuffers::nullopt) { + flatbuffers::Optional network_protocol_version = flatbuffers::nullopt) { auto display_name__ = display_name ? _fbb.CreateString(display_name) : 0; auto model__ = model ? _fbb.CreateString(model) : 0; auto manufacturer__ = manufacturer ? _fbb.CreateString(manufacturer) : 0; @@ -3707,7 +3707,7 @@ inline ::flatbuffers::Offset CreateHardwareInfoDirect( } /// Mostly-dynamic status info about a tracked device's firmware -struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef HardwareStatusBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ERROR_STATUS = 4, @@ -3718,30 +3718,30 @@ struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { VT_BATTERY_PCT_ESTIMATE = 16, VT_LOG_DATA = 18 }; - ::flatbuffers::Optional error_status() const { + flatbuffers::Optional error_status() const { return GetOptional(VT_ERROR_STATUS); } - ::flatbuffers::Optional ping() const { + flatbuffers::Optional ping() const { return GetOptional(VT_PING); } /// “Received Signal Strength Indicator" between device and wifi adapter in dBm - ::flatbuffers::Optional rssi() const { + flatbuffers::Optional rssi() const { return GetOptional(VT_RSSI); } /// Temperature in degrees celsius - ::flatbuffers::Optional mcu_temp() const { + flatbuffers::Optional mcu_temp() const { return GetOptional(VT_MCU_TEMP); } - ::flatbuffers::Optional battery_voltage() const { + flatbuffers::Optional battery_voltage() const { return GetOptional(VT_BATTERY_VOLTAGE); } - ::flatbuffers::Optional battery_pct_estimate() const { + flatbuffers::Optional battery_pct_estimate() const { return GetOptional(VT_BATTERY_PCT_ESTIMATE); } const solarxr_protocol::datatypes::LogData *log_data() const { return GetPointer(VT_LOG_DATA); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ERROR_STATUS, 1) && VerifyField(verifier, VT_PING, 2) && @@ -3757,8 +3757,8 @@ struct HardwareStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct HardwareStatusBuilder { typedef HardwareStatus Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_error_status(solarxr_protocol::datatypes::FirmwareErrorCode error_status) { fbb_.AddElement(HardwareStatus::VT_ERROR_STATUS, static_cast(error_status)); } @@ -3777,29 +3777,29 @@ struct HardwareStatusBuilder { void add_battery_pct_estimate(uint8_t battery_pct_estimate) { fbb_.AddElement(HardwareStatus::VT_BATTERY_PCT_ESTIMATE, battery_pct_estimate); } - void add_log_data(::flatbuffers::Offset log_data) { + void add_log_data(flatbuffers::Offset log_data) { fbb_.AddOffset(HardwareStatus::VT_LOG_DATA, log_data); } - explicit HardwareStatusBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit HardwareStatusBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateHardwareStatus( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional error_status = ::flatbuffers::nullopt, - ::flatbuffers::Optional ping = ::flatbuffers::nullopt, - ::flatbuffers::Optional rssi = ::flatbuffers::nullopt, - ::flatbuffers::Optional mcu_temp = ::flatbuffers::nullopt, - ::flatbuffers::Optional battery_voltage = ::flatbuffers::nullopt, - ::flatbuffers::Optional battery_pct_estimate = ::flatbuffers::nullopt, - ::flatbuffers::Offset log_data = 0) { +inline flatbuffers::Offset CreateHardwareStatus( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional error_status = flatbuffers::nullopt, + flatbuffers::Optional ping = flatbuffers::nullopt, + flatbuffers::Optional rssi = flatbuffers::nullopt, + flatbuffers::Optional mcu_temp = flatbuffers::nullopt, + flatbuffers::Optional battery_voltage = flatbuffers::nullopt, + flatbuffers::Optional battery_pct_estimate = flatbuffers::nullopt, + flatbuffers::Offset log_data = 0) { HardwareStatusBuilder builder_(_fbb); builder_.add_log_data(log_data); if(battery_voltage) { builder_.add_battery_voltage(*battery_voltage); } @@ -3812,7 +3812,7 @@ inline ::flatbuffers::Offset CreateHardwareStatus( } /// A mask of the data in `FirmwareStatus` -struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef FirmwareStatusMaskBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ERROR_STATUS = 4, @@ -3844,7 +3844,7 @@ struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table bool battery_pct_estimate() const { return GetField(VT_BATTERY_PCT_ESTIMATE, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ERROR_STATUS, 1) && VerifyField(verifier, VT_TPS, 1) && @@ -3859,8 +3859,8 @@ struct FirmwareStatusMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct FirmwareStatusMaskBuilder { typedef FirmwareStatusMask Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_error_status(bool error_status) { fbb_.AddElement(FirmwareStatusMask::VT_ERROR_STATUS, static_cast(error_status), 0); } @@ -3882,19 +3882,19 @@ struct FirmwareStatusMaskBuilder { void add_battery_pct_estimate(bool battery_pct_estimate) { fbb_.AddElement(FirmwareStatusMask::VT_BATTERY_PCT_ESTIMATE, static_cast(battery_pct_estimate), 0); } - explicit FirmwareStatusMaskBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit FirmwareStatusMaskBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateFirmwareStatusMask( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateFirmwareStatusMask( + flatbuffers::FlatBufferBuilder &_fbb, bool error_status = false, bool tps = false, bool ping = false, @@ -3919,7 +3919,7 @@ inline ::flatbuffers::Offset CreateFirmwareStatusMask( namespace data_feed { namespace stay_aligned { -struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StayAlignedPoseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_UPPER_LEG_ANGLE_IN_DEG = 4, @@ -3935,7 +3935,7 @@ struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { float foot_angle_in_deg() const { return GetField(VT_FOOT_ANGLE_IN_DEG, 0.0f); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_UPPER_LEG_ANGLE_IN_DEG, 4) && VerifyField(verifier, VT_LOWER_LEG_ANGLE_IN_DEG, 4) && @@ -3946,8 +3946,8 @@ struct StayAlignedPose FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct StayAlignedPoseBuilder { typedef StayAlignedPose Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_upper_leg_angle_in_deg(float upper_leg_angle_in_deg) { fbb_.AddElement(StayAlignedPose::VT_UPPER_LEG_ANGLE_IN_DEG, upper_leg_angle_in_deg, 0.0f); } @@ -3957,19 +3957,19 @@ struct StayAlignedPoseBuilder { void add_foot_angle_in_deg(float foot_angle_in_deg) { fbb_.AddElement(StayAlignedPose::VT_FOOT_ANGLE_IN_DEG, foot_angle_in_deg, 0.0f); } - explicit StayAlignedPoseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StayAlignedPoseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStayAlignedPose( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStayAlignedPose( + flatbuffers::FlatBufferBuilder &_fbb, float upper_leg_angle_in_deg = 0.0f, float lower_leg_angle_in_deg = 0.0f, float foot_angle_in_deg = 0.0f) { @@ -3980,7 +3980,7 @@ inline ::flatbuffers::Offset CreateStayAlignedPose( return builder_.Finish(); } -struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StayAlignedTrackerBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_YAW_CORRECTION_IN_DEG = 4, @@ -4004,7 +4004,7 @@ struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table bool locked() const { return GetField(VT_LOCKED, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_YAW_CORRECTION_IN_DEG, 4) && VerifyField(verifier, VT_LOCKED_ERROR_IN_DEG, 4) && @@ -4017,8 +4017,8 @@ struct StayAlignedTracker FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct StayAlignedTrackerBuilder { typedef StayAlignedTracker Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_yaw_correction_in_deg(float yaw_correction_in_deg) { fbb_.AddElement(StayAlignedTracker::VT_YAW_CORRECTION_IN_DEG, yaw_correction_in_deg, 0.0f); } @@ -4034,19 +4034,19 @@ struct StayAlignedTrackerBuilder { void add_locked(bool locked) { fbb_.AddElement(StayAlignedTracker::VT_LOCKED, static_cast(locked), 0); } - explicit StayAlignedTrackerBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StayAlignedTrackerBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStayAlignedTracker( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStayAlignedTracker( + flatbuffers::FlatBufferBuilder &_fbb, float yaw_correction_in_deg = 0.0f, float locked_error_in_deg = 0.0f, float center_error_in_deg = 0.0f, @@ -4070,7 +4070,7 @@ namespace tracker { /// /// Trackers may be synthetic/computed or instead part of an actual hardware device. /// There can be multiple trackers per hardware device. -struct TrackerData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TrackerData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TrackerDataBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4, @@ -4140,7 +4140,7 @@ struct TrackerData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { return GetStruct(VT_ROTATION_IDENTITY_ADJUSTED); } /// Data ticks per second, processed by SlimeVR server - ::flatbuffers::Optional tps() const { + flatbuffers::Optional tps() const { return GetOptional(VT_TPS); } /// Magnetic field vector, in mGauss @@ -4151,7 +4151,7 @@ struct TrackerData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::data_feed::stay_aligned::StayAlignedTracker *stay_aligned() const { return GetPointer(VT_STAY_ALIGNED); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -4176,12 +4176,12 @@ struct TrackerData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct TrackerDataBuilder { typedef TrackerData Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_id(flatbuffers::Offset tracker_id) { fbb_.AddOffset(TrackerData::VT_TRACKER_ID, tracker_id); } - void add_info(::flatbuffers::Offset info) { + void add_info(flatbuffers::Offset info) { fbb_.AddOffset(TrackerData::VT_INFO, info); } void add_status(solarxr_protocol::datatypes::TrackerStatus status) { @@ -4217,24 +4217,24 @@ struct TrackerDataBuilder { void add_raw_magnetic_vector(const solarxr_protocol::datatypes::math::Vec3f *raw_magnetic_vector) { fbb_.AddStruct(TrackerData::VT_RAW_MAGNETIC_VECTOR, raw_magnetic_vector); } - void add_stay_aligned(::flatbuffers::Offset stay_aligned) { + void add_stay_aligned(flatbuffers::Offset stay_aligned) { fbb_.AddOffset(TrackerData::VT_STAY_ALIGNED, stay_aligned); } - explicit TrackerDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerDataBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTrackerData( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0, - ::flatbuffers::Offset info = 0, +inline flatbuffers::Offset CreateTrackerData( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0, + flatbuffers::Offset info = 0, solarxr_protocol::datatypes::TrackerStatus status = solarxr_protocol::datatypes::TrackerStatus::NONE, const solarxr_protocol::datatypes::math::Quat *rotation = nullptr, const solarxr_protocol::datatypes::math::Vec3f *position = nullptr, @@ -4244,9 +4244,9 @@ inline ::flatbuffers::Offset CreateTrackerData( const solarxr_protocol::datatypes::math::Vec3f *linear_acceleration = nullptr, const solarxr_protocol::datatypes::math::Quat *rotation_reference_adjusted = nullptr, const solarxr_protocol::datatypes::math::Quat *rotation_identity_adjusted = nullptr, - ::flatbuffers::Optional tps = ::flatbuffers::nullopt, + flatbuffers::Optional tps = flatbuffers::nullopt, const solarxr_protocol::datatypes::math::Vec3f *raw_magnetic_vector = nullptr, - ::flatbuffers::Offset stay_aligned = 0) { + flatbuffers::Offset stay_aligned = 0) { TrackerDataBuilder builder_(_fbb); builder_.add_stay_aligned(stay_aligned); builder_.add_raw_magnetic_vector(raw_magnetic_vector); @@ -4266,7 +4266,7 @@ inline ::flatbuffers::Offset CreateTrackerData( } /// A mask of the different components in `TrackerComponent` -struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TrackerDataMaskBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_INFO = 4, @@ -4322,7 +4322,7 @@ struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { bool stay_aligned() const { return GetField(VT_STAY_ALIGNED, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_INFO, 1) && VerifyField(verifier, VT_STATUS, 1) && @@ -4343,8 +4343,8 @@ struct TrackerDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct TrackerDataMaskBuilder { typedef TrackerDataMask Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_info(bool info) { fbb_.AddElement(TrackerDataMask::VT_INFO, static_cast(info), 0); } @@ -4384,19 +4384,19 @@ struct TrackerDataMaskBuilder { void add_stay_aligned(bool stay_aligned) { fbb_.AddElement(TrackerDataMask::VT_STAY_ALIGNED, static_cast(stay_aligned), 0); } - explicit TrackerDataMaskBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerDataMaskBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTrackerDataMask( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateTrackerDataMask( + flatbuffers::FlatBufferBuilder &_fbb, bool info = false, bool status = false, bool rotation = false, @@ -4428,7 +4428,7 @@ inline ::flatbuffers::Offset CreateTrackerDataMask( } /// Static description of a tracker -struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TrackerInfoBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IMU_TYPE = 4, @@ -4475,12 +4475,12 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { return GetField(VT_IS_IMU, 0) != 0; } /// A human-friendly name to display as the name of the tracker. - const ::flatbuffers::String *display_name() const { - return GetPointer(VT_DISPLAY_NAME); + const flatbuffers::String *display_name() const { + return GetPointer(VT_DISPLAY_NAME); } /// name to display as the name of the tracker set by the user - const ::flatbuffers::String *custom_name() const { - return GetPointer(VT_CUSTOM_NAME); + const flatbuffers::String *custom_name() const { + return GetPointer(VT_CUSTOM_NAME); } /// Whether to allow yaw drift compensation for this tracker or not. bool allow_drift_compensation() const { @@ -4506,7 +4506,7 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status() const { return static_cast(GetField(VT_REST_CALIBRATION_STATUS, 0)); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IMU_TYPE, 2) && VerifyField(verifier, VT_BODY_PART, 1) && @@ -4531,8 +4531,8 @@ struct TrackerInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct TrackerInfoBuilder { typedef TrackerInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_imu_type(solarxr_protocol::datatypes::hardware_info::ImuType imu_type) { fbb_.AddElement(TrackerInfo::VT_IMU_TYPE, static_cast(imu_type), 0); } @@ -4554,10 +4554,10 @@ struct TrackerInfoBuilder { void add_is_imu(bool is_imu) { fbb_.AddElement(TrackerInfo::VT_IS_IMU, static_cast(is_imu), 0); } - void add_display_name(::flatbuffers::Offset<::flatbuffers::String> display_name) { + void add_display_name(flatbuffers::Offset display_name) { fbb_.AddOffset(TrackerInfo::VT_DISPLAY_NAME, display_name); } - void add_custom_name(::flatbuffers::Offset<::flatbuffers::String> custom_name) { + void add_custom_name(flatbuffers::Offset custom_name) { fbb_.AddOffset(TrackerInfo::VT_CUSTOM_NAME, custom_name); } void add_allow_drift_compensation(bool allow_drift_compensation) { @@ -4578,19 +4578,19 @@ struct TrackerInfoBuilder { void add_rest_calibration_status(solarxr_protocol::datatypes::RestCalibrationStatus rest_calibration_status) { fbb_.AddElement(TrackerInfo::VT_REST_CALIBRATION_STATUS, static_cast(rest_calibration_status), 0); } - explicit TrackerInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackerInfoBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTrackerInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateTrackerInfo( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::ImuType imu_type = solarxr_protocol::datatypes::hardware_info::ImuType::Other, solarxr_protocol::datatypes::BodyPart body_part = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::HzF32 *poll_rate = nullptr, @@ -4598,8 +4598,8 @@ inline ::flatbuffers::Offset CreateTrackerInfo( bool editable = false, bool is_computed = false, bool is_imu = false, - ::flatbuffers::Offset<::flatbuffers::String> display_name = 0, - ::flatbuffers::Offset<::flatbuffers::String> custom_name = 0, + flatbuffers::Offset display_name = 0, + flatbuffers::Offset custom_name = 0, bool allow_drift_compensation = false, const solarxr_protocol::datatypes::math::Quat *mounting_reset_orientation = nullptr, bool is_hmd = false, @@ -4625,8 +4625,8 @@ inline ::flatbuffers::Offset CreateTrackerInfo( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateTrackerInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateTrackerInfoDirect( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::hardware_info::ImuType imu_type = solarxr_protocol::datatypes::hardware_info::ImuType::Other, solarxr_protocol::datatypes::BodyPart body_part = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::HzF32 *poll_rate = nullptr, @@ -4673,7 +4673,7 @@ namespace device_data { /// If you set a value to `true`, it is not guaranteed that the sender actually has /// such a value to send. In this case, they will probably send `null`, and the receiver /// has the choice to disconnect due to missing data. -struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef DeviceDataMaskBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_DATA = 4, @@ -4687,7 +4687,7 @@ struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { bool device_data() const { return GetField(VT_DEVICE_DATA, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_DATA) && verifier.VerifyTable(tracker_data()) && @@ -4698,28 +4698,28 @@ struct DeviceDataMask FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct DeviceDataMaskBuilder { typedef DeviceDataMask Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_data(::flatbuffers::Offset tracker_data) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_data(flatbuffers::Offset tracker_data) { fbb_.AddOffset(DeviceDataMask::VT_TRACKER_DATA, tracker_data); } void add_device_data(bool device_data) { fbb_.AddElement(DeviceDataMask::VT_DEVICE_DATA, static_cast(device_data), 0); } - explicit DeviceDataMaskBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit DeviceDataMaskBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDeviceDataMask( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_data = 0, +inline flatbuffers::Offset CreateDeviceDataMask( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_data = 0, bool device_data = false) { DeviceDataMaskBuilder builder_(_fbb); builder_.add_tracker_data(tracker_data); @@ -4730,7 +4730,7 @@ inline ::flatbuffers::Offset CreateDeviceDataMask( /// Describes all possible information about a hardware device. For example, a /// vive tracker is a single hardware device, and a slime tracker with two /// extensions is a single hardware device but two trackers. -struct DeviceData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct DeviceData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef DeviceDataBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4, @@ -4744,8 +4744,8 @@ struct DeviceData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { } /// The dynamically changeable name of the device. This might be set by the /// user to help them remember which tracker is which. - const ::flatbuffers::String *custom_name() const { - return GetPointer(VT_CUSTOM_NAME); + const flatbuffers::String *custom_name() const { + return GetPointer(VT_CUSTOM_NAME); } /// Mostly-static info about the device hardware const solarxr_protocol::datatypes::hardware_info::HardwareInfo *hardware_info() const { @@ -4756,10 +4756,10 @@ struct DeviceData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { return GetPointer(VT_HARDWARE_STATUS); } /// Info about all trackers attached to this device - const ::flatbuffers::Vector<::flatbuffers::Offset> *trackers() const { - return GetPointer> *>(VT_TRACKERS); + const flatbuffers::Vector> *trackers() const { + return GetPointer> *>(VT_TRACKERS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 1) && VerifyOffset(verifier, VT_CUSTOM_NAME) && @@ -4777,41 +4777,41 @@ struct DeviceData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct DeviceDataBuilder { typedef DeviceData Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_id(const solarxr_protocol::datatypes::DeviceId *id) { fbb_.AddStruct(DeviceData::VT_ID, id); } - void add_custom_name(::flatbuffers::Offset<::flatbuffers::String> custom_name) { + void add_custom_name(flatbuffers::Offset custom_name) { fbb_.AddOffset(DeviceData::VT_CUSTOM_NAME, custom_name); } - void add_hardware_info(::flatbuffers::Offset hardware_info) { + void add_hardware_info(flatbuffers::Offset hardware_info) { fbb_.AddOffset(DeviceData::VT_HARDWARE_INFO, hardware_info); } - void add_hardware_status(::flatbuffers::Offset hardware_status) { + void add_hardware_status(flatbuffers::Offset hardware_status) { fbb_.AddOffset(DeviceData::VT_HARDWARE_STATUS, hardware_status); } - void add_trackers(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> trackers) { + void add_trackers(flatbuffers::Offset>> trackers) { fbb_.AddOffset(DeviceData::VT_TRACKERS, trackers); } - explicit DeviceDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit DeviceDataBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDeviceData( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateDeviceData( + flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *id = nullptr, - ::flatbuffers::Offset<::flatbuffers::String> custom_name = 0, - ::flatbuffers::Offset hardware_info = 0, - ::flatbuffers::Offset hardware_status = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> trackers = 0) { + flatbuffers::Offset custom_name = 0, + flatbuffers::Offset hardware_info = 0, + flatbuffers::Offset hardware_status = 0, + flatbuffers::Offset>> trackers = 0) { DeviceDataBuilder builder_(_fbb); builder_.add_trackers(trackers); builder_.add_hardware_status(hardware_status); @@ -4821,15 +4821,15 @@ inline ::flatbuffers::Offset CreateDeviceData( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateDeviceDataDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateDeviceDataDirect( + flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *id = nullptr, const char *custom_name = nullptr, - ::flatbuffers::Offset hardware_info = 0, - ::flatbuffers::Offset hardware_status = 0, - const std::vector<::flatbuffers::Offset> *trackers = nullptr) { + flatbuffers::Offset hardware_info = 0, + flatbuffers::Offset hardware_status = 0, + const std::vector> *trackers = nullptr) { auto custom_name__ = custom_name ? _fbb.CreateString(custom_name) : 0; - auto trackers__ = trackers ? _fbb.CreateVector<::flatbuffers::Offset>(*trackers) : 0; + auto trackers__ = trackers ? _fbb.CreateVector>(*trackers) : 0; return solarxr_protocol::data_feed::device_data::CreateDeviceData( _fbb, id, @@ -4841,7 +4841,7 @@ inline ::flatbuffers::Offset CreateDeviceDataDirect( } // namespace device_data -struct Bone FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct Bone FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef BoneBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BODY_PART = 4, @@ -4869,7 +4869,7 @@ struct Bone FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::datatypes::math::Vec3f *head_position_g() const { return GetStruct(VT_HEAD_POSITION_G); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_BODY_PART, 1) && VerifyField(verifier, VT_ROTATION_G, 4) && @@ -4881,8 +4881,8 @@ struct Bone FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct BoneBuilder { typedef Bone Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_body_part(solarxr_protocol::datatypes::BodyPart body_part) { fbb_.AddElement(Bone::VT_BODY_PART, static_cast(body_part), 0); } @@ -4895,19 +4895,19 @@ struct BoneBuilder { void add_head_position_g(const solarxr_protocol::datatypes::math::Vec3f *head_position_g) { fbb_.AddStruct(Bone::VT_HEAD_POSITION_G, head_position_g); } - explicit BoneBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit BoneBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateBone( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateBone( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::BodyPart body_part = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::math::Quat *rotation_g = nullptr, float bone_length = 0.0f, @@ -5011,7 +5011,7 @@ struct DataFeedMessageHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tabl const solarxr_protocol::data_feed::DataFeedConfig *message_as_DataFeedConfig() const { return message_type() == solarxr_protocol::data_feed::DataFeedMessage::DataFeedConfig ? static_cast(message()) : nullptr; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_MESSAGE_TYPE, 1) && VerifyOffset(verifier, VT_MESSAGE) && @@ -5038,29 +5038,29 @@ template<> inline const solarxr_protocol::data_feed::DataFeedConfig *DataFeedMes struct DataFeedMessageHeaderBuilder { typedef DataFeedMessageHeader Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_message_type(solarxr_protocol::data_feed::DataFeedMessage message_type) { fbb_.AddElement(DataFeedMessageHeader::VT_MESSAGE_TYPE, static_cast(message_type), 0); } - void add_message(::flatbuffers::Offset message) { + void add_message(flatbuffers::Offset message) { fbb_.AddOffset(DataFeedMessageHeader::VT_MESSAGE, message); } - explicit DataFeedMessageHeaderBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit DataFeedMessageHeaderBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDataFeedMessageHeader( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateDataFeedMessageHeader( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::data_feed::DataFeedMessage message_type = solarxr_protocol::data_feed::DataFeedMessage::NONE, - ::flatbuffers::Offset message = 0) { + flatbuffers::Offset message = 0) { DataFeedMessageHeaderBuilder builder_(_fbb); builder_.add_message(message); builder_.add_message_type(message_type); @@ -5069,7 +5069,7 @@ inline ::flatbuffers::Offset CreateDataFeedMessageHeader( /// Requests for a single `Update` to be sent. This is helpful when getting /// initial info about the device. -struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef PollDataFeedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CONFIG = 4 @@ -5077,7 +5077,7 @@ struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::data_feed::DataFeedConfig *config() const { return GetPointer(VT_CONFIG); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_CONFIG) && verifier.VerifyTable(config()) && @@ -5087,25 +5087,25 @@ struct PollDataFeed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct PollDataFeedBuilder { typedef PollDataFeed Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_config(::flatbuffers::Offset config) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_config(flatbuffers::Offset config) { fbb_.AddOffset(PollDataFeed::VT_CONFIG, config); } - explicit PollDataFeedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit PollDataFeedBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreatePollDataFeed( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset config = 0) { +inline flatbuffers::Offset CreatePollDataFeed( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset config = 0) { PollDataFeedBuilder builder_(_fbb); builder_.add_config(config); return builder_.Finish(); @@ -5119,15 +5119,15 @@ inline ::flatbuffers::Offset CreatePollDataFeed( /// is a list. /// /// Multiple data feeds are useful to get data at different frequencies. -struct StartDataFeed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StartDataFeed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StartDataFeedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DATA_FEEDS = 4 }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *data_feeds() const { - return GetPointer> *>(VT_DATA_FEEDS); + const flatbuffers::Vector> *data_feeds() const { + return GetPointer> *>(VT_DATA_FEEDS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DATA_FEEDS) && verifier.VerifyVector(data_feeds()) && @@ -5138,34 +5138,34 @@ struct StartDataFeed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct StartDataFeedBuilder { typedef StartDataFeed Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_data_feeds(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feeds) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_data_feeds(flatbuffers::Offset>> data_feeds) { fbb_.AddOffset(StartDataFeed::VT_DATA_FEEDS, data_feeds); } - explicit StartDataFeedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StartDataFeedBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStartDataFeed( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feeds = 0) { +inline flatbuffers::Offset CreateStartDataFeed( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> data_feeds = 0) { StartDataFeedBuilder builder_(_fbb); builder_.add_data_feeds(data_feeds); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateStartDataFeedDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *data_feeds = nullptr) { - auto data_feeds__ = data_feeds ? _fbb.CreateVector<::flatbuffers::Offset>(*data_feeds) : 0; +inline flatbuffers::Offset CreateStartDataFeedDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *data_feeds = nullptr) { + auto data_feeds__ = data_feeds ? _fbb.CreateVector>(*data_feeds) : 0; return solarxr_protocol::data_feed::CreateStartDataFeed( _fbb, data_feeds__); @@ -5178,7 +5178,7 @@ inline ::flatbuffers::Offset CreateStartDataFeedDirect( /// assumptions that the data is actually delivered. If you want to guarantee /// delivery and avoid dropped observations of data (such as a user-initiated /// button press), it is better to use the RPC system. -struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef DataFeedUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICES = 4, @@ -5188,15 +5188,15 @@ struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { VT_INDEX = 12, VT_SERVER_GUARDS = 14 }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *devices() const { - return GetPointer> *>(VT_DEVICES); + const flatbuffers::Vector> *devices() const { + return GetPointer> *>(VT_DEVICES); } - const ::flatbuffers::Vector<::flatbuffers::Offset> *synthetic_trackers() const { - return GetPointer> *>(VT_SYNTHETIC_TRACKERS); + const flatbuffers::Vector> *synthetic_trackers() const { + return GetPointer> *>(VT_SYNTHETIC_TRACKERS); } /// This must represent a set, where there is no more than one bone for a `BodyPart`. - const ::flatbuffers::Vector<::flatbuffers::Offset> *bones() const { - return GetPointer> *>(VT_BONES); + const flatbuffers::Vector> *bones() const { + return GetPointer> *>(VT_BONES); } const solarxr_protocol::data_feed::stay_aligned::StayAlignedPose *stay_aligned_pose() const { return GetPointer(VT_STAY_ALIGNED_POSE); @@ -5230,18 +5230,18 @@ struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct DataFeedUpdateBuilder { typedef DataFeedUpdate Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_devices(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_devices(flatbuffers::Offset>> devices) { fbb_.AddOffset(DataFeedUpdate::VT_DEVICES, devices); } - void add_synthetic_trackers(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> synthetic_trackers) { + void add_synthetic_trackers(flatbuffers::Offset>> synthetic_trackers) { fbb_.AddOffset(DataFeedUpdate::VT_SYNTHETIC_TRACKERS, synthetic_trackers); } - void add_bones(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> bones) { + void add_bones(flatbuffers::Offset>> bones) { fbb_.AddOffset(DataFeedUpdate::VT_BONES, bones); } - void add_stay_aligned_pose(::flatbuffers::Offset stay_aligned_pose) { + void add_stay_aligned_pose(flatbuffers::Offset stay_aligned_pose) { fbb_.AddOffset(DataFeedUpdate::VT_STAY_ALIGNED_POSE, stay_aligned_pose); } void add_index(uint8_t index) { @@ -5255,19 +5255,19 @@ struct DataFeedUpdateBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDataFeedUpdate( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> synthetic_trackers = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> bones = 0, - ::flatbuffers::Offset stay_aligned_pose = 0, +inline flatbuffers::Offset CreateDataFeedUpdate( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> devices = 0, + flatbuffers::Offset>> synthetic_trackers = 0, + flatbuffers::Offset>> bones = 0, + flatbuffers::Offset stay_aligned_pose = 0, uint8_t index = 0) { inline flatbuffers::Offset CreateDataFeedUpdate( flatbuffers::FlatBufferBuilder &_fbb, @@ -5287,12 +5287,12 @@ inline flatbuffers::Offset CreateDataFeedUpdate( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateDataFeedUpdateDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *devices = nullptr, - const std::vector<::flatbuffers::Offset> *synthetic_trackers = nullptr, - const std::vector<::flatbuffers::Offset> *bones = nullptr, - ::flatbuffers::Offset stay_aligned_pose = 0, +inline flatbuffers::Offset CreateDataFeedUpdateDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *devices = nullptr, + const std::vector> *synthetic_trackers = nullptr, + const std::vector> *bones = nullptr, + flatbuffers::Offset stay_aligned_pose = 0, uint8_t index = 0) { auto devices__ = devices ? _fbb.CreateVector<::flatbuffers::Offset>(*devices) : 0; auto synthetic_trackers__ = synthetic_trackers ? _fbb.CreateVector<::flatbuffers::Offset>(*synthetic_trackers) : 0; @@ -5320,7 +5320,7 @@ inline flatbuffers::Offset CreateDataFeedUpdateDirect( /// All information related to the configuration of a data feed. This may be sent /// as part of a `StartFeed`. -struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef DataFeedConfigBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MINIMUM_TIME_SINCE_LAST = 4, @@ -5367,15 +5367,15 @@ struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct DataFeedConfigBuilder { typedef DataFeedConfig Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_minimum_time_since_last(uint16_t minimum_time_since_last) { fbb_.AddElement(DataFeedConfig::VT_MINIMUM_TIME_SINCE_LAST, minimum_time_since_last, 0); } - void add_data_mask(::flatbuffers::Offset data_mask) { + void add_data_mask(flatbuffers::Offset data_mask) { fbb_.AddOffset(DataFeedConfig::VT_DATA_MASK, data_mask); } - void add_synthetic_trackers_mask(::flatbuffers::Offset synthetic_trackers_mask) { + void add_synthetic_trackers_mask(flatbuffers::Offset synthetic_trackers_mask) { fbb_.AddOffset(DataFeedConfig::VT_SYNTHETIC_TRACKERS_MASK, synthetic_trackers_mask); } void add_bone_mask(bool bone_mask) { @@ -5392,18 +5392,18 @@ struct DataFeedConfigBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDataFeedConfig( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateDataFeedConfig( + flatbuffers::FlatBufferBuilder &_fbb, uint16_t minimum_time_since_last = 0, - ::flatbuffers::Offset data_mask = 0, - ::flatbuffers::Offset synthetic_trackers_mask = 0, + flatbuffers::Offset data_mask = 0, + flatbuffers::Offset synthetic_trackers_mask = 0, bool bone_mask = false, bool stay_aligned_pose_mask = false, bool server_guards_mask = false) { @@ -5423,7 +5423,7 @@ namespace rpc { namespace settings { /// Settings for the skeletal model that are toggles. -struct ModelToggles FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ModelToggles FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ModelTogglesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_EXTENDED_SPINE = 4, @@ -5439,43 +5439,43 @@ struct ModelToggles FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { VT_ENFORCE_CONSTRAINTS = 26, VT_CORRECT_CONSTRAINTS = 28 }; - ::flatbuffers::Optional extended_spine() const { + flatbuffers::Optional extended_spine() const { return GetOptional(VT_EXTENDED_SPINE); } - ::flatbuffers::Optional extended_pelvis() const { + flatbuffers::Optional extended_pelvis() const { return GetOptional(VT_EXTENDED_PELVIS); } - ::flatbuffers::Optional extended_knee() const { + flatbuffers::Optional extended_knee() const { return GetOptional(VT_EXTENDED_KNEE); } - ::flatbuffers::Optional force_arms_from_hmd() const { + flatbuffers::Optional force_arms_from_hmd() const { return GetOptional(VT_FORCE_ARMS_FROM_HMD); } - ::flatbuffers::Optional floor_clip() const { + flatbuffers::Optional floor_clip() const { return GetOptional(VT_FLOOR_CLIP); } - ::flatbuffers::Optional skating_correction() const { + flatbuffers::Optional skating_correction() const { return GetOptional(VT_SKATING_CORRECTION); } - ::flatbuffers::Optional toe_snap() const { + flatbuffers::Optional toe_snap() const { return GetOptional(VT_TOE_SNAP); } - ::flatbuffers::Optional foot_plant() const { + flatbuffers::Optional foot_plant() const { return GetOptional(VT_FOOT_PLANT); } - ::flatbuffers::Optional self_localization() const { + flatbuffers::Optional self_localization() const { return GetOptional(VT_SELF_LOCALIZATION); } - ::flatbuffers::Optional use_position() const { + flatbuffers::Optional use_position() const { return GetOptional(VT_USE_POSITION); } - ::flatbuffers::Optional enforce_constraints() const { + flatbuffers::Optional enforce_constraints() const { return GetOptional(VT_ENFORCE_CONSTRAINTS); } - ::flatbuffers::Optional correct_constraints() const { + flatbuffers::Optional correct_constraints() const { return GetOptional(VT_CORRECT_CONSTRAINTS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_EXTENDED_SPINE, 1) && VerifyField(verifier, VT_EXTENDED_PELVIS, 1) && @@ -5495,8 +5495,8 @@ struct ModelToggles FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct ModelTogglesBuilder { typedef ModelToggles Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_extended_spine(bool extended_spine) { fbb_.AddElement(ModelToggles::VT_EXTENDED_SPINE, static_cast(extended_spine)); } @@ -5533,31 +5533,31 @@ struct ModelTogglesBuilder { void add_correct_constraints(bool correct_constraints) { fbb_.AddElement(ModelToggles::VT_CORRECT_CONSTRAINTS, static_cast(correct_constraints)); } - explicit ModelTogglesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ModelTogglesBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateModelToggles( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional extended_spine = ::flatbuffers::nullopt, - ::flatbuffers::Optional extended_pelvis = ::flatbuffers::nullopt, - ::flatbuffers::Optional extended_knee = ::flatbuffers::nullopt, - ::flatbuffers::Optional force_arms_from_hmd = ::flatbuffers::nullopt, - ::flatbuffers::Optional floor_clip = ::flatbuffers::nullopt, - ::flatbuffers::Optional skating_correction = ::flatbuffers::nullopt, - ::flatbuffers::Optional toe_snap = ::flatbuffers::nullopt, - ::flatbuffers::Optional foot_plant = ::flatbuffers::nullopt, - ::flatbuffers::Optional self_localization = ::flatbuffers::nullopt, - ::flatbuffers::Optional use_position = ::flatbuffers::nullopt, - ::flatbuffers::Optional enforce_constraints = ::flatbuffers::nullopt, - ::flatbuffers::Optional correct_constraints = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateModelToggles( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional extended_spine = flatbuffers::nullopt, + flatbuffers::Optional extended_pelvis = flatbuffers::nullopt, + flatbuffers::Optional extended_knee = flatbuffers::nullopt, + flatbuffers::Optional force_arms_from_hmd = flatbuffers::nullopt, + flatbuffers::Optional floor_clip = flatbuffers::nullopt, + flatbuffers::Optional skating_correction = flatbuffers::nullopt, + flatbuffers::Optional toe_snap = flatbuffers::nullopt, + flatbuffers::Optional foot_plant = flatbuffers::nullopt, + flatbuffers::Optional self_localization = flatbuffers::nullopt, + flatbuffers::Optional use_position = flatbuffers::nullopt, + flatbuffers::Optional enforce_constraints = flatbuffers::nullopt, + flatbuffers::Optional correct_constraints = flatbuffers::nullopt) { ModelTogglesBuilder builder_(_fbb); if(correct_constraints) { builder_.add_correct_constraints(*correct_constraints); } if(enforce_constraints) { builder_.add_enforce_constraints(*enforce_constraints); } @@ -5576,7 +5576,7 @@ inline ::flatbuffers::Offset CreateModelToggles( /// Settings for the skeletal model that are ratios. /// These values range from 0 to 1. -struct ModelRatios FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ModelRatios FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ModelRatiosBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IMPUTE_WAIST_FROM_CHEST_HIP = 4, @@ -5587,31 +5587,31 @@ struct ModelRatios FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { VT_INTERP_KNEE_TRACKER_ANKLE = 14, VT_INTERP_KNEE_ANKLE = 16 }; - ::flatbuffers::Optional impute_waist_from_chest_hip() const { + flatbuffers::Optional impute_waist_from_chest_hip() const { return GetOptional(VT_IMPUTE_WAIST_FROM_CHEST_HIP); } - ::flatbuffers::Optional impute_waist_from_chest_legs() const { + flatbuffers::Optional impute_waist_from_chest_legs() const { return GetOptional(VT_IMPUTE_WAIST_FROM_CHEST_LEGS); } - ::flatbuffers::Optional impute_hip_from_chest_legs() const { + flatbuffers::Optional impute_hip_from_chest_legs() const { return GetOptional(VT_IMPUTE_HIP_FROM_CHEST_LEGS); } - ::flatbuffers::Optional impute_hip_from_waist_legs() const { + flatbuffers::Optional impute_hip_from_waist_legs() const { return GetOptional(VT_IMPUTE_HIP_FROM_WAIST_LEGS); } /// Hip's yaw and roll is set to the average of legs when 1.0 - ::flatbuffers::Optional interp_hip_legs() const { + flatbuffers::Optional interp_hip_legs() const { return GetOptional(VT_INTERP_HIP_LEGS); } /// Knee trackers' yaw and roll is set to the lower leg's when 1.0 - ::flatbuffers::Optional interp_knee_tracker_ankle() const { + flatbuffers::Optional interp_knee_tracker_ankle() const { return GetOptional(VT_INTERP_KNEE_TRACKER_ANKLE); } /// Upper leg's yaw and roll is set to the lower leg's when 1.0 - ::flatbuffers::Optional interp_knee_ankle() const { + flatbuffers::Optional interp_knee_ankle() const { return GetOptional(VT_INTERP_KNEE_ANKLE); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IMPUTE_WAIST_FROM_CHEST_HIP, 4) && VerifyField(verifier, VT_IMPUTE_WAIST_FROM_CHEST_LEGS, 4) && @@ -5626,8 +5626,8 @@ struct ModelRatios FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct ModelRatiosBuilder { typedef ModelRatios Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_impute_waist_from_chest_hip(float impute_waist_from_chest_hip) { fbb_.AddElement(ModelRatios::VT_IMPUTE_WAIST_FROM_CHEST_HIP, impute_waist_from_chest_hip); } @@ -5649,26 +5649,26 @@ struct ModelRatiosBuilder { void add_interp_knee_ankle(float interp_knee_ankle) { fbb_.AddElement(ModelRatios::VT_INTERP_KNEE_ANKLE, interp_knee_ankle); } - explicit ModelRatiosBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ModelRatiosBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateModelRatios( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional impute_waist_from_chest_hip = ::flatbuffers::nullopt, - ::flatbuffers::Optional impute_waist_from_chest_legs = ::flatbuffers::nullopt, - ::flatbuffers::Optional impute_hip_from_chest_legs = ::flatbuffers::nullopt, - ::flatbuffers::Optional impute_hip_from_waist_legs = ::flatbuffers::nullopt, - ::flatbuffers::Optional interp_hip_legs = ::flatbuffers::nullopt, - ::flatbuffers::Optional interp_knee_tracker_ankle = ::flatbuffers::nullopt, - ::flatbuffers::Optional interp_knee_ankle = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateModelRatios( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional impute_waist_from_chest_hip = flatbuffers::nullopt, + flatbuffers::Optional impute_waist_from_chest_legs = flatbuffers::nullopt, + flatbuffers::Optional impute_hip_from_chest_legs = flatbuffers::nullopt, + flatbuffers::Optional impute_hip_from_waist_legs = flatbuffers::nullopt, + flatbuffers::Optional interp_hip_legs = flatbuffers::nullopt, + flatbuffers::Optional interp_knee_tracker_ankle = flatbuffers::nullopt, + flatbuffers::Optional interp_knee_ankle = flatbuffers::nullopt) { ModelRatiosBuilder builder_(_fbb); if(interp_knee_ankle) { builder_.add_interp_knee_ankle(*interp_knee_ankle); } if(interp_knee_tracker_ankle) { builder_.add_interp_knee_tracker_ankle(*interp_knee_tracker_ankle); } @@ -5680,15 +5680,15 @@ inline ::flatbuffers::Offset CreateModelRatios( return builder_.Finish(); } -struct LegTweaksSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct LegTweaksSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef LegTweaksSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CORRECTION_STRENGTH = 4 }; - ::flatbuffers::Optional correction_strength() const { + flatbuffers::Optional correction_strength() const { return GetOptional(VT_CORRECTION_STRENGTH); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_CORRECTION_STRENGTH, 4) && verifier.EndTable(); @@ -5697,43 +5697,43 @@ struct LegTweaksSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct LegTweaksSettingsBuilder { typedef LegTweaksSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_correction_strength(float correction_strength) { fbb_.AddElement(LegTweaksSettings::VT_CORRECTION_STRENGTH, correction_strength); } - explicit LegTweaksSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit LegTweaksSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateLegTweaksSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional correction_strength = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateLegTweaksSettings( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional correction_strength = flatbuffers::nullopt) { LegTweaksSettingsBuilder builder_(_fbb); if(correction_strength) { builder_.add_correction_strength(*correction_strength); } return builder_.Finish(); } -struct SkeletonHeight FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SkeletonHeight FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SkeletonHeightBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_HMD_HEIGHT = 4, VT_FLOOR_HEIGHT = 6 }; - ::flatbuffers::Optional hmd_height() const { + flatbuffers::Optional hmd_height() const { return GetOptional(VT_HMD_HEIGHT); } - ::flatbuffers::Optional floor_height() const { + flatbuffers::Optional floor_height() const { return GetOptional(VT_FLOOR_HEIGHT); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_HMD_HEIGHT, 4) && VerifyField(verifier, VT_FLOOR_HEIGHT, 4) && @@ -5743,29 +5743,29 @@ struct SkeletonHeight FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct SkeletonHeightBuilder { typedef SkeletonHeight Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_hmd_height(float hmd_height) { fbb_.AddElement(SkeletonHeight::VT_HMD_HEIGHT, hmd_height); } void add_floor_height(float floor_height) { fbb_.AddElement(SkeletonHeight::VT_FLOOR_HEIGHT, floor_height); } - explicit SkeletonHeightBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SkeletonHeightBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSkeletonHeight( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional hmd_height = ::flatbuffers::nullopt, - ::flatbuffers::Optional floor_height = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateSkeletonHeight( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional hmd_height = flatbuffers::nullopt, + flatbuffers::Optional floor_height = flatbuffers::nullopt) { SkeletonHeightBuilder builder_(_fbb); if(floor_height) { builder_.add_floor_height(*floor_height); } if(hmd_height) { builder_.add_hmd_height(*hmd_height); } @@ -5773,7 +5773,7 @@ inline ::flatbuffers::Offset CreateSkeletonHeight( } /// Settings for the skeletal model. -struct ModelSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ModelSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ModelSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TOGGLES = 4, @@ -5793,7 +5793,7 @@ struct ModelSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::rpc::settings::SkeletonHeight *skeleton_height() const { return GetPointer(VT_SKELETON_HEIGHT); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TOGGLES) && verifier.VerifyTable(toggles()) && @@ -5809,37 +5809,37 @@ struct ModelSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct ModelSettingsBuilder { typedef ModelSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_toggles(::flatbuffers::Offset toggles) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_toggles(flatbuffers::Offset toggles) { fbb_.AddOffset(ModelSettings::VT_TOGGLES, toggles); } - void add_ratios(::flatbuffers::Offset ratios) { + void add_ratios(flatbuffers::Offset ratios) { fbb_.AddOffset(ModelSettings::VT_RATIOS, ratios); } - void add_leg_tweaks(::flatbuffers::Offset leg_tweaks) { + void add_leg_tweaks(flatbuffers::Offset leg_tweaks) { fbb_.AddOffset(ModelSettings::VT_LEG_TWEAKS, leg_tweaks); } - void add_skeleton_height(::flatbuffers::Offset skeleton_height) { + void add_skeleton_height(flatbuffers::Offset skeleton_height) { fbb_.AddOffset(ModelSettings::VT_SKELETON_HEIGHT, skeleton_height); } - explicit ModelSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ModelSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateModelSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset toggles = 0, - ::flatbuffers::Offset ratios = 0, - ::flatbuffers::Offset leg_tweaks = 0, - ::flatbuffers::Offset skeleton_height = 0) { +inline flatbuffers::Offset CreateModelSettings( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset toggles = 0, + flatbuffers::Offset ratios = 0, + flatbuffers::Offset leg_tweaks = 0, + flatbuffers::Offset skeleton_height = 0) { ModelSettingsBuilder builder_(_fbb); builder_.add_skeleton_height(skeleton_height); builder_.add_leg_tweaks(leg_tweaks); @@ -5850,7 +5850,7 @@ inline ::flatbuffers::Offset CreateModelSettings( } // namespace settings -struct RpcMessageHeader FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct RpcMessageHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef RpcMessageHeaderBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TX_ID = 4, @@ -6428,33 +6428,33 @@ template<> inline const solarxr_protocol::rpc::UserHeightRecordingStatusResponse struct RpcMessageHeaderBuilder { typedef RpcMessageHeader Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_tx_id(const solarxr_protocol::datatypes::TransactionId *tx_id) { fbb_.AddStruct(RpcMessageHeader::VT_TX_ID, tx_id); } void add_message_type(solarxr_protocol::rpc::RpcMessage message_type) { fbb_.AddElement(RpcMessageHeader::VT_MESSAGE_TYPE, static_cast(message_type), 0); } - void add_message(::flatbuffers::Offset message) { + void add_message(flatbuffers::Offset message) { fbb_.AddOffset(RpcMessageHeader::VT_MESSAGE, message); } - explicit RpcMessageHeaderBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit RpcMessageHeaderBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateRpcMessageHeader( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateRpcMessageHeader( + flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::TransactionId *tx_id = nullptr, solarxr_protocol::rpc::RpcMessage message_type = solarxr_protocol::rpc::RpcMessage::NONE, - ::flatbuffers::Offset message = 0) { + flatbuffers::Offset message = 0) { RpcMessageHeaderBuilder builder_(_fbb); builder_.add_message(message); builder_.add_tx_id(tx_id); @@ -6462,9 +6462,9 @@ inline ::flatbuffers::Offset CreateRpcMessageHeader( return builder_.Finish(); } -struct HeartbeatRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct HeartbeatRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef HeartbeatRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6472,28 +6472,28 @@ struct HeartbeatRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct HeartbeatRequestBuilder { typedef HeartbeatRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit HeartbeatRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit HeartbeatRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateHeartbeatRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateHeartbeatRequest( + flatbuffers::FlatBufferBuilder &_fbb) { HeartbeatRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct HeartbeatResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct HeartbeatResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef HeartbeatResponseBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6501,26 +6501,26 @@ struct HeartbeatResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct HeartbeatResponseBuilder { typedef HeartbeatResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit HeartbeatResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit HeartbeatResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateHeartbeatResponse( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateHeartbeatResponse( + flatbuffers::FlatBufferBuilder &_fbb) { HeartbeatResponseBuilder builder_(_fbb); return builder_.Finish(); } -struct ResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ResetRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RESET_TYPE = 4, @@ -6530,10 +6530,10 @@ struct ResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { return static_cast(GetField(VT_RESET_TYPE, 0)); } /// Which body parts to reset. Server handles it if empty (usually all) - const ::flatbuffers::Vector *body_parts() const { - return GetPointer *>(VT_BODY_PARTS); + const flatbuffers::Vector *body_parts() const { + return GetPointer *>(VT_BODY_PARTS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_RESET_TYPE, 1) && VerifyOffset(verifier, VT_BODY_PARTS) && @@ -6544,37 +6544,37 @@ struct ResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct ResetRequestBuilder { typedef ResetRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_reset_type(solarxr_protocol::rpc::ResetType reset_type) { fbb_.AddElement(ResetRequest::VT_RESET_TYPE, static_cast(reset_type), 0); } - void add_body_parts(::flatbuffers::Offset<::flatbuffers::Vector> body_parts) { + void add_body_parts(flatbuffers::Offset> body_parts) { fbb_.AddOffset(ResetRequest::VT_BODY_PARTS, body_parts); } - explicit ResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateResetRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateResetRequest( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, - ::flatbuffers::Offset<::flatbuffers::Vector> body_parts = 0) { + flatbuffers::Offset> body_parts = 0) { ResetRequestBuilder builder_(_fbb); builder_.add_body_parts(body_parts); builder_.add_reset_type(reset_type); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateResetRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateResetRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, const std::vector *body_parts = nullptr) { auto body_parts__ = body_parts ? _fbb.CreateVector(*body_parts) : 0; @@ -6584,7 +6584,7 @@ inline ::flatbuffers::Offset CreateResetRequestDirect( body_parts__); } -struct ResetResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ResetResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ResetResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RESET_TYPE = 4, @@ -6627,8 +6627,8 @@ struct ResetResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct ResetResponseBuilder { typedef ResetResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_reset_type(solarxr_protocol::rpc::ResetType reset_type) { fbb_.AddElement(ResetResponse::VT_RESET_TYPE, static_cast(reset_type), 0); } @@ -6649,15 +6649,15 @@ struct ResetResponseBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateResetResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateResetResponse( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, solarxr_protocol::rpc::ResetStatus status = solarxr_protocol::rpc::ResetStatus::STARTED, flatbuffers::Offset> body_parts = 0, @@ -6708,13 +6708,13 @@ struct AssignTrackerRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table const solarxr_protocol::datatypes::math::Quat *mounting_orientation() const { return GetStruct(VT_MOUNTING_ORIENTATION); } - const ::flatbuffers::String *display_name() const { - return GetPointer(VT_DISPLAY_NAME); + const flatbuffers::String *display_name() const { + return GetPointer(VT_DISPLAY_NAME); } bool allow_drift_compensation() const { return GetField(VT_ALLOW_DRIFT_COMPENSATION, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -6729,9 +6729,9 @@ struct AssignTrackerRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table struct AssignTrackerRequestBuilder { typedef AssignTrackerRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_id(flatbuffers::Offset tracker_id) { fbb_.AddOffset(AssignTrackerRequest::VT_TRACKER_ID, tracker_id); } void add_body_position(solarxr_protocol::datatypes::BodyPart body_position) { @@ -6740,29 +6740,29 @@ struct AssignTrackerRequestBuilder { void add_mounting_orientation(const solarxr_protocol::datatypes::math::Quat *mounting_orientation) { fbb_.AddStruct(AssignTrackerRequest::VT_MOUNTING_ORIENTATION, mounting_orientation); } - void add_display_name(::flatbuffers::Offset<::flatbuffers::String> display_name) { + void add_display_name(flatbuffers::Offset display_name) { fbb_.AddOffset(AssignTrackerRequest::VT_DISPLAY_NAME, display_name); } void add_allow_drift_compensation(bool allow_drift_compensation) { fbb_.AddElement(AssignTrackerRequest::VT_ALLOW_DRIFT_COMPENSATION, static_cast(allow_drift_compensation), 0); } - explicit AssignTrackerRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit AssignTrackerRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAssignTrackerRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0, +inline flatbuffers::Offset CreateAssignTrackerRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0, solarxr_protocol::datatypes::BodyPart body_position = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::math::Quat *mounting_orientation = nullptr, - ::flatbuffers::Offset<::flatbuffers::String> display_name = 0, + flatbuffers::Offset display_name = 0, bool allow_drift_compensation = false) { AssignTrackerRequestBuilder builder_(_fbb); builder_.add_display_name(display_name); @@ -6773,9 +6773,9 @@ inline ::flatbuffers::Offset CreateAssignTrackerRequest( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateAssignTrackerRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0, +inline flatbuffers::Offset CreateAssignTrackerRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0, solarxr_protocol::datatypes::BodyPart body_position = solarxr_protocol::datatypes::BodyPart::NONE, const solarxr_protocol::datatypes::math::Quat *mounting_orientation = nullptr, const char *display_name = nullptr, @@ -6790,9 +6790,9 @@ inline ::flatbuffers::Offset CreateAssignTrackerRequestDir allow_drift_compensation); } -struct ClearDriftCompensationRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ClearDriftCompensationRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ClearDriftCompensationRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6800,28 +6800,28 @@ struct ClearDriftCompensationRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuf struct ClearDriftCompensationRequestBuilder { typedef ClearDriftCompensationRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit ClearDriftCompensationRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit ClearDriftCompensationRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateClearDriftCompensationRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateClearDriftCompensationRequest( + flatbuffers::FlatBufferBuilder &_fbb) { ClearDriftCompensationRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SettingsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SettingsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SettingsRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -6829,26 +6829,26 @@ struct SettingsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct SettingsRequestBuilder { typedef SettingsRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SettingsRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SettingsRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSettingsRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSettingsRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SettingsRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SettingsResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STEAM_VR_TRACKERS = 4, @@ -6896,7 +6896,7 @@ struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::rpc::StayAlignedSettings *stay_aligned() const { return GetPointer(VT_STAY_ALIGNED); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_STEAM_VR_TRACKERS) && verifier.VerifyTable(steam_vr_trackers()) && @@ -6926,65 +6926,65 @@ struct SettingsResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct SettingsResponseBuilder { typedef SettingsResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_steam_vr_trackers(::flatbuffers::Offset steam_vr_trackers) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_steam_vr_trackers(flatbuffers::Offset steam_vr_trackers) { fbb_.AddOffset(SettingsResponse::VT_STEAM_VR_TRACKERS, steam_vr_trackers); } - void add_filtering(::flatbuffers::Offset filtering) { + void add_filtering(flatbuffers::Offset filtering) { fbb_.AddOffset(SettingsResponse::VT_FILTERING, filtering); } - void add_drift_compensation(::flatbuffers::Offset drift_compensation) { + void add_drift_compensation(flatbuffers::Offset drift_compensation) { fbb_.AddOffset(SettingsResponse::VT_DRIFT_COMPENSATION, drift_compensation); } - void add_osc_router(::flatbuffers::Offset osc_router) { + void add_osc_router(flatbuffers::Offset osc_router) { fbb_.AddOffset(SettingsResponse::VT_OSC_ROUTER, osc_router); } - void add_vrc_osc(::flatbuffers::Offset vrc_osc) { + void add_vrc_osc(flatbuffers::Offset vrc_osc) { fbb_.AddOffset(SettingsResponse::VT_VRC_OSC, vrc_osc); } - void add_vmc_osc(::flatbuffers::Offset vmc_osc) { + void add_vmc_osc(flatbuffers::Offset vmc_osc) { fbb_.AddOffset(SettingsResponse::VT_VMC_OSC, vmc_osc); } - void add_model_settings(::flatbuffers::Offset model_settings) { + void add_model_settings(flatbuffers::Offset model_settings) { fbb_.AddOffset(SettingsResponse::VT_MODEL_SETTINGS, model_settings); } - void add_tap_detection_settings(::flatbuffers::Offset tap_detection_settings) { + void add_tap_detection_settings(flatbuffers::Offset tap_detection_settings) { fbb_.AddOffset(SettingsResponse::VT_TAP_DETECTION_SETTINGS, tap_detection_settings); } - void add_auto_bone_settings(::flatbuffers::Offset auto_bone_settings) { + void add_auto_bone_settings(flatbuffers::Offset auto_bone_settings) { fbb_.AddOffset(SettingsResponse::VT_AUTO_BONE_SETTINGS, auto_bone_settings); } - void add_resets_settings(::flatbuffers::Offset resets_settings) { + void add_resets_settings(flatbuffers::Offset resets_settings) { fbb_.AddOffset(SettingsResponse::VT_RESETS_SETTINGS, resets_settings); } - void add_stay_aligned(::flatbuffers::Offset stay_aligned) { + void add_stay_aligned(flatbuffers::Offset stay_aligned) { fbb_.AddOffset(SettingsResponse::VT_STAY_ALIGNED, stay_aligned); } - explicit SettingsResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SettingsResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSettingsResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset steam_vr_trackers = 0, - ::flatbuffers::Offset filtering = 0, - ::flatbuffers::Offset drift_compensation = 0, - ::flatbuffers::Offset osc_router = 0, - ::flatbuffers::Offset vrc_osc = 0, - ::flatbuffers::Offset vmc_osc = 0, - ::flatbuffers::Offset model_settings = 0, - ::flatbuffers::Offset tap_detection_settings = 0, - ::flatbuffers::Offset auto_bone_settings = 0, - ::flatbuffers::Offset resets_settings = 0, - ::flatbuffers::Offset stay_aligned = 0) { +inline flatbuffers::Offset CreateSettingsResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset steam_vr_trackers = 0, + flatbuffers::Offset filtering = 0, + flatbuffers::Offset drift_compensation = 0, + flatbuffers::Offset osc_router = 0, + flatbuffers::Offset vrc_osc = 0, + flatbuffers::Offset vmc_osc = 0, + flatbuffers::Offset model_settings = 0, + flatbuffers::Offset tap_detection_settings = 0, + flatbuffers::Offset auto_bone_settings = 0, + flatbuffers::Offset resets_settings = 0, + flatbuffers::Offset stay_aligned = 0) { SettingsResponseBuilder builder_(_fbb); builder_.add_stay_aligned(stay_aligned); builder_.add_resets_settings(resets_settings); @@ -7000,7 +7000,7 @@ inline ::flatbuffers::Offset CreateSettingsResponse( return builder_.Finish(); } -struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ChangeSettingsRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STEAM_VR_TRACKERS = 4, @@ -7048,7 +7048,7 @@ struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta const solarxr_protocol::rpc::StayAlignedSettings *stay_aligned() const { return GetPointer(VT_STAY_ALIGNED); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_STEAM_VR_TRACKERS) && verifier.VerifyTable(steam_vr_trackers()) && @@ -7078,65 +7078,65 @@ struct ChangeSettingsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta struct ChangeSettingsRequestBuilder { typedef ChangeSettingsRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_steam_vr_trackers(::flatbuffers::Offset steam_vr_trackers) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_steam_vr_trackers(flatbuffers::Offset steam_vr_trackers) { fbb_.AddOffset(ChangeSettingsRequest::VT_STEAM_VR_TRACKERS, steam_vr_trackers); } - void add_filtering(::flatbuffers::Offset filtering) { + void add_filtering(flatbuffers::Offset filtering) { fbb_.AddOffset(ChangeSettingsRequest::VT_FILTERING, filtering); } - void add_drift_compensation(::flatbuffers::Offset drift_compensation) { + void add_drift_compensation(flatbuffers::Offset drift_compensation) { fbb_.AddOffset(ChangeSettingsRequest::VT_DRIFT_COMPENSATION, drift_compensation); } - void add_osc_router(::flatbuffers::Offset osc_router) { + void add_osc_router(flatbuffers::Offset osc_router) { fbb_.AddOffset(ChangeSettingsRequest::VT_OSC_ROUTER, osc_router); } - void add_vrc_osc(::flatbuffers::Offset vrc_osc) { + void add_vrc_osc(flatbuffers::Offset vrc_osc) { fbb_.AddOffset(ChangeSettingsRequest::VT_VRC_OSC, vrc_osc); } - void add_vmc_osc(::flatbuffers::Offset vmc_osc) { + void add_vmc_osc(flatbuffers::Offset vmc_osc) { fbb_.AddOffset(ChangeSettingsRequest::VT_VMC_OSC, vmc_osc); } - void add_model_settings(::flatbuffers::Offset model_settings) { + void add_model_settings(flatbuffers::Offset model_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_MODEL_SETTINGS, model_settings); } - void add_tap_detection_settings(::flatbuffers::Offset tap_detection_settings) { + void add_tap_detection_settings(flatbuffers::Offset tap_detection_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_TAP_DETECTION_SETTINGS, tap_detection_settings); } - void add_auto_bone_settings(::flatbuffers::Offset auto_bone_settings) { + void add_auto_bone_settings(flatbuffers::Offset auto_bone_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_AUTO_BONE_SETTINGS, auto_bone_settings); } - void add_resets_settings(::flatbuffers::Offset resets_settings) { + void add_resets_settings(flatbuffers::Offset resets_settings) { fbb_.AddOffset(ChangeSettingsRequest::VT_RESETS_SETTINGS, resets_settings); } - void add_stay_aligned(::flatbuffers::Offset stay_aligned) { + void add_stay_aligned(flatbuffers::Offset stay_aligned) { fbb_.AddOffset(ChangeSettingsRequest::VT_STAY_ALIGNED, stay_aligned); } - explicit ChangeSettingsRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ChangeSettingsRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateChangeSettingsRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset steam_vr_trackers = 0, - ::flatbuffers::Offset filtering = 0, - ::flatbuffers::Offset drift_compensation = 0, - ::flatbuffers::Offset osc_router = 0, - ::flatbuffers::Offset vrc_osc = 0, - ::flatbuffers::Offset vmc_osc = 0, - ::flatbuffers::Offset model_settings = 0, - ::flatbuffers::Offset tap_detection_settings = 0, - ::flatbuffers::Offset auto_bone_settings = 0, - ::flatbuffers::Offset resets_settings = 0, - ::flatbuffers::Offset stay_aligned = 0) { +inline flatbuffers::Offset CreateChangeSettingsRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset steam_vr_trackers = 0, + flatbuffers::Offset filtering = 0, + flatbuffers::Offset drift_compensation = 0, + flatbuffers::Offset osc_router = 0, + flatbuffers::Offset vrc_osc = 0, + flatbuffers::Offset vmc_osc = 0, + flatbuffers::Offset model_settings = 0, + flatbuffers::Offset tap_detection_settings = 0, + flatbuffers::Offset auto_bone_settings = 0, + flatbuffers::Offset resets_settings = 0, + flatbuffers::Offset stay_aligned = 0) { ChangeSettingsRequestBuilder builder_(_fbb); builder_.add_stay_aligned(stay_aligned); builder_.add_resets_settings(resets_settings); @@ -7152,7 +7152,7 @@ inline ::flatbuffers::Offset CreateChangeSettingsRequest( return builder_.Finish(); } -struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SteamVRTrackersSettingBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_WAIST = 4, @@ -7200,7 +7200,7 @@ struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T bool right_hand() const { return GetField(VT_RIGHT_HAND, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_WAIST, 1) && VerifyField(verifier, VT_CHEST, 1) && @@ -7219,8 +7219,8 @@ struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T struct SteamVRTrackersSettingBuilder { typedef SteamVRTrackersSetting Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_waist(bool waist) { fbb_.AddElement(SteamVRTrackersSetting::VT_WAIST, static_cast(waist), 0); } @@ -7254,19 +7254,19 @@ struct SteamVRTrackersSettingBuilder { void add_right_hand(bool right_hand) { fbb_.AddElement(SteamVRTrackersSetting::VT_RIGHT_HAND, static_cast(right_hand), 0); } - explicit SteamVRTrackersSettingBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SteamVRTrackersSettingBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSteamVRTrackersSetting( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSteamVRTrackersSetting( + flatbuffers::FlatBufferBuilder &_fbb, bool waist = false, bool chest = false, bool automaticTrackerToggle = false, @@ -7293,7 +7293,7 @@ inline ::flatbuffers::Offset CreateSteamVRTrackersSettin return builder_.Finish(); } -struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef FilteringSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TYPE = 4, @@ -7306,7 +7306,7 @@ struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table float amount() const { return GetField(VT_AMOUNT, 0.0f); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TYPE, 1) && VerifyField(verifier, VT_AMOUNT, 4) && @@ -7316,27 +7316,27 @@ struct FilteringSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct FilteringSettingsBuilder { typedef FilteringSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_type(solarxr_protocol::datatypes::FilteringType type) { fbb_.AddElement(FilteringSettings::VT_TYPE, static_cast(type), 0); } void add_amount(float amount) { fbb_.AddElement(FilteringSettings::VT_AMOUNT, amount, 0.0f); } - explicit FilteringSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit FilteringSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateFilteringSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateFilteringSettings( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::datatypes::FilteringType type = solarxr_protocol::datatypes::FilteringType::NONE, float amount = 0.0f) { FilteringSettingsBuilder builder_(_fbb); @@ -7346,7 +7346,7 @@ inline ::flatbuffers::Offset CreateFilteringSettings( } /// Settings related to IMU yaw drift compensation -struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef DriftCompensationSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ENABLED = 4, @@ -7368,7 +7368,7 @@ struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers uint16_t max_resets() const { return GetField(VT_MAX_RESETS, 0); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLED, 1) && VerifyField(verifier, VT_PREDICTION, 1) && @@ -7380,8 +7380,8 @@ struct DriftCompensationSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers struct DriftCompensationSettingsBuilder { typedef DriftCompensationSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_enabled(bool enabled) { fbb_.AddElement(DriftCompensationSettings::VT_ENABLED, static_cast(enabled), 0); } @@ -7394,19 +7394,19 @@ struct DriftCompensationSettingsBuilder { void add_max_resets(uint16_t max_resets) { fbb_.AddElement(DriftCompensationSettings::VT_MAX_RESETS, max_resets, 0); } - explicit DriftCompensationSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit DriftCompensationSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDriftCompensationSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateDriftCompensationSettings( + flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, bool prediction = false, float amount = 0.0f, @@ -7420,7 +7420,7 @@ inline ::flatbuffers::Offset CreateDriftCompensationS } /// OSC router forwards messages it receives, to allow the usage of multiple OSC programs for the same app. -struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OSCRouterSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_OSC_SETTINGS = 4 @@ -7428,7 +7428,7 @@ struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table const solarxr_protocol::rpc::OSCSettings *osc_settings() const { return GetPointer(VT_OSC_SETTINGS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_OSC_SETTINGS) && verifier.VerifyTable(osc_settings()) && @@ -7438,32 +7438,32 @@ struct OSCRouterSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct OSCRouterSettingsBuilder { typedef OSCRouterSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_osc_settings(::flatbuffers::Offset osc_settings) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_osc_settings(flatbuffers::Offset osc_settings) { fbb_.AddOffset(OSCRouterSettings::VT_OSC_SETTINGS, osc_settings); } - explicit OSCRouterSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit OSCRouterSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOSCRouterSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset osc_settings = 0) { +inline flatbuffers::Offset CreateOSCRouterSettings( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset osc_settings = 0) { OSCRouterSettingsBuilder builder_(_fbb); builder_.add_osc_settings(osc_settings); return builder_.Finish(); } /// OSC Settings specific to VRChat -struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef VRCOSCSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_OSC_SETTINGS = 4, @@ -7479,7 +7479,7 @@ struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { bool oscquery_enabled() const { return GetField(VT_OSCQUERY_ENABLED, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_OSC_SETTINGS) && verifier.VerifyTable(osc_settings()) && @@ -7492,32 +7492,32 @@ struct VRCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct VRCOSCSettingsBuilder { typedef VRCOSCSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_osc_settings(::flatbuffers::Offset osc_settings) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_osc_settings(flatbuffers::Offset osc_settings) { fbb_.AddOffset(VRCOSCSettings::VT_OSC_SETTINGS, osc_settings); } - void add_trackers(::flatbuffers::Offset trackers) { + void add_trackers(flatbuffers::Offset trackers) { fbb_.AddOffset(VRCOSCSettings::VT_TRACKERS, trackers); } void add_oscquery_enabled(bool oscquery_enabled) { fbb_.AddElement(VRCOSCSettings::VT_OSCQUERY_ENABLED, static_cast(oscquery_enabled), 0); } - explicit VRCOSCSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCOSCSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateVRCOSCSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset osc_settings = 0, - ::flatbuffers::Offset trackers = 0, +inline flatbuffers::Offset CreateVRCOSCSettings( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset osc_settings = 0, + flatbuffers::Offset trackers = 0, bool oscquery_enabled = false) { VRCOSCSettingsBuilder builder_(_fbb); builder_.add_trackers(trackers); @@ -7527,7 +7527,7 @@ inline ::flatbuffers::Offset CreateVRCOSCSettings( } /// OSC Settings specific to VMC -struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef VMCOSCSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_OSC_SETTINGS = 4, @@ -7538,8 +7538,8 @@ struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::rpc::OSCSettings *osc_settings() const { return GetPointer(VT_OSC_SETTINGS); } - const ::flatbuffers::String *vrm_json() const { - return GetPointer(VT_VRM_JSON); + const flatbuffers::String *vrm_json() const { + return GetPointer(VT_VRM_JSON); } bool anchor_hip() const { return GetField(VT_ANCHOR_HIP, 0) != 0; @@ -7547,7 +7547,7 @@ struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { bool mirror_tracking() const { return GetField(VT_MIRROR_TRACKING, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_OSC_SETTINGS) && verifier.VerifyTable(osc_settings()) && @@ -7561,12 +7561,12 @@ struct VMCOSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct VMCOSCSettingsBuilder { typedef VMCOSCSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_osc_settings(::flatbuffers::Offset osc_settings) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_osc_settings(flatbuffers::Offset osc_settings) { fbb_.AddOffset(VMCOSCSettings::VT_OSC_SETTINGS, osc_settings); } - void add_vrm_json(::flatbuffers::Offset<::flatbuffers::String> vrm_json) { + void add_vrm_json(flatbuffers::Offset vrm_json) { fbb_.AddOffset(VMCOSCSettings::VT_VRM_JSON, vrm_json); } void add_anchor_hip(bool anchor_hip) { @@ -7575,21 +7575,21 @@ struct VMCOSCSettingsBuilder { void add_mirror_tracking(bool mirror_tracking) { fbb_.AddElement(VMCOSCSettings::VT_MIRROR_TRACKING, static_cast(mirror_tracking), 0); } - explicit VMCOSCSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit VMCOSCSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateVMCOSCSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset osc_settings = 0, - ::flatbuffers::Offset<::flatbuffers::String> vrm_json = 0, +inline flatbuffers::Offset CreateVMCOSCSettings( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset osc_settings = 0, + flatbuffers::Offset vrm_json = 0, bool anchor_hip = false, bool mirror_tracking = false) { VMCOSCSettingsBuilder builder_(_fbb); @@ -7600,9 +7600,9 @@ inline ::flatbuffers::Offset CreateVMCOSCSettings( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateVMCOSCSettingsDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset osc_settings = 0, +inline flatbuffers::Offset CreateVMCOSCSettingsDirect( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset osc_settings = 0, const char *vrm_json = nullptr, bool anchor_hip = false, bool mirror_tracking = false) { @@ -7616,7 +7616,7 @@ inline ::flatbuffers::Offset CreateVMCOSCSettingsDirect( } /// OSC Settings that are used in *any* osc application. -struct OSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OSCSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OSCSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ENABLED = 4, @@ -7633,10 +7633,10 @@ struct OSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { uint16_t port_out() const { return GetField(VT_PORT_OUT, 0); } - const ::flatbuffers::String *address() const { - return GetPointer(VT_ADDRESS); + const flatbuffers::String *address() const { + return GetPointer(VT_ADDRESS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLED, 1) && VerifyField(verifier, VT_PORT_IN, 2) && @@ -7649,8 +7649,8 @@ struct OSCSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct OSCSettingsBuilder { typedef OSCSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_enabled(bool enabled) { fbb_.AddElement(OSCSettings::VT_ENABLED, static_cast(enabled), 0); } @@ -7660,26 +7660,26 @@ struct OSCSettingsBuilder { void add_port_out(uint16_t port_out) { fbb_.AddElement(OSCSettings::VT_PORT_OUT, port_out, 0); } - void add_address(::flatbuffers::Offset<::flatbuffers::String> address) { + void add_address(flatbuffers::Offset address) { fbb_.AddOffset(OSCSettings::VT_ADDRESS, address); } - explicit OSCSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit OSCSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOSCSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateOSCSettings( + flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, uint16_t port_in = 0, uint16_t port_out = 0, - ::flatbuffers::Offset<::flatbuffers::String> address = 0) { + flatbuffers::Offset address = 0) { OSCSettingsBuilder builder_(_fbb); builder_.add_address(address); builder_.add_port_out(port_out); @@ -7688,8 +7688,8 @@ inline ::flatbuffers::Offset CreateOSCSettings( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateOSCSettingsDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateOSCSettingsDirect( + flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, uint16_t port_in = 0, uint16_t port_out = 0, @@ -7703,7 +7703,7 @@ inline ::flatbuffers::Offset CreateOSCSettingsDirect( address__); } -struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OSCTrackersSettingBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_HEAD = 4, @@ -7735,7 +7735,7 @@ struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table bool hands() const { return GetField(VT_HANDS, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_HEAD, 1) && VerifyField(verifier, VT_CHEST, 1) && @@ -7750,8 +7750,8 @@ struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct OSCTrackersSettingBuilder { typedef OSCTrackersSetting Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_head(bool head) { fbb_.AddElement(OSCTrackersSetting::VT_HEAD, static_cast(head), 0); } @@ -7773,19 +7773,19 @@ struct OSCTrackersSettingBuilder { void add_hands(bool hands) { fbb_.AddElement(OSCTrackersSetting::VT_HANDS, static_cast(hands), 0); } - explicit OSCTrackersSettingBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit OSCTrackersSettingBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOSCTrackersSetting( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateOSCTrackersSetting( + flatbuffers::FlatBufferBuilder &_fbb, bool head = false, bool chest = false, bool waist = false, @@ -7804,7 +7804,7 @@ inline ::flatbuffers::Offset CreateOSCTrackersSetting( return builder_.Finish(); } -struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TapDetectionSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FULL_RESET_DELAY = 4, @@ -7819,42 +7819,42 @@ struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab VT_SETUP_MODE = 22, VT_NUMBER_TRACKERS_OVER_THRESHOLD = 24 }; - ::flatbuffers::Optional full_reset_delay() const { + flatbuffers::Optional full_reset_delay() const { return GetOptional(VT_FULL_RESET_DELAY); } - ::flatbuffers::Optional full_reset_enabled() const { + flatbuffers::Optional full_reset_enabled() const { return GetOptional(VT_FULL_RESET_ENABLED); } - ::flatbuffers::Optional full_reset_taps() const { + flatbuffers::Optional full_reset_taps() const { return GetOptional(VT_FULL_RESET_TAPS); } - ::flatbuffers::Optional yaw_reset_delay() const { + flatbuffers::Optional yaw_reset_delay() const { return GetOptional(VT_YAW_RESET_DELAY); } - ::flatbuffers::Optional yaw_reset_enabled() const { + flatbuffers::Optional yaw_reset_enabled() const { return GetOptional(VT_YAW_RESET_ENABLED); } - ::flatbuffers::Optional yaw_reset_taps() const { + flatbuffers::Optional yaw_reset_taps() const { return GetOptional(VT_YAW_RESET_TAPS); } - ::flatbuffers::Optional mounting_reset_delay() const { + flatbuffers::Optional mounting_reset_delay() const { return GetOptional(VT_MOUNTING_RESET_DELAY); } - ::flatbuffers::Optional mounting_reset_enabled() const { + flatbuffers::Optional mounting_reset_enabled() const { return GetOptional(VT_MOUNTING_RESET_ENABLED); } - ::flatbuffers::Optional mounting_reset_taps() const { + flatbuffers::Optional mounting_reset_taps() const { return GetOptional(VT_MOUNTING_RESET_TAPS); } /// If true, disables reset behavior of tap detection and sends a /// TapDetectionSetupNotification, each time 2 taps are detected on any tracker - ::flatbuffers::Optional setup_mode() const { + flatbuffers::Optional setup_mode() const { return GetOptional(VT_SETUP_MODE); } - ::flatbuffers::Optional number_trackers_over_threshold() const { + flatbuffers::Optional number_trackers_over_threshold() const { return GetOptional(VT_NUMBER_TRACKERS_OVER_THRESHOLD); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FULL_RESET_DELAY, 4) && VerifyField(verifier, VT_FULL_RESET_ENABLED, 1) && @@ -7873,8 +7873,8 @@ struct TapDetectionSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct TapDetectionSettingsBuilder { typedef TapDetectionSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_full_reset_delay(float full_reset_delay) { fbb_.AddElement(TapDetectionSettings::VT_FULL_RESET_DELAY, full_reset_delay); } @@ -7908,30 +7908,30 @@ struct TapDetectionSettingsBuilder { void add_number_trackers_over_threshold(uint8_t number_trackers_over_threshold) { fbb_.AddElement(TapDetectionSettings::VT_NUMBER_TRACKERS_OVER_THRESHOLD, number_trackers_over_threshold); } - explicit TapDetectionSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TapDetectionSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTapDetectionSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional full_reset_delay = ::flatbuffers::nullopt, - ::flatbuffers::Optional full_reset_enabled = ::flatbuffers::nullopt, - ::flatbuffers::Optional full_reset_taps = ::flatbuffers::nullopt, - ::flatbuffers::Optional yaw_reset_delay = ::flatbuffers::nullopt, - ::flatbuffers::Optional yaw_reset_enabled = ::flatbuffers::nullopt, - ::flatbuffers::Optional yaw_reset_taps = ::flatbuffers::nullopt, - ::flatbuffers::Optional mounting_reset_delay = ::flatbuffers::nullopt, - ::flatbuffers::Optional mounting_reset_enabled = ::flatbuffers::nullopt, - ::flatbuffers::Optional mounting_reset_taps = ::flatbuffers::nullopt, - ::flatbuffers::Optional setup_mode = ::flatbuffers::nullopt, - ::flatbuffers::Optional number_trackers_over_threshold = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateTapDetectionSettings( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional full_reset_delay = flatbuffers::nullopt, + flatbuffers::Optional full_reset_enabled = flatbuffers::nullopt, + flatbuffers::Optional full_reset_taps = flatbuffers::nullopt, + flatbuffers::Optional yaw_reset_delay = flatbuffers::nullopt, + flatbuffers::Optional yaw_reset_enabled = flatbuffers::nullopt, + flatbuffers::Optional yaw_reset_taps = flatbuffers::nullopt, + flatbuffers::Optional mounting_reset_delay = flatbuffers::nullopt, + flatbuffers::Optional mounting_reset_enabled = flatbuffers::nullopt, + flatbuffers::Optional mounting_reset_taps = flatbuffers::nullopt, + flatbuffers::Optional setup_mode = flatbuffers::nullopt, + flatbuffers::Optional number_trackers_over_threshold = flatbuffers::nullopt) { TapDetectionSettingsBuilder builder_(_fbb); if(mounting_reset_delay) { builder_.add_mounting_reset_delay(*mounting_reset_delay); } if(yaw_reset_delay) { builder_.add_yaw_reset_delay(*yaw_reset_delay); } @@ -7947,7 +7947,7 @@ inline ::flatbuffers::Offset CreateTapDetectionSettings( return builder_.Finish(); } -struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ResetsSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RESET_MOUNTING_FEET = 4, @@ -7971,7 +7971,7 @@ struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { bool reset_hmd_pitch() const { return GetField(VT_RESET_HMD_PITCH, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_RESET_MOUNTING_FEET, 1) && VerifyField(verifier, VT_ARMS_MOUNTING_RESET_MODE, 1) && @@ -7984,8 +7984,8 @@ struct ResetsSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct ResetsSettingsBuilder { typedef ResetsSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_reset_mounting_feet(bool reset_mounting_feet) { fbb_.AddElement(ResetsSettings::VT_RESET_MOUNTING_FEET, static_cast(reset_mounting_feet), 0); } @@ -8001,19 +8001,19 @@ struct ResetsSettingsBuilder { void add_reset_hmd_pitch(bool reset_hmd_pitch) { fbb_.AddElement(ResetsSettings::VT_RESET_HMD_PITCH, static_cast(reset_hmd_pitch), 0); } - explicit ResetsSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ResetsSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateResetsSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateResetsSettings( + flatbuffers::FlatBufferBuilder &_fbb, bool reset_mounting_feet = false, solarxr_protocol::rpc::ArmsMountingResetMode arms_mounting_reset_mode = solarxr_protocol::rpc::ArmsMountingResetMode::BACK, float yaw_reset_smooth_time = 0.0f, @@ -8028,7 +8028,7 @@ inline ::flatbuffers::Offset CreateResetsSettings( return builder_.Finish(); } -struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StayAlignedSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ENABLED = 4, @@ -8096,7 +8096,7 @@ struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl bool setupComplete() const { return GetField(VT_SETUPCOMPLETE, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLED, 1) && VerifyField(verifier, VT_EXTRAYAWCORRECTION, 1) && @@ -8120,8 +8120,8 @@ struct StayAlignedSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl struct StayAlignedSettingsBuilder { typedef StayAlignedSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_enabled(bool enabled) { fbb_.AddElement(StayAlignedSettings::VT_ENABLED, static_cast(enabled), 0); } @@ -8170,19 +8170,19 @@ struct StayAlignedSettingsBuilder { void add_setupComplete(bool setupComplete) { fbb_.AddElement(StayAlignedSettings::VT_SETUPCOMPLETE, static_cast(setupComplete), 0); } - explicit StayAlignedSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StayAlignedSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStayAlignedSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStayAlignedSettings( + flatbuffers::FlatBufferBuilder &_fbb, bool enabled = false, bool extraYawCorrection = false, bool hideYawCorrection = false, @@ -8220,7 +8220,7 @@ inline ::flatbuffers::Offset CreateStayAlignedSettings( } /// See TapDetectionSettings::setup_mode -struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TapDetectionSetupNotificationBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -8228,7 +8228,7 @@ struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuf const solarxr_protocol::datatypes::TrackerId *tracker_id() const { return GetPointer(VT_TRACKER_ID); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -8238,31 +8238,31 @@ struct TapDetectionSetupNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuf struct TapDetectionSetupNotificationBuilder { typedef TapDetectionSetupNotification Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_id(flatbuffers::Offset tracker_id) { fbb_.AddOffset(TapDetectionSetupNotification::VT_TRACKER_ID, tracker_id); } - explicit TapDetectionSetupNotificationBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TapDetectionSetupNotificationBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTapDetectionSetupNotification( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0) { +inline flatbuffers::Offset CreateTapDetectionSetupNotification( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0) { TapDetectionSetupNotificationBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); return builder_.Finish(); } -struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef RecordBVHRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STOP = 4, @@ -8273,10 +8273,10 @@ struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { } /// Path sent when starting the recording, if null the recording won't happen. /// Has different behavior depending if its a file path or a directory path. - const ::flatbuffers::String *path() const { - return GetPointer(VT_PATH); + const flatbuffers::String *path() const { + return GetPointer(VT_PATH); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_STOP, 1) && VerifyOffset(verifier, VT_PATH) && @@ -8287,37 +8287,37 @@ struct RecordBVHRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct RecordBVHRequestBuilder { typedef RecordBVHRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_stop(bool stop) { fbb_.AddElement(RecordBVHRequest::VT_STOP, static_cast(stop), 0); } - void add_path(::flatbuffers::Offset<::flatbuffers::String> path) { + void add_path(flatbuffers::Offset path) { fbb_.AddOffset(RecordBVHRequest::VT_PATH, path); } - explicit RecordBVHRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit RecordBVHRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateRecordBVHRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateRecordBVHRequest( + flatbuffers::FlatBufferBuilder &_fbb, bool stop = false, - ::flatbuffers::Offset<::flatbuffers::String> path = 0) { + flatbuffers::Offset path = 0) { RecordBVHRequestBuilder builder_(_fbb); builder_.add_path(path); builder_.add_stop(stop); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateRecordBVHRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateRecordBVHRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, bool stop = false, const char *path = nullptr) { auto path__ = path ? _fbb.CreateString(path) : 0; @@ -8327,7 +8327,7 @@ inline ::flatbuffers::Offset CreateRecordBVHRequestDirect( path__); } -struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef RecordBVHStatusBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_RECORDING = 4 @@ -8335,7 +8335,7 @@ struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { bool recording() const { return GetField(VT_RECORDING, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_RECORDING, 1) && verifier.EndTable(); @@ -8344,33 +8344,33 @@ struct RecordBVHStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct RecordBVHStatusBuilder { typedef RecordBVHStatus Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_recording(bool recording) { fbb_.AddElement(RecordBVHStatus::VT_RECORDING, static_cast(recording), 0); } - explicit RecordBVHStatusBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit RecordBVHStatusBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateRecordBVHStatus( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateRecordBVHStatus( + flatbuffers::FlatBufferBuilder &_fbb, bool recording = false) { RecordBVHStatusBuilder builder_(_fbb); builder_.add_recording(recording); return builder_.Finish(); } -struct RecordBVHStatusRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct RecordBVHStatusRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef RecordBVHStatusRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8378,26 +8378,26 @@ struct RecordBVHStatusRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T struct RecordBVHStatusRequestBuilder { typedef RecordBVHStatusRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit RecordBVHStatusRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit RecordBVHStatusRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateRecordBVHStatusRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateRecordBVHStatusRequest( + flatbuffers::FlatBufferBuilder &_fbb) { RecordBVHStatusRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SkeletonPartBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BONE = 4, @@ -8409,7 +8409,7 @@ struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { float value() const { return GetField(VT_VALUE, 0.0f); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_BONE, 1) && VerifyField(verifier, VT_VALUE, 4) && @@ -8419,27 +8419,27 @@ struct SkeletonPart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct SkeletonPartBuilder { typedef SkeletonPart Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_bone(solarxr_protocol::rpc::SkeletonBone bone) { fbb_.AddElement(SkeletonPart::VT_BONE, static_cast(bone), 0); } void add_value(float value) { fbb_.AddElement(SkeletonPart::VT_VALUE, value, 0.0f); } - explicit SkeletonPartBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SkeletonPartBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSkeletonPart( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSkeletonPart( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::SkeletonBone bone = solarxr_protocol::rpc::SkeletonBone::NONE, float value = 0.0f) { SkeletonPartBuilder builder_(_fbb); @@ -8448,9 +8448,9 @@ inline ::flatbuffers::Offset CreateSkeletonPart( return builder_.Finish(); } -struct SkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SkeletonConfigRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8458,38 +8458,38 @@ struct SkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta struct SkeletonConfigRequestBuilder { typedef SkeletonConfigRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SkeletonConfigRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SkeletonConfigRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSkeletonConfigRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSkeletonConfigRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SkeletonConfigRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SkeletonConfigResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SkeletonConfigResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SkeletonConfigResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_SKELETON_PARTS = 4, VT_USER_HEIGHT = 6 }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *skeleton_parts() const { - return GetPointer> *>(VT_SKELETON_PARTS); + const flatbuffers::Vector> *skeleton_parts() const { + return GetPointer> *>(VT_SKELETON_PARTS); } float user_height() const { return GetField(VT_USER_HEIGHT, 0.0f); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_SKELETON_PARTS) && verifier.VerifyVector(skeleton_parts()) && @@ -8501,28 +8501,28 @@ struct SkeletonConfigResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T struct SkeletonConfigResponseBuilder { typedef SkeletonConfigResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_skeleton_parts(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> skeleton_parts) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_skeleton_parts(flatbuffers::Offset>> skeleton_parts) { fbb_.AddOffset(SkeletonConfigResponse::VT_SKELETON_PARTS, skeleton_parts); } void add_user_height(float user_height) { fbb_.AddElement(SkeletonConfigResponse::VT_USER_HEIGHT, user_height, 0.0f); } - explicit SkeletonConfigResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SkeletonConfigResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSkeletonConfigResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> skeleton_parts = 0, +inline flatbuffers::Offset CreateSkeletonConfigResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> skeleton_parts = 0, float user_height = 0.0f) { SkeletonConfigResponseBuilder builder_(_fbb); builder_.add_user_height(user_height); @@ -8530,20 +8530,20 @@ inline ::flatbuffers::Offset CreateSkeletonConfigRespons return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSkeletonConfigResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *skeleton_parts = nullptr, +inline flatbuffers::Offset CreateSkeletonConfigResponseDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *skeleton_parts = nullptr, float user_height = 0.0f) { - auto skeleton_parts__ = skeleton_parts ? _fbb.CreateVector<::flatbuffers::Offset>(*skeleton_parts) : 0; + auto skeleton_parts__ = skeleton_parts ? _fbb.CreateVector>(*skeleton_parts) : 0; return solarxr_protocol::rpc::CreateSkeletonConfigResponse( _fbb, skeleton_parts__, user_height); } -struct SkeletonResetAllRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SkeletonResetAllRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SkeletonResetAllRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8551,26 +8551,26 @@ struct SkeletonResetAllRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers:: struct SkeletonResetAllRequestBuilder { typedef SkeletonResetAllRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SkeletonResetAllRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SkeletonResetAllRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSkeletonResetAllRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSkeletonResetAllRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SkeletonResetAllRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ChangeSkeletonConfigRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BONE = 4, @@ -8582,7 +8582,7 @@ struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffe float value() const { return GetField(VT_VALUE, 0.0f); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_BONE, 1) && VerifyField(verifier, VT_VALUE, 4) && @@ -8592,27 +8592,27 @@ struct ChangeSkeletonConfigRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffe struct ChangeSkeletonConfigRequestBuilder { typedef ChangeSkeletonConfigRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_bone(solarxr_protocol::rpc::SkeletonBone bone) { fbb_.AddElement(ChangeSkeletonConfigRequest::VT_BONE, static_cast(bone), 0); } void add_value(float value) { fbb_.AddElement(ChangeSkeletonConfigRequest::VT_VALUE, value, 0.0f); } - explicit ChangeSkeletonConfigRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ChangeSkeletonConfigRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateChangeSkeletonConfigRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateChangeSkeletonConfigRequest( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::SkeletonBone bone = solarxr_protocol::rpc::SkeletonBone::NONE, float value = 0.0f) { ChangeSkeletonConfigRequestBuilder builder_(_fbb); @@ -8621,19 +8621,19 @@ inline ::flatbuffers::Offset CreateChangeSkeletonCo return builder_.Finish(); } -struct SerialDevice FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialDevice FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialDeviceBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PORT = 4, VT_NAME = 6 }; - const ::flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - const ::flatbuffers::String *name() const { - return GetPointer(VT_NAME); + const flatbuffers::String *name() const { + return GetPointer(VT_NAME); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_PORT) && verifier.VerifyString(port()) && @@ -8645,37 +8645,37 @@ struct SerialDevice FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct SerialDeviceBuilder { typedef SerialDevice Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_port(flatbuffers::Offset port) { fbb_.AddOffset(SerialDevice::VT_PORT, port); } - void add_name(::flatbuffers::Offset<::flatbuffers::String> name) { + void add_name(flatbuffers::Offset name) { fbb_.AddOffset(SerialDevice::VT_NAME, name); } - explicit SerialDeviceBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialDeviceBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialDevice( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> port = 0, - ::flatbuffers::Offset<::flatbuffers::String> name = 0) { +inline flatbuffers::Offset CreateSerialDevice( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset port = 0, + flatbuffers::Offset name = 0) { SerialDeviceBuilder builder_(_fbb); builder_.add_name(name); builder_.add_port(port); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSerialDeviceDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSerialDeviceDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *port = nullptr, const char *name = nullptr) { auto port__ = port ? _fbb.CreateString(port) : 0; @@ -8686,7 +8686,7 @@ inline ::flatbuffers::Offset CreateSerialDeviceDirect( name__); } -struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OpenSerialRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_AUTO_ = 4, @@ -8696,10 +8696,10 @@ struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table bool auto_() const { return GetField(VT_AUTO_, 0) != 0; } - const ::flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_AUTO_, 1) && VerifyOffset(verifier, VT_PORT) && @@ -8710,37 +8710,37 @@ struct OpenSerialRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct OpenSerialRequestBuilder { typedef OpenSerialRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_auto_(bool auto_) { fbb_.AddElement(OpenSerialRequest::VT_AUTO_, static_cast(auto_), 0); } - void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { + void add_port(flatbuffers::Offset port) { fbb_.AddOffset(OpenSerialRequest::VT_PORT, port); } - explicit OpenSerialRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit OpenSerialRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOpenSerialRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateOpenSerialRequest( + flatbuffers::FlatBufferBuilder &_fbb, bool auto_ = false, - ::flatbuffers::Offset<::flatbuffers::String> port = 0) { + flatbuffers::Offset port = 0) { OpenSerialRequestBuilder builder_(_fbb); builder_.add_port(port); builder_.add_auto_(auto_); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateOpenSerialRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateOpenSerialRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, bool auto_ = false, const char *port = nullptr) { auto port__ = port ? _fbb.CreateString(port) : 0; @@ -8750,9 +8750,9 @@ inline ::flatbuffers::Offset CreateOpenSerialRequestDirect( port__); } -struct CloseSerialRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct CloseSerialRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef CloseSerialRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8760,38 +8760,38 @@ struct CloseSerialRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct CloseSerialRequestBuilder { typedef CloseSerialRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit CloseSerialRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit CloseSerialRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateCloseSerialRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateCloseSerialRequest( + flatbuffers::FlatBufferBuilder &_fbb) { CloseSerialRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SetWifiRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SetWifiRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SetWifiRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_SSID = 4, VT_PASSWORD = 6 }; - const ::flatbuffers::String *ssid() const { - return GetPointer(VT_SSID); + const flatbuffers::String *ssid() const { + return GetPointer(VT_SSID); } - const ::flatbuffers::String *password() const { - return GetPointer(VT_PASSWORD); + const flatbuffers::String *password() const { + return GetPointer(VT_PASSWORD); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_SSID) && verifier.VerifyString(ssid()) && @@ -8803,37 +8803,37 @@ struct SetWifiRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct SetWifiRequestBuilder { typedef SetWifiRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_ssid(::flatbuffers::Offset<::flatbuffers::String> ssid) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_ssid(flatbuffers::Offset ssid) { fbb_.AddOffset(SetWifiRequest::VT_SSID, ssid); } - void add_password(::flatbuffers::Offset<::flatbuffers::String> password) { + void add_password(flatbuffers::Offset password) { fbb_.AddOffset(SetWifiRequest::VT_PASSWORD, password); } - explicit SetWifiRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SetWifiRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSetWifiRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> ssid = 0, - ::flatbuffers::Offset<::flatbuffers::String> password = 0) { +inline flatbuffers::Offset CreateSetWifiRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset ssid = 0, + flatbuffers::Offset password = 0) { SetWifiRequestBuilder builder_(_fbb); builder_.add_password(password); builder_.add_ssid(ssid); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSetWifiRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSetWifiRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *ssid = nullptr, const char *password = nullptr) { auto ssid__ = ssid ? _fbb.CreateString(ssid) : 0; @@ -8844,19 +8844,19 @@ inline ::flatbuffers::Offset CreateSetWifiRequestDirect( password__); } -struct SerialUpdateResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialUpdateResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialUpdateResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LOG = 4, VT_CLOSED = 6 }; - const ::flatbuffers::String *log() const { - return GetPointer(VT_LOG); + const flatbuffers::String *log() const { + return GetPointer(VT_LOG); } bool closed() const { return GetField(VT_CLOSED, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_LOG) && verifier.VerifyString(log()) && @@ -8867,28 +8867,28 @@ struct SerialUpdateResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct SerialUpdateResponseBuilder { typedef SerialUpdateResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_log(::flatbuffers::Offset<::flatbuffers::String> log) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_log(flatbuffers::Offset log) { fbb_.AddOffset(SerialUpdateResponse::VT_LOG, log); } void add_closed(bool closed) { fbb_.AddElement(SerialUpdateResponse::VT_CLOSED, static_cast(closed), 0); } - explicit SerialUpdateResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialUpdateResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialUpdateResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> log = 0, +inline flatbuffers::Offset CreateSerialUpdateResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset log = 0, bool closed = false) { SerialUpdateResponseBuilder builder_(_fbb); builder_.add_log(log); @@ -8896,8 +8896,8 @@ inline ::flatbuffers::Offset CreateSerialUpdateResponse( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSerialUpdateResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSerialUpdateResponseDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *log = nullptr, bool closed = false) { auto log__ = log ? _fbb.CreateString(log) : 0; @@ -8908,9 +8908,9 @@ inline ::flatbuffers::Offset CreateSerialUpdateResponseDir } /// Reboots the tracker connected to the serial monitor -struct SerialTrackerRebootRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialTrackerRebootRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialTrackerRebootRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8918,29 +8918,29 @@ struct SerialTrackerRebootRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffer struct SerialTrackerRebootRequestBuilder { typedef SerialTrackerRebootRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SerialTrackerRebootRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SerialTrackerRebootRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialTrackerRebootRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSerialTrackerRebootRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerRebootRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sends the GET INFO cmd to the current tracker on the serial monitor -struct SerialTrackerGetInfoRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialTrackerGetInfoRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialTrackerGetInfoRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8948,29 +8948,29 @@ struct SerialTrackerGetInfoRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffe struct SerialTrackerGetInfoRequestBuilder { typedef SerialTrackerGetInfoRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SerialTrackerGetInfoRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SerialTrackerGetInfoRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialTrackerGetInfoRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSerialTrackerGetInfoRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerGetInfoRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sends the FRST cmd to the currently connected Tracker over the Serial Monitor -struct SerialTrackerFactoryResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialTrackerFactoryResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialTrackerFactoryResetRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -8978,35 +8978,35 @@ struct SerialTrackerFactoryResetRequest FLATBUFFERS_FINAL_CLASS : private ::flat struct SerialTrackerFactoryResetRequestBuilder { typedef SerialTrackerFactoryResetRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SerialTrackerFactoryResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SerialTrackerFactoryResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialTrackerFactoryResetRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSerialTrackerFactoryResetRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerFactoryResetRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sends a custom cmd to the currently connected Tracker over the Serial Monitor -struct SerialTrackerCustomCommandRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialTrackerCustomCommandRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialTrackerCustomCommandRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_COMMAND = 4 }; - const ::flatbuffers::String *command() const { - return GetPointer(VT_COMMAND); + const flatbuffers::String *command() const { + return GetPointer(VT_COMMAND); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_COMMAND) && verifier.VerifyString(command()) && @@ -9016,32 +9016,32 @@ struct SerialTrackerCustomCommandRequest FLATBUFFERS_FINAL_CLASS : private ::fla struct SerialTrackerCustomCommandRequestBuilder { typedef SerialTrackerCustomCommandRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_command(::flatbuffers::Offset<::flatbuffers::String> command) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_command(flatbuffers::Offset command) { fbb_.AddOffset(SerialTrackerCustomCommandRequest::VT_COMMAND, command); } - explicit SerialTrackerCustomCommandRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialTrackerCustomCommandRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialTrackerCustomCommandRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> command = 0) { +inline flatbuffers::Offset CreateSerialTrackerCustomCommandRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset command = 0) { SerialTrackerCustomCommandRequestBuilder builder_(_fbb); builder_.add_command(command); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSerialTrackerCustomCommandRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSerialTrackerCustomCommandRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *command = nullptr) { auto command__ = command ? _fbb.CreateString(command) : 0; return solarxr_protocol::rpc::CreateSerialTrackerCustomCommandRequest( @@ -9049,9 +9049,9 @@ inline ::flatbuffers::Offset CreateSerialTrac command__); } -struct SerialDevicesRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialDevicesRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialDevicesRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9059,34 +9059,34 @@ struct SerialDevicesRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct SerialDevicesRequestBuilder { typedef SerialDevicesRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SerialDevicesRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SerialDevicesRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialDevicesRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSerialDevicesRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SerialDevicesRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct SerialDevicesResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialDevicesResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialDevicesResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICES = 4 }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *devices() const { - return GetPointer> *>(VT_DEVICES); + const flatbuffers::Vector> *devices() const { + return GetPointer> *>(VT_DEVICES); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DEVICES) && verifier.VerifyVector(devices()) && @@ -9097,40 +9097,40 @@ struct SerialDevicesResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta struct SerialDevicesResponseBuilder { typedef SerialDevicesResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_devices(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_devices(flatbuffers::Offset>> devices) { fbb_.AddOffset(SerialDevicesResponse::VT_DEVICES, devices); } - explicit SerialDevicesResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialDevicesResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialDevicesResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> devices = 0) { +inline flatbuffers::Offset CreateSerialDevicesResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> devices = 0) { SerialDevicesResponseBuilder builder_(_fbb); builder_.add_devices(devices); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSerialDevicesResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *devices = nullptr) { - auto devices__ = devices ? _fbb.CreateVector<::flatbuffers::Offset>(*devices) : 0; +inline flatbuffers::Offset CreateSerialDevicesResponseDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *devices = nullptr) { + auto devices__ = devices ? _fbb.CreateVector>(*devices) : 0; return solarxr_protocol::rpc::CreateSerialDevicesResponse( _fbb, devices__); } -struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef NewSerialDeviceResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE = 4 @@ -9138,7 +9138,7 @@ struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers:: const solarxr_protocol::rpc::SerialDevice *device() const { return GetPointer(VT_DEVICE); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DEVICE) && verifier.VerifyTable(device()) && @@ -9148,47 +9148,47 @@ struct NewSerialDeviceResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers:: struct NewSerialDeviceResponseBuilder { typedef NewSerialDeviceResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_device(::flatbuffers::Offset device) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_device(flatbuffers::Offset device) { fbb_.AddOffset(NewSerialDeviceResponse::VT_DEVICE, device); } - explicit NewSerialDeviceResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit NewSerialDeviceResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateNewSerialDeviceResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset device = 0) { +inline flatbuffers::Offset CreateNewSerialDeviceResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset device = 0) { NewSerialDeviceResponseBuilder builder_(_fbb); builder_.add_device(device); return builder_.Finish(); } -struct StartWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StartWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StartWifiProvisioningRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_SSID = 4, VT_PASSWORD = 6, VT_PORT = 8 }; - const ::flatbuffers::String *ssid() const { - return GetPointer(VT_SSID); + const flatbuffers::String *ssid() const { + return GetPointer(VT_SSID); } - const ::flatbuffers::String *password() const { - return GetPointer(VT_PASSWORD); + const flatbuffers::String *password() const { + return GetPointer(VT_PASSWORD); } - const ::flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_SSID) && verifier.VerifyString(ssid()) && @@ -9202,33 +9202,33 @@ struct StartWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuff struct StartWifiProvisioningRequestBuilder { typedef StartWifiProvisioningRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_ssid(::flatbuffers::Offset<::flatbuffers::String> ssid) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_ssid(flatbuffers::Offset ssid) { fbb_.AddOffset(StartWifiProvisioningRequest::VT_SSID, ssid); } - void add_password(::flatbuffers::Offset<::flatbuffers::String> password) { + void add_password(flatbuffers::Offset password) { fbb_.AddOffset(StartWifiProvisioningRequest::VT_PASSWORD, password); } - void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { + void add_port(flatbuffers::Offset port) { fbb_.AddOffset(StartWifiProvisioningRequest::VT_PORT, port); } - explicit StartWifiProvisioningRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StartWifiProvisioningRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStartWifiProvisioningRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> ssid = 0, - ::flatbuffers::Offset<::flatbuffers::String> password = 0, - ::flatbuffers::Offset<::flatbuffers::String> port = 0) { +inline flatbuffers::Offset CreateStartWifiProvisioningRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset ssid = 0, + flatbuffers::Offset password = 0, + flatbuffers::Offset port = 0) { StartWifiProvisioningRequestBuilder builder_(_fbb); builder_.add_port(port); builder_.add_password(password); @@ -9236,8 +9236,8 @@ inline ::flatbuffers::Offset CreateStartWifiProvis return builder_.Finish(); } -inline ::flatbuffers::Offset CreateStartWifiProvisioningRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStartWifiProvisioningRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *ssid = nullptr, const char *password = nullptr, const char *port = nullptr) { @@ -9251,9 +9251,9 @@ inline ::flatbuffers::Offset CreateStartWifiProvis port__); } -struct StopWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StopWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StopWifiProvisioningRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9261,26 +9261,26 @@ struct StopWifiProvisioningRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffe struct StopWifiProvisioningRequestBuilder { typedef StopWifiProvisioningRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit StopWifiProvisioningRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit StopWifiProvisioningRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStopWifiProvisioningRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateStopWifiProvisioningRequest( + flatbuffers::FlatBufferBuilder &_fbb) { StopWifiProvisioningRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef WifiProvisioningStatusResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_STATUS = 4 @@ -9288,7 +9288,7 @@ struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbu solarxr_protocol::rpc::WifiProvisioningStatus status() const { return static_cast(GetField(VT_STATUS, 0)); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_STATUS, 1) && verifier.EndTable(); @@ -9297,31 +9297,31 @@ struct WifiProvisioningStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbu struct WifiProvisioningStatusResponseBuilder { typedef WifiProvisioningStatusResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_status(solarxr_protocol::rpc::WifiProvisioningStatus status) { fbb_.AddElement(WifiProvisioningStatusResponse::VT_STATUS, static_cast(status), 0); } - explicit WifiProvisioningStatusResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit WifiProvisioningStatusResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateWifiProvisioningStatusResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateWifiProvisioningStatusResponse( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::WifiProvisioningStatus status = solarxr_protocol::rpc::WifiProvisioningStatus::NONE) { WifiProvisioningStatusResponseBuilder builder_(_fbb); builder_.add_status(status); return builder_.Finish(); } -struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AutoBoneProcessRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PROCESS_TYPE = 4 @@ -9329,7 +9329,7 @@ struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T solarxr_protocol::rpc::AutoBoneProcessType process_type() const { return static_cast(GetField(VT_PROCESS_TYPE, 0)); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_PROCESS_TYPE, 1) && verifier.EndTable(); @@ -9338,31 +9338,31 @@ struct AutoBoneProcessRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T struct AutoBoneProcessRequestBuilder { typedef AutoBoneProcessRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_process_type(solarxr_protocol::rpc::AutoBoneProcessType process_type) { fbb_.AddElement(AutoBoneProcessRequest::VT_PROCESS_TYPE, static_cast(process_type), 0); } - explicit AutoBoneProcessRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneProcessRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAutoBoneProcessRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateAutoBoneProcessRequest( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::AutoBoneProcessType process_type = solarxr_protocol::rpc::AutoBoneProcessType::NONE) { AutoBoneProcessRequestBuilder builder_(_fbb); builder_.add_process_type(process_type); return builder_.Finish(); } -struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AutoBoneProcessStatusResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PROCESS_TYPE = 4, @@ -9395,7 +9395,7 @@ struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuf float eta() const { return GetField(VT_ETA, 0.0f); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_PROCESS_TYPE, 1) && VerifyField(verifier, VT_CURRENT, 4) && @@ -9409,8 +9409,8 @@ struct AutoBoneProcessStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuf struct AutoBoneProcessStatusResponseBuilder { typedef AutoBoneProcessStatusResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_process_type(solarxr_protocol::rpc::AutoBoneProcessType process_type) { fbb_.AddElement(AutoBoneProcessStatusResponse::VT_PROCESS_TYPE, static_cast(process_type), 0); } @@ -9429,19 +9429,19 @@ struct AutoBoneProcessStatusResponseBuilder { void add_eta(float eta) { fbb_.AddElement(AutoBoneProcessStatusResponse::VT_ETA, eta, 0.0f); } - explicit AutoBoneProcessStatusResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneProcessStatusResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAutoBoneProcessStatusResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateAutoBoneProcessStatusResponse( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::AutoBoneProcessType process_type = solarxr_protocol::rpc::AutoBoneProcessType::NONE, uint32_t current = 0, uint32_t total = 0, @@ -9458,7 +9458,7 @@ inline ::flatbuffers::Offset CreateAutoBoneProces return builder_.Finish(); } -struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AutoBoneEpochResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CURRENT_EPOCH = 4, @@ -9477,10 +9477,10 @@ struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta return GetField(VT_EPOCH_ERROR, 0.0f); } /// A list of the current estimated body proportions. - const ::flatbuffers::Vector<::flatbuffers::Offset> *adjusted_skeleton_parts() const { - return GetPointer> *>(VT_ADJUSTED_SKELETON_PARTS); + const flatbuffers::Vector> *adjusted_skeleton_parts() const { + return GetPointer> *>(VT_ADJUSTED_SKELETON_PARTS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_CURRENT_EPOCH, 4) && VerifyField(verifier, VT_TOTAL_EPOCHS, 4) && @@ -9494,8 +9494,8 @@ struct AutoBoneEpochResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta struct AutoBoneEpochResponseBuilder { typedef AutoBoneEpochResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_current_epoch(uint32_t current_epoch) { fbb_.AddElement(AutoBoneEpochResponse::VT_CURRENT_EPOCH, current_epoch, 0); } @@ -9505,26 +9505,26 @@ struct AutoBoneEpochResponseBuilder { void add_epoch_error(float epoch_error) { fbb_.AddElement(AutoBoneEpochResponse::VT_EPOCH_ERROR, epoch_error, 0.0f); } - void add_adjusted_skeleton_parts(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> adjusted_skeleton_parts) { + void add_adjusted_skeleton_parts(flatbuffers::Offset>> adjusted_skeleton_parts) { fbb_.AddOffset(AutoBoneEpochResponse::VT_ADJUSTED_SKELETON_PARTS, adjusted_skeleton_parts); } - explicit AutoBoneEpochResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneEpochResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAutoBoneEpochResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateAutoBoneEpochResponse( + flatbuffers::FlatBufferBuilder &_fbb, uint32_t current_epoch = 0, uint32_t total_epochs = 0, float epoch_error = 0.0f, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> adjusted_skeleton_parts = 0) { + flatbuffers::Offset>> adjusted_skeleton_parts = 0) { AutoBoneEpochResponseBuilder builder_(_fbb); builder_.add_adjusted_skeleton_parts(adjusted_skeleton_parts); builder_.add_epoch_error(epoch_error); @@ -9533,13 +9533,13 @@ inline ::flatbuffers::Offset CreateAutoBoneEpochResponse( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateAutoBoneEpochResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateAutoBoneEpochResponseDirect( + flatbuffers::FlatBufferBuilder &_fbb, uint32_t current_epoch = 0, uint32_t total_epochs = 0, float epoch_error = 0.0f, - const std::vector<::flatbuffers::Offset> *adjusted_skeleton_parts = nullptr) { - auto adjusted_skeleton_parts__ = adjusted_skeleton_parts ? _fbb.CreateVector<::flatbuffers::Offset>(*adjusted_skeleton_parts) : 0; + const std::vector> *adjusted_skeleton_parts = nullptr) { + auto adjusted_skeleton_parts__ = adjusted_skeleton_parts ? _fbb.CreateVector>(*adjusted_skeleton_parts) : 0; return solarxr_protocol::rpc::CreateAutoBoneEpochResponse( _fbb, current_epoch, @@ -9549,7 +9549,7 @@ inline ::flatbuffers::Offset CreateAutoBoneEpochResponseD } /// https://github.com/SlimeVR/SlimeVR-Server/blob/v0.8.3/server/src/main/java/dev/slimevr/config/AutoBoneConfig.kt -struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AutoBoneSettingsBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CURSOR_INCREMENT = 4, @@ -9575,73 +9575,73 @@ struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { VT_USE_SKELETON_HEIGHT = 44, VT_RAND_SEED = 46 }; - ::flatbuffers::Optional cursor_increment() const { + flatbuffers::Optional cursor_increment() const { return GetOptional(VT_CURSOR_INCREMENT); } - ::flatbuffers::Optional min_data_distance() const { + flatbuffers::Optional min_data_distance() const { return GetOptional(VT_MIN_DATA_DISTANCE); } - ::flatbuffers::Optional max_data_distance() const { + flatbuffers::Optional max_data_distance() const { return GetOptional(VT_MAX_DATA_DISTANCE); } - ::flatbuffers::Optional num_epochs() const { + flatbuffers::Optional num_epochs() const { return GetOptional(VT_NUM_EPOCHS); } - ::flatbuffers::Optional print_every_num_epochs() const { + flatbuffers::Optional print_every_num_epochs() const { return GetOptional(VT_PRINT_EVERY_NUM_EPOCHS); } - ::flatbuffers::Optional initial_adjust_rate() const { + flatbuffers::Optional initial_adjust_rate() const { return GetOptional(VT_INITIAL_ADJUST_RATE); } - ::flatbuffers::Optional adjust_rate_decay() const { + flatbuffers::Optional adjust_rate_decay() const { return GetOptional(VT_ADJUST_RATE_DECAY); } - ::flatbuffers::Optional slide_error_factor() const { + flatbuffers::Optional slide_error_factor() const { return GetOptional(VT_SLIDE_ERROR_FACTOR); } - ::flatbuffers::Optional offset_slide_error_factor() const { + flatbuffers::Optional offset_slide_error_factor() const { return GetOptional(VT_OFFSET_SLIDE_ERROR_FACTOR); } - ::flatbuffers::Optional foot_height_offset_error_factor() const { + flatbuffers::Optional foot_height_offset_error_factor() const { return GetOptional(VT_FOOT_HEIGHT_OFFSET_ERROR_FACTOR); } - ::flatbuffers::Optional body_proportion_error_factor() const { + flatbuffers::Optional body_proportion_error_factor() const { return GetOptional(VT_BODY_PROPORTION_ERROR_FACTOR); } - ::flatbuffers::Optional height_error_factor() const { + flatbuffers::Optional height_error_factor() const { return GetOptional(VT_HEIGHT_ERROR_FACTOR); } - ::flatbuffers::Optional position_error_factor() const { + flatbuffers::Optional position_error_factor() const { return GetOptional(VT_POSITION_ERROR_FACTOR); } - ::flatbuffers::Optional position_offset_error_factor() const { + flatbuffers::Optional position_offset_error_factor() const { return GetOptional(VT_POSITION_OFFSET_ERROR_FACTOR); } - ::flatbuffers::Optional calc_init_error() const { + flatbuffers::Optional calc_init_error() const { return GetOptional(VT_CALC_INIT_ERROR); } - ::flatbuffers::Optional randomize_frame_order() const { + flatbuffers::Optional randomize_frame_order() const { return GetOptional(VT_RANDOMIZE_FRAME_ORDER); } - ::flatbuffers::Optional scale_each_step() const { + flatbuffers::Optional scale_each_step() const { return GetOptional(VT_SCALE_EACH_STEP); } - ::flatbuffers::Optional sample_count() const { + flatbuffers::Optional sample_count() const { return GetOptional(VT_SAMPLE_COUNT); } - ::flatbuffers::Optional sample_rate_ms() const { + flatbuffers::Optional sample_rate_ms() const { return GetOptional(VT_SAMPLE_RATE_MS); } - ::flatbuffers::Optional save_recordings() const { + flatbuffers::Optional save_recordings() const { return GetOptional(VT_SAVE_RECORDINGS); } - ::flatbuffers::Optional use_skeleton_height() const { + flatbuffers::Optional use_skeleton_height() const { return GetOptional(VT_USE_SKELETON_HEIGHT); } - ::flatbuffers::Optional rand_seed() const { + flatbuffers::Optional rand_seed() const { return GetOptional(VT_RAND_SEED); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_CURSOR_INCREMENT, 4) && VerifyField(verifier, VT_MIN_DATA_DISTANCE, 4) && @@ -9671,8 +9671,8 @@ struct AutoBoneSettings FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct AutoBoneSettingsBuilder { typedef AutoBoneSettings Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_cursor_increment(int32_t cursor_increment) { fbb_.AddElement(AutoBoneSettings::VT_CURSOR_INCREMENT, cursor_increment); } @@ -9739,41 +9739,41 @@ struct AutoBoneSettingsBuilder { void add_rand_seed(int64_t rand_seed) { fbb_.AddElement(AutoBoneSettings::VT_RAND_SEED, rand_seed); } - explicit AutoBoneSettingsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit AutoBoneSettingsBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAutoBoneSettings( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional cursor_increment = ::flatbuffers::nullopt, - ::flatbuffers::Optional min_data_distance = ::flatbuffers::nullopt, - ::flatbuffers::Optional max_data_distance = ::flatbuffers::nullopt, - ::flatbuffers::Optional num_epochs = ::flatbuffers::nullopt, - ::flatbuffers::Optional print_every_num_epochs = ::flatbuffers::nullopt, - ::flatbuffers::Optional initial_adjust_rate = ::flatbuffers::nullopt, - ::flatbuffers::Optional adjust_rate_decay = ::flatbuffers::nullopt, - ::flatbuffers::Optional slide_error_factor = ::flatbuffers::nullopt, - ::flatbuffers::Optional offset_slide_error_factor = ::flatbuffers::nullopt, - ::flatbuffers::Optional foot_height_offset_error_factor = ::flatbuffers::nullopt, - ::flatbuffers::Optional body_proportion_error_factor = ::flatbuffers::nullopt, - ::flatbuffers::Optional height_error_factor = ::flatbuffers::nullopt, - ::flatbuffers::Optional position_error_factor = ::flatbuffers::nullopt, - ::flatbuffers::Optional position_offset_error_factor = ::flatbuffers::nullopt, - ::flatbuffers::Optional calc_init_error = ::flatbuffers::nullopt, - ::flatbuffers::Optional randomize_frame_order = ::flatbuffers::nullopt, - ::flatbuffers::Optional scale_each_step = ::flatbuffers::nullopt, - ::flatbuffers::Optional sample_count = ::flatbuffers::nullopt, - ::flatbuffers::Optional sample_rate_ms = ::flatbuffers::nullopt, - ::flatbuffers::Optional save_recordings = ::flatbuffers::nullopt, - ::flatbuffers::Optional use_skeleton_height = ::flatbuffers::nullopt, - ::flatbuffers::Optional rand_seed = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateAutoBoneSettings( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional cursor_increment = flatbuffers::nullopt, + flatbuffers::Optional min_data_distance = flatbuffers::nullopt, + flatbuffers::Optional max_data_distance = flatbuffers::nullopt, + flatbuffers::Optional num_epochs = flatbuffers::nullopt, + flatbuffers::Optional print_every_num_epochs = flatbuffers::nullopt, + flatbuffers::Optional initial_adjust_rate = flatbuffers::nullopt, + flatbuffers::Optional adjust_rate_decay = flatbuffers::nullopt, + flatbuffers::Optional slide_error_factor = flatbuffers::nullopt, + flatbuffers::Optional offset_slide_error_factor = flatbuffers::nullopt, + flatbuffers::Optional foot_height_offset_error_factor = flatbuffers::nullopt, + flatbuffers::Optional body_proportion_error_factor = flatbuffers::nullopt, + flatbuffers::Optional height_error_factor = flatbuffers::nullopt, + flatbuffers::Optional position_error_factor = flatbuffers::nullopt, + flatbuffers::Optional position_offset_error_factor = flatbuffers::nullopt, + flatbuffers::Optional calc_init_error = flatbuffers::nullopt, + flatbuffers::Optional randomize_frame_order = flatbuffers::nullopt, + flatbuffers::Optional scale_each_step = flatbuffers::nullopt, + flatbuffers::Optional sample_count = flatbuffers::nullopt, + flatbuffers::Optional sample_rate_ms = flatbuffers::nullopt, + flatbuffers::Optional save_recordings = flatbuffers::nullopt, + flatbuffers::Optional use_skeleton_height = flatbuffers::nullopt, + flatbuffers::Optional rand_seed = flatbuffers::nullopt) { AutoBoneSettingsBuilder builder_(_fbb); if(rand_seed) { builder_.add_rand_seed(*rand_seed); } if(sample_rate_ms) { builder_.add_sample_rate_ms(*sample_rate_ms); } @@ -9800,9 +9800,9 @@ inline ::flatbuffers::Offset CreateAutoBoneSettings( return builder_.Finish(); } -struct HeightRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct HeightRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef HeightRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9810,27 +9810,27 @@ struct HeightRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct HeightRequestBuilder { typedef HeightRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit HeightRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit HeightRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateHeightRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateHeightRequest( + flatbuffers::FlatBufferBuilder &_fbb) { HeightRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Returns the current min and max positional tracker heights -struct HeightResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct HeightResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef HeightResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MIN_HEIGHT = 4, @@ -9842,7 +9842,7 @@ struct HeightResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { float max_height() const { return GetField(VT_MAX_HEIGHT, 0.0f); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_MIN_HEIGHT, 4) && VerifyField(verifier, VT_MAX_HEIGHT, 4) && @@ -9852,27 +9852,27 @@ struct HeightResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct HeightResponseBuilder { typedef HeightResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_min_height(float min_height) { fbb_.AddElement(HeightResponse::VT_MIN_HEIGHT, min_height, 0.0f); } void add_max_height(float max_height) { fbb_.AddElement(HeightResponse::VT_MAX_HEIGHT, max_height, 0.0f); } - explicit HeightResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit HeightResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateHeightResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateHeightResponse( + flatbuffers::FlatBufferBuilder &_fbb, float min_height = 0.0f, float max_height = 0.0f) { HeightResponseBuilder builder_(_fbb); @@ -9882,9 +9882,9 @@ inline ::flatbuffers::Offset CreateHeightResponse( } /// Applies the estimated proportions -struct AutoBoneApplyRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AutoBoneApplyRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AutoBoneApplyRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9892,29 +9892,29 @@ struct AutoBoneApplyRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct AutoBoneApplyRequestBuilder { typedef AutoBoneApplyRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit AutoBoneApplyRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit AutoBoneApplyRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAutoBoneApplyRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateAutoBoneApplyRequest( + flatbuffers::FlatBufferBuilder &_fbb) { AutoBoneApplyRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Stops the current recording, using it as far as it has been recorded -struct AutoBoneStopRecordingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AutoBoneStopRecordingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AutoBoneStopRecordingRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9922,29 +9922,29 @@ struct AutoBoneStopRecordingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuff struct AutoBoneStopRecordingRequestBuilder { typedef AutoBoneStopRecordingRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit AutoBoneStopRecordingRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit AutoBoneStopRecordingRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAutoBoneStopRecordingRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateAutoBoneStopRecordingRequest( + flatbuffers::FlatBufferBuilder &_fbb) { AutoBoneStopRecordingRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Cancels the current recording, aborting the process and discarding the data -struct AutoBoneCancelRecordingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AutoBoneCancelRecordingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AutoBoneCancelRecordingRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9952,29 +9952,29 @@ struct AutoBoneCancelRecordingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbu struct AutoBoneCancelRecordingRequestBuilder { typedef AutoBoneCancelRecordingRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit AutoBoneCancelRecordingRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit AutoBoneCancelRecordingRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAutoBoneCancelRecordingRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateAutoBoneCancelRecordingRequest( + flatbuffers::FlatBufferBuilder &_fbb) { AutoBoneCancelRecordingRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Requests the current state of `OverlayDisplayModeResponse`. -struct OverlayDisplayModeRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OverlayDisplayModeRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OverlayDisplayModeRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -9982,39 +9982,39 @@ struct OverlayDisplayModeRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers struct OverlayDisplayModeRequestBuilder { typedef OverlayDisplayModeRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit OverlayDisplayModeRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit OverlayDisplayModeRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOverlayDisplayModeRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateOverlayDisplayModeRequest( + flatbuffers::FlatBufferBuilder &_fbb) { OverlayDisplayModeRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Changes the state of the overlay's display mode. -struct OverlayDisplayModeChangeRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OverlayDisplayModeChangeRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OverlayDisplayModeChangeRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IS_VISIBLE = 4, VT_IS_MIRRORED = 6 }; - ::flatbuffers::Optional is_visible() const { + flatbuffers::Optional is_visible() const { return GetOptional(VT_IS_VISIBLE); } - ::flatbuffers::Optional is_mirrored() const { + flatbuffers::Optional is_mirrored() const { return GetOptional(VT_IS_MIRRORED); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IS_VISIBLE, 1) && VerifyField(verifier, VT_IS_MIRRORED, 1) && @@ -10024,29 +10024,29 @@ struct OverlayDisplayModeChangeRequest FLATBUFFERS_FINAL_CLASS : private ::flatb struct OverlayDisplayModeChangeRequestBuilder { typedef OverlayDisplayModeChangeRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_is_visible(bool is_visible) { fbb_.AddElement(OverlayDisplayModeChangeRequest::VT_IS_VISIBLE, static_cast(is_visible)); } void add_is_mirrored(bool is_mirrored) { fbb_.AddElement(OverlayDisplayModeChangeRequest::VT_IS_MIRRORED, static_cast(is_mirrored)); } - explicit OverlayDisplayModeChangeRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit OverlayDisplayModeChangeRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOverlayDisplayModeChangeRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional is_visible = ::flatbuffers::nullopt, - ::flatbuffers::Optional is_mirrored = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateOverlayDisplayModeChangeRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional is_visible = flatbuffers::nullopt, + flatbuffers::Optional is_mirrored = flatbuffers::nullopt) { OverlayDisplayModeChangeRequestBuilder builder_(_fbb); if(is_mirrored) { builder_.add_is_mirrored(*is_mirrored); } if(is_visible) { builder_.add_is_visible(*is_visible); } @@ -10054,7 +10054,7 @@ inline ::flatbuffers::Offset CreateOverlayDispl } /// The current state of the overlay's display mode. -struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OverlayDisplayModeResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IS_VISIBLE = 4, @@ -10066,7 +10066,7 @@ struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffer bool is_mirrored() const { return GetField(VT_IS_MIRRORED, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_IS_VISIBLE, 1) && VerifyField(verifier, VT_IS_MIRRORED, 1) && @@ -10076,27 +10076,27 @@ struct OverlayDisplayModeResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffer struct OverlayDisplayModeResponseBuilder { typedef OverlayDisplayModeResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_is_visible(bool is_visible) { fbb_.AddElement(OverlayDisplayModeResponse::VT_IS_VISIBLE, static_cast(is_visible), 0); } void add_is_mirrored(bool is_mirrored) { fbb_.AddElement(OverlayDisplayModeResponse::VT_IS_MIRRORED, static_cast(is_mirrored), 0); } - explicit OverlayDisplayModeResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit OverlayDisplayModeResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOverlayDisplayModeResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateOverlayDisplayModeResponse( + flatbuffers::FlatBufferBuilder &_fbb, bool is_visible = false, bool is_mirrored = false) { OverlayDisplayModeResponseBuilder builder_(_fbb); @@ -10109,9 +10109,9 @@ inline ::flatbuffers::Offset CreateOverlayDisplayMod /// like the local ip address, the version of the server, the java version, /// the current working dir and other information we might want to show in the gui /// for information/debug purposes -struct ServerInfosRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ServerInfosRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ServerInfosRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -10119,21 +10119,21 @@ struct ServerInfosRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct ServerInfosRequestBuilder { typedef ServerInfosRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit ServerInfosRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit ServerInfosRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateServerInfosRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateServerInfosRequest( + flatbuffers::FlatBufferBuilder &_fbb) { ServerInfosRequestBuilder builder_(_fbb); return builder_.Finish(); } @@ -10142,15 +10142,15 @@ inline ::flatbuffers::Offset CreateServerInfosRequest( /// like its local ip address (useful for standalone users so they can specify the ip of the server more easily) and any more /// infos we might want to add in the future. (like java version, working dir, server version ....) /// This only holds the local ip for now. But there will be other information added as we chose to display them on the gui for instance -struct ServerInfosResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ServerInfosResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ServerInfosResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LOCALIP = 4 }; - const ::flatbuffers::String *localIp() const { - return GetPointer(VT_LOCALIP); + const flatbuffers::String *localIp() const { + return GetPointer(VT_LOCALIP); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_LOCALIP) && verifier.VerifyString(localIp()) && @@ -10160,32 +10160,32 @@ struct ServerInfosResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl struct ServerInfosResponseBuilder { typedef ServerInfosResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_localIp(::flatbuffers::Offset<::flatbuffers::String> localIp) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_localIp(flatbuffers::Offset localIp) { fbb_.AddOffset(ServerInfosResponse::VT_LOCALIP, localIp); } - explicit ServerInfosResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ServerInfosResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateServerInfosResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> localIp = 0) { +inline flatbuffers::Offset CreateServerInfosResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset localIp = 0) { ServerInfosResponseBuilder builder_(_fbb); builder_.add_localIp(localIp); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateServerInfosResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateServerInfosResponseDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *localIp = nullptr) { auto localIp__ = localIp ? _fbb.CreateString(localIp) : 0; return solarxr_protocol::rpc::CreateServerInfosResponse( @@ -10195,7 +10195,7 @@ inline ::flatbuffers::Offset CreateServerInfosResponseDirec /// Makes a temporary change to legtweaks. This is not saved to disk, and can be /// cleared with `LegTweaksTmpClear` -struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef LegTweaksTmpChangeBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FLOOR_CLIP = 4, @@ -10203,19 +10203,19 @@ struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table VT_TOE_SNAP = 8, VT_FOOT_PLANT = 10 }; - ::flatbuffers::Optional floor_clip() const { + flatbuffers::Optional floor_clip() const { return GetOptional(VT_FLOOR_CLIP); } - ::flatbuffers::Optional skating_correction() const { + flatbuffers::Optional skating_correction() const { return GetOptional(VT_SKATING_CORRECTION); } - ::flatbuffers::Optional toe_snap() const { + flatbuffers::Optional toe_snap() const { return GetOptional(VT_TOE_SNAP); } - ::flatbuffers::Optional foot_plant() const { + flatbuffers::Optional foot_plant() const { return GetOptional(VT_FOOT_PLANT); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FLOOR_CLIP, 1) && VerifyField(verifier, VT_SKATING_CORRECTION, 1) && @@ -10227,8 +10227,8 @@ struct LegTweaksTmpChange FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct LegTweaksTmpChangeBuilder { typedef LegTweaksTmpChange Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_floor_clip(bool floor_clip) { fbb_.AddElement(LegTweaksTmpChange::VT_FLOOR_CLIP, static_cast(floor_clip)); } @@ -10241,23 +10241,23 @@ struct LegTweaksTmpChangeBuilder { void add_foot_plant(bool foot_plant) { fbb_.AddElement(LegTweaksTmpChange::VT_FOOT_PLANT, static_cast(foot_plant)); } - explicit LegTweaksTmpChangeBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit LegTweaksTmpChangeBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateLegTweaksTmpChange( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Optional floor_clip = ::flatbuffers::nullopt, - ::flatbuffers::Optional skating_correction = ::flatbuffers::nullopt, - ::flatbuffers::Optional toe_snap = ::flatbuffers::nullopt, - ::flatbuffers::Optional foot_plant = ::flatbuffers::nullopt) { +inline flatbuffers::Offset CreateLegTweaksTmpChange( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Optional floor_clip = flatbuffers::nullopt, + flatbuffers::Optional skating_correction = flatbuffers::nullopt, + flatbuffers::Optional toe_snap = flatbuffers::nullopt, + flatbuffers::Optional foot_plant = flatbuffers::nullopt) { LegTweaksTmpChangeBuilder builder_(_fbb); if(foot_plant) { builder_.add_foot_plant(*foot_plant); } if(toe_snap) { builder_.add_toe_snap(*toe_snap); } @@ -10268,7 +10268,7 @@ inline ::flatbuffers::Offset CreateLegTweaksTmpChange( /// Clears the legtweaks temporary state back to what the config has. /// Setting a field to `true` will reset that field. -struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef LegTweaksTmpClearBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FLOOR_CLIP = 4, @@ -10288,7 +10288,7 @@ struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table bool foot_plant() const { return GetField(VT_FOOT_PLANT, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FLOOR_CLIP, 1) && VerifyField(verifier, VT_SKATING_CORRECTION, 1) && @@ -10300,8 +10300,8 @@ struct LegTweaksTmpClear FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct LegTweaksTmpClearBuilder { typedef LegTweaksTmpClear Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_floor_clip(bool floor_clip) { fbb_.AddElement(LegTweaksTmpClear::VT_FLOOR_CLIP, static_cast(floor_clip), 0); } @@ -10314,19 +10314,19 @@ struct LegTweaksTmpClearBuilder { void add_foot_plant(bool foot_plant) { fbb_.AddElement(LegTweaksTmpClear::VT_FOOT_PLANT, static_cast(foot_plant), 0); } - explicit LegTweaksTmpClearBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit LegTweaksTmpClearBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateLegTweaksTmpClear( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateLegTweaksTmpClear( + flatbuffers::FlatBufferBuilder &_fbb, bool floor_clip = false, bool skating_correction = false, bool toe_snap = false, @@ -10340,7 +10340,7 @@ inline ::flatbuffers::Offset CreateLegTweaksTmpClear( } /// Tracker requires full reset -struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusTrackerResetBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -10348,7 +10348,7 @@ struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table const flatbuffers::Vector> *tracker_id() const { return GetPointer> *>(VT_TRACKER_ID); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyVector(tracker_id()) && @@ -10367,13 +10367,13 @@ struct StatusTrackerResetBuilder { void add_tracker_id(flatbuffers::Offset>> tracker_id) { fbb_.AddOffset(StatusTrackerReset::VT_TRACKER_ID, tracker_id); } - explicit StatusTrackerResetBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusTrackerResetBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; @@ -10409,7 +10409,7 @@ struct StatusTrackerError FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const flatbuffers::Vector> *tracker_id() const { return GetPointer> *>(VT_TRACKER_ID); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyVector(tracker_id()) && @@ -10428,13 +10428,13 @@ struct StatusTrackerErrorBuilder { void add_tracker_id(flatbuffers::Offset>> tracker_id) { fbb_.AddOffset(StatusTrackerError::VT_TRACKER_ID, tracker_id); } - explicit StatusTrackerErrorBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusTrackerErrorBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; @@ -10460,16 +10460,16 @@ inline flatbuffers::Offset CreateStatusTrackerErrorDirect( } /// SteamVR bridge is disconnected -struct StatusSteamVRDisconnected FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusSteamVRDisconnected FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusSteamVRDisconnectedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_BRIDGE_SETTINGS_NAME = 4 }; /// Name of bridge in the server's config - const ::flatbuffers::String *bridge_settings_name() const { - return GetPointer(VT_BRIDGE_SETTINGS_NAME); + const flatbuffers::String *bridge_settings_name() const { + return GetPointer(VT_BRIDGE_SETTINGS_NAME); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_BRIDGE_SETTINGS_NAME) && verifier.VerifyString(bridge_settings_name()) && @@ -10479,32 +10479,32 @@ struct StatusSteamVRDisconnected FLATBUFFERS_FINAL_CLASS : private ::flatbuffers struct StatusSteamVRDisconnectedBuilder { typedef StatusSteamVRDisconnected Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_bridge_settings_name(::flatbuffers::Offset<::flatbuffers::String> bridge_settings_name) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_bridge_settings_name(flatbuffers::Offset bridge_settings_name) { fbb_.AddOffset(StatusSteamVRDisconnected::VT_BRIDGE_SETTINGS_NAME, bridge_settings_name); } - explicit StatusSteamVRDisconnectedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSteamVRDisconnectedBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusSteamVRDisconnected( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> bridge_settings_name = 0) { +inline flatbuffers::Offset CreateStatusSteamVRDisconnected( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset bridge_settings_name = 0) { StatusSteamVRDisconnectedBuilder builder_(_fbb); builder_.add_bridge_settings_name(bridge_settings_name); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateStatusSteamVRDisconnectedDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStatusSteamVRDisconnectedDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *bridge_settings_name = nullptr) { auto bridge_settings_name__ = bridge_settings_name ? _fbb.CreateString(bridge_settings_name) : 0; return solarxr_protocol::rpc::CreateStatusSteamVRDisconnected( @@ -10513,7 +10513,7 @@ inline ::flatbuffers::Offset CreateStatusSteamVRDisco } /// There is an available HMD tracker and it's not assigned to head -struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusUnassignedHMDBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -10521,7 +10521,7 @@ struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl const solarxr_protocol::datatypes::TrackerId *tracker_id() const { return GetPointer(VT_TRACKER_ID); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -10531,34 +10531,34 @@ struct StatusUnassignedHMD FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl struct StatusUnassignedHMDBuilder { typedef StatusUnassignedHMD Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_id(flatbuffers::Offset tracker_id) { fbb_.AddOffset(StatusUnassignedHMD::VT_TRACKER_ID, tracker_id); } - explicit StatusUnassignedHMDBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusUnassignedHMDBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusUnassignedHMD( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0) { +inline flatbuffers::Offset CreateStatusUnassignedHMD( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0) { StatusUnassignedHMDBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); return builder_.Finish(); } /// Request current statuses that we have -struct StatusSystemRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusSystemRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusSystemRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -10566,35 +10566,35 @@ struct StatusSystemRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl struct StatusSystemRequestBuilder { typedef StatusSystemRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit StatusSystemRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit StatusSystemRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusSystemRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateStatusSystemRequest( + flatbuffers::FlatBufferBuilder &_fbb) { StatusSystemRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Response containing all current valid statuses -struct StatusSystemResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusSystemResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusSystemResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_CURRENT_STATUSES = 4 }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *current_statuses() const { - return GetPointer> *>(VT_CURRENT_STATUSES); + const flatbuffers::Vector> *current_statuses() const { + return GetPointer> *>(VT_CURRENT_STATUSES); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_CURRENT_STATUSES) && verifier.VerifyVector(current_statuses()) && @@ -10605,41 +10605,41 @@ struct StatusSystemResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct StatusSystemResponseBuilder { typedef StatusSystemResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_current_statuses(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> current_statuses) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_current_statuses(flatbuffers::Offset>> current_statuses) { fbb_.AddOffset(StatusSystemResponse::VT_CURRENT_STATUSES, current_statuses); } - explicit StatusSystemResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSystemResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusSystemResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> current_statuses = 0) { +inline flatbuffers::Offset CreateStatusSystemResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> current_statuses = 0) { StatusSystemResponseBuilder builder_(_fbb); builder_.add_current_statuses(current_statuses); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateStatusSystemResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *current_statuses = nullptr) { - auto current_statuses__ = current_statuses ? _fbb.CreateVector<::flatbuffers::Offset>(*current_statuses) : 0; +inline flatbuffers::Offset CreateStatusSystemResponseDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *current_statuses = nullptr) { + auto current_statuses__ = current_statuses ? _fbb.CreateVector>(*current_statuses) : 0; return solarxr_protocol::rpc::CreateStatusSystemResponse( _fbb, current_statuses__); } /// When a new status appears, it's sent alone -struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusSystemUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_NEW_STATUS = 4 @@ -10647,7 +10647,7 @@ struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table const solarxr_protocol::rpc::StatusMessage *new_status() const { return GetPointer(VT_NEW_STATUS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_NEW_STATUS) && verifier.VerifyTable(new_status()) && @@ -10657,32 +10657,32 @@ struct StatusSystemUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct StatusSystemUpdateBuilder { typedef StatusSystemUpdate Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_new_status(::flatbuffers::Offset new_status) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_new_status(flatbuffers::Offset new_status) { fbb_.AddOffset(StatusSystemUpdate::VT_NEW_STATUS, new_status); } - explicit StatusSystemUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSystemUpdateBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusSystemUpdate( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset new_status = 0) { +inline flatbuffers::Offset CreateStatusSystemUpdate( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset new_status = 0) { StatusSystemUpdateBuilder builder_(_fbb); builder_.add_new_status(new_status); return builder_.Finish(); } /// When an status is fixed and it's removed, it's ID is sent -struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusSystemFixedBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_FIXED_STATUS_ID = 4 @@ -10690,7 +10690,7 @@ struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table uint32_t fixed_status_id() const { return GetField(VT_FIXED_STATUS_ID, 0); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_FIXED_STATUS_ID, 4) && verifier.EndTable(); @@ -10699,24 +10699,24 @@ struct StatusSystemFixed FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct StatusSystemFixedBuilder { typedef StatusSystemFixed Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_fixed_status_id(uint32_t fixed_status_id) { fbb_.AddElement(StatusSystemFixed::VT_FIXED_STATUS_ID, fixed_status_id, 0); } - explicit StatusSystemFixedBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusSystemFixedBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusSystemFixed( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStatusSystemFixed( + flatbuffers::FlatBufferBuilder &_fbb, uint32_t fixed_status_id = 0) { StatusSystemFixedBuilder builder_(_fbb); builder_.add_fixed_status_id(fixed_status_id); @@ -10724,16 +10724,16 @@ inline ::flatbuffers::Offset CreateStatusSystemFixed( } /// When the server detects a public network profile -struct StatusPublicNetwork FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusPublicNetwork FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusPublicNetworkBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ADAPTERS = 4 }; /// names of the adapters set to public - const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *adapters() const { - return GetPointer> *>(VT_ADAPTERS); + const flatbuffers::Vector> *adapters() const { + return GetPointer> *>(VT_ADAPTERS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ADAPTERS) && verifier.VerifyVector(adapters()) && @@ -10744,34 +10744,34 @@ struct StatusPublicNetwork FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl struct StatusPublicNetworkBuilder { typedef StatusPublicNetwork Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_adapters(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> adapters) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_adapters(flatbuffers::Offset>> adapters) { fbb_.AddOffset(StatusPublicNetwork::VT_ADAPTERS, adapters); } - explicit StatusPublicNetworkBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusPublicNetworkBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusPublicNetwork( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> adapters = 0) { +inline flatbuffers::Offset CreateStatusPublicNetwork( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> adapters = 0) { StatusPublicNetworkBuilder builder_(_fbb); builder_.add_adapters(adapters); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateStatusPublicNetworkDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *adapters = nullptr) { - auto adapters__ = adapters ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*adapters) : 0; +inline flatbuffers::Offset CreateStatusPublicNetworkDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *adapters = nullptr) { + auto adapters__ = adapters ? _fbb.CreateVector>(*adapters) : 0; return solarxr_protocol::rpc::CreateStatusPublicNetwork( _fbb, adapters__); @@ -10779,7 +10779,7 @@ inline ::flatbuffers::Offset CreateStatusPublicNetworkDirec /// An status is some kind of warning sent by the server, it's mainly made for /// showing problems with the server and need attention from the user. -struct StatusMessage FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct StatusMessage FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef StatusMessageBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4, @@ -10817,7 +10817,7 @@ struct StatusMessage FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::rpc::StatusPublicNetwork *data_as_StatusPublicNetwork() const { return data_type() == solarxr_protocol::rpc::StatusData::StatusPublicNetwork ? static_cast(data()) : nullptr; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 4) && VerifyField(verifier, VT_PRIORITIZED, 1) && @@ -10850,8 +10850,8 @@ template<> inline const solarxr_protocol::rpc::StatusPublicNetwork *StatusMessag struct StatusMessageBuilder { typedef StatusMessage Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_id(uint32_t id) { fbb_.AddElement(StatusMessage::VT_ID, id, 0); } @@ -10861,26 +10861,26 @@ struct StatusMessageBuilder { void add_data_type(solarxr_protocol::rpc::StatusData data_type) { fbb_.AddElement(StatusMessage::VT_DATA_TYPE, static_cast(data_type), 0); } - void add_data(::flatbuffers::Offset data) { + void add_data(flatbuffers::Offset data) { fbb_.AddOffset(StatusMessage::VT_DATA, data); } - explicit StatusMessageBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit StatusMessageBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateStatusMessage( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateStatusMessage( + flatbuffers::FlatBufferBuilder &_fbb, uint32_t id = 0, bool prioritized = false, solarxr_protocol::rpc::StatusData data_type = solarxr_protocol::rpc::StatusData::NONE, - ::flatbuffers::Offset data = 0) { + flatbuffers::Offset data = 0) { StatusMessageBuilder builder_(_fbb); builder_.add_data(data); builder_.add_id(id); @@ -10889,7 +10889,7 @@ inline ::flatbuffers::Offset CreateStatusMessage( return builder_.Finish(); } -struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SetPauseTrackingRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PAUSETRACKING = 4 @@ -10898,7 +10898,7 @@ struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers:: bool pauseTracking() const { return GetField(VT_PAUSETRACKING, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_PAUSETRACKING, 1) && verifier.EndTable(); @@ -10907,24 +10907,24 @@ struct SetPauseTrackingRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers:: struct SetPauseTrackingRequestBuilder { typedef SetPauseTrackingRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_pauseTracking(bool pauseTracking) { fbb_.AddElement(SetPauseTrackingRequest::VT_PAUSETRACKING, static_cast(pauseTracking), 0); } - explicit SetPauseTrackingRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SetPauseTrackingRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSetPauseTrackingRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSetPauseTrackingRequest( + flatbuffers::FlatBufferBuilder &_fbb, bool pauseTracking = false) { SetPauseTrackingRequestBuilder builder_(_fbb); builder_.add_pauseTracking(pauseTracking); @@ -10932,9 +10932,9 @@ inline ::flatbuffers::Offset CreateSetPauseTrackingRequ } /// Clears mounting reset data, defaulting to the manually set mounting orientations -struct ClearMountingResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ClearMountingResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ClearMountingResetRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -10942,27 +10942,27 @@ struct ClearMountingResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers struct ClearMountingResetRequestBuilder { typedef ClearMountingResetRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit ClearMountingResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit ClearMountingResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateClearMountingResetRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateClearMountingResetRequest( + flatbuffers::FlatBufferBuilder &_fbb) { ClearMountingResetRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Used for the server to save a file and have it prompt in the user side -struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SaveFileNotificationBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DATA = 4, @@ -10972,26 +10972,26 @@ struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab VT_EXPECTED_FILENAME = 12 }; /// Binary data of the file - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); + const flatbuffers::Vector *data() const { + return GetPointer *>(VT_DATA); } /// MIME type of file if one exists, use `file_extension` otherwise - const ::flatbuffers::String *mime_type() const { - return GetPointer(VT_MIME_TYPE); + const flatbuffers::String *mime_type() const { + return GetPointer(VT_MIME_TYPE); } /// Use MIME type preferably if one exists - const ::flatbuffers::String *file_extension() const { - return GetPointer(VT_FILE_EXTENSION); + const flatbuffers::String *file_extension() const { + return GetPointer(VT_FILE_EXTENSION); } /// Directory recommended to save the file on - ::flatbuffers::Optional expected_dir() const { + flatbuffers::Optional expected_dir() const { return GetOptional(VT_EXPECTED_DIR); } /// Recommended filename - const ::flatbuffers::String *expected_filename() const { - return GetPointer(VT_EXPECTED_FILENAME); + const flatbuffers::String *expected_filename() const { + return GetPointer(VT_EXPECTED_FILENAME); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DATA) && verifier.VerifyVector(data()) && @@ -11008,41 +11008,41 @@ struct SaveFileNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct SaveFileNotificationBuilder { typedef SaveFileNotification Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_data(flatbuffers::Offset> data) { fbb_.AddOffset(SaveFileNotification::VT_DATA, data); } - void add_mime_type(::flatbuffers::Offset<::flatbuffers::String> mime_type) { + void add_mime_type(flatbuffers::Offset mime_type) { fbb_.AddOffset(SaveFileNotification::VT_MIME_TYPE, mime_type); } - void add_file_extension(::flatbuffers::Offset<::flatbuffers::String> file_extension) { + void add_file_extension(flatbuffers::Offset file_extension) { fbb_.AddOffset(SaveFileNotification::VT_FILE_EXTENSION, file_extension); } void add_expected_dir(solarxr_protocol::rpc::ComputerDirectory expected_dir) { fbb_.AddElement(SaveFileNotification::VT_EXPECTED_DIR, static_cast(expected_dir)); } - void add_expected_filename(::flatbuffers::Offset<::flatbuffers::String> expected_filename) { + void add_expected_filename(flatbuffers::Offset expected_filename) { fbb_.AddOffset(SaveFileNotification::VT_EXPECTED_FILENAME, expected_filename); } - explicit SaveFileNotificationBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SaveFileNotificationBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSaveFileNotification( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0, - ::flatbuffers::Offset<::flatbuffers::String> mime_type = 0, - ::flatbuffers::Offset<::flatbuffers::String> file_extension = 0, - ::flatbuffers::Optional expected_dir = ::flatbuffers::nullopt, - ::flatbuffers::Offset<::flatbuffers::String> expected_filename = 0) { +inline flatbuffers::Offset CreateSaveFileNotification( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset> data = 0, + flatbuffers::Offset mime_type = 0, + flatbuffers::Offset file_extension = 0, + flatbuffers::Optional expected_dir = flatbuffers::nullopt, + flatbuffers::Offset expected_filename = 0) { SaveFileNotificationBuilder builder_(_fbb); builder_.add_expected_filename(expected_filename); builder_.add_file_extension(file_extension); @@ -11052,12 +11052,12 @@ inline ::flatbuffers::Offset CreateSaveFileNotification( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSaveFileNotificationDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSaveFileNotificationDirect( + flatbuffers::FlatBufferBuilder &_fbb, const std::vector *data = nullptr, const char *mime_type = nullptr, const char *file_extension = nullptr, - ::flatbuffers::Optional expected_dir = ::flatbuffers::nullopt, + flatbuffers::Optional expected_dir = flatbuffers::nullopt, const char *expected_filename = nullptr) { auto data__ = data ? _fbb.CreateVector(*data) : 0; auto mime_type__ = mime_type ? _fbb.CreateString(mime_type) : 0; @@ -11072,15 +11072,15 @@ inline ::flatbuffers::Offset CreateSaveFileNotificationDir expected_filename__); } -struct SerialDevicePort FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialDevicePort FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialDevicePortBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_PORT = 4 }; - const ::flatbuffers::String *port() const { - return GetPointer(VT_PORT); + const flatbuffers::String *port() const { + return GetPointer(VT_PORT); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_PORT) && verifier.VerifyString(port()) && @@ -11090,32 +11090,32 @@ struct SerialDevicePort FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct SerialDevicePortBuilder { typedef SerialDevicePort Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_port(::flatbuffers::Offset<::flatbuffers::String> port) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_port(flatbuffers::Offset port) { fbb_.AddOffset(SerialDevicePort::VT_PORT, port); } - explicit SerialDevicePortBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialDevicePortBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialDevicePort( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> port = 0) { +inline flatbuffers::Offset CreateSerialDevicePort( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset port = 0) { SerialDevicePortBuilder builder_(_fbb); builder_.add_port(port); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSerialDevicePortDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSerialDevicePortDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *port = nullptr) { auto port__ = port ? _fbb.CreateString(port) : 0; return solarxr_protocol::rpc::CreateSerialDevicePort( @@ -11123,7 +11123,7 @@ inline ::flatbuffers::Offset CreateSerialDevicePortDirect( port__); } -struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef FirmwarePartBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_URL = 4, @@ -11131,8 +11131,8 @@ struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { VT_DIGEST = 8 }; /// Url of the firmware bin to download - const ::flatbuffers::String *url() const { - return GetPointer(VT_URL); + const flatbuffers::String *url() const { + return GetPointer(VT_URL); } /// Offset of the firmware, used when flashing to the mcu, it indicates where to write this file in memory /// Will be ignored in the case of OTA flashing @@ -11156,9 +11156,9 @@ struct FirmwarePart FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct FirmwarePartBuilder { typedef FirmwarePart Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_url(::flatbuffers::Offset<::flatbuffers::String> url) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_url(flatbuffers::Offset url) { fbb_.AddOffset(FirmwarePart::VT_URL, url); } void add_offset(uint32_t offset) { @@ -11171,9 +11171,9 @@ struct FirmwarePartBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; @@ -11190,8 +11190,8 @@ inline flatbuffers::Offset CreateFirmwarePart( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateFirmwarePartDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateFirmwarePartDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *url = nullptr, uint32_t offset = 0, const char *digest = nullptr) { @@ -11204,7 +11204,7 @@ inline ::flatbuffers::Offset CreateFirmwarePartDirect( digest__); } -struct FirmwareUpdateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct FirmwareUpdateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef FirmwareUpdateRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_METHOD_TYPE = 4, @@ -11223,7 +11223,7 @@ struct FirmwareUpdateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta const solarxr_protocol::rpc::SerialFirmwareUpdate *method_as_SerialFirmwareUpdate() const { return method_type() == solarxr_protocol::rpc::FirmwareUpdateMethod::SerialFirmwareUpdate ? static_cast(method()) : nullptr; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_METHOD_TYPE, 1) && VerifyOffset(verifier, VT_METHOD) && @@ -11242,36 +11242,36 @@ template<> inline const solarxr_protocol::rpc::SerialFirmwareUpdate *FirmwareUpd struct FirmwareUpdateRequestBuilder { typedef FirmwareUpdateRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_method_type(solarxr_protocol::rpc::FirmwareUpdateMethod method_type) { fbb_.AddElement(FirmwareUpdateRequest::VT_METHOD_TYPE, static_cast(method_type), 0); } - void add_method(::flatbuffers::Offset method) { + void add_method(flatbuffers::Offset method) { fbb_.AddOffset(FirmwareUpdateRequest::VT_METHOD, method); } - explicit FirmwareUpdateRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit FirmwareUpdateRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateFirmwareUpdateRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateFirmwareUpdateRequest( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::FirmwareUpdateMethod method_type = solarxr_protocol::rpc::FirmwareUpdateMethod::NONE, - ::flatbuffers::Offset method = 0) { + flatbuffers::Offset method = 0) { FirmwareUpdateRequestBuilder builder_(_fbb); builder_.add_method(method); builder_.add_method_type(method_type); return builder_.Finish(); } -struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef OTAFirmwareUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID = 4, @@ -11285,7 +11285,7 @@ struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table const solarxr_protocol::rpc::FirmwarePart *firmware_part() const { return GetPointer(VT_FIRMWARE_PART); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_DEVICE_ID, 1) && VerifyOffset(verifier, VT_FIRMWARE_PART) && @@ -11296,36 +11296,36 @@ struct OTAFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct OTAFirmwareUpdateBuilder { typedef OTAFirmwareUpdate Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_device_id(const solarxr_protocol::datatypes::DeviceId *device_id) { fbb_.AddStruct(OTAFirmwareUpdate::VT_DEVICE_ID, device_id); } - void add_firmware_part(::flatbuffers::Offset firmware_part) { + void add_firmware_part(flatbuffers::Offset firmware_part) { fbb_.AddOffset(OTAFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } - explicit OTAFirmwareUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit OTAFirmwareUpdateBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateOTAFirmwareUpdate( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateOTAFirmwareUpdate( + flatbuffers::FlatBufferBuilder &_fbb, const solarxr_protocol::datatypes::DeviceId *device_id = nullptr, - ::flatbuffers::Offset firmware_part = 0) { + flatbuffers::Offset firmware_part = 0) { OTAFirmwareUpdateBuilder builder_(_fbb); builder_.add_firmware_part(firmware_part); builder_.add_device_id(device_id); return builder_.Finish(); } -struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialFirmwareUpdateBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID = 4, @@ -11345,17 +11345,17 @@ struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab } /// Credentials to provision after the flashing /// Only used with Serial flashing, because OTA is already connected to the wifi - const ::flatbuffers::String *ssid() const { - return GetPointer(VT_SSID); + const flatbuffers::String *ssid() const { + return GetPointer(VT_SSID); } - const ::flatbuffers::String *password() const { - return GetPointer(VT_PASSWORD); + const flatbuffers::String *password() const { + return GetPointer(VT_PASSWORD); } /// A list of urls and offsets of the different firmware files to flash - const ::flatbuffers::Vector<::flatbuffers::Offset> *firmware_part() const { - return GetPointer> *>(VT_FIRMWARE_PART); + const flatbuffers::Vector> *firmware_part() const { + return GetPointer> *>(VT_FIRMWARE_PART); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DEVICE_ID) && verifier.VerifyTable(device_id()) && @@ -11373,41 +11373,41 @@ struct SerialFirmwareUpdate FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct SerialFirmwareUpdateBuilder { typedef SerialFirmwareUpdate Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_device_id(::flatbuffers::Offset device_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_device_id(flatbuffers::Offset device_id) { fbb_.AddOffset(SerialFirmwareUpdate::VT_DEVICE_ID, device_id); } void add_needManualReboot(bool needManualReboot) { fbb_.AddElement(SerialFirmwareUpdate::VT_NEEDMANUALREBOOT, static_cast(needManualReboot), 0); } - void add_ssid(::flatbuffers::Offset<::flatbuffers::String> ssid) { + void add_ssid(flatbuffers::Offset ssid) { fbb_.AddOffset(SerialFirmwareUpdate::VT_SSID, ssid); } - void add_password(::flatbuffers::Offset<::flatbuffers::String> password) { + void add_password(flatbuffers::Offset password) { fbb_.AddOffset(SerialFirmwareUpdate::VT_PASSWORD, password); } - void add_firmware_part(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> firmware_part) { + void add_firmware_part(flatbuffers::Offset>> firmware_part) { fbb_.AddOffset(SerialFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } - explicit SerialFirmwareUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SerialFirmwareUpdateBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialFirmwareUpdate( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset device_id = 0, +inline flatbuffers::Offset CreateSerialFirmwareUpdate( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset device_id = 0, bool needManualReboot = false, - ::flatbuffers::Offset<::flatbuffers::String> ssid = 0, - ::flatbuffers::Offset<::flatbuffers::String> password = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> firmware_part = 0) { + flatbuffers::Offset ssid = 0, + flatbuffers::Offset password = 0, + flatbuffers::Offset>> firmware_part = 0) { SerialFirmwareUpdateBuilder builder_(_fbb); builder_.add_firmware_part(firmware_part); builder_.add_password(password); @@ -11417,16 +11417,16 @@ inline ::flatbuffers::Offset CreateSerialFirmwareUpdate( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateSerialFirmwareUpdateDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset device_id = 0, +inline flatbuffers::Offset CreateSerialFirmwareUpdateDirect( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset device_id = 0, bool needManualReboot = false, const char *ssid = nullptr, const char *password = nullptr, - const std::vector<::flatbuffers::Offset> *firmware_part = nullptr) { + const std::vector> *firmware_part = nullptr) { auto ssid__ = ssid ? _fbb.CreateString(ssid) : 0; auto password__ = password ? _fbb.CreateString(password) : 0; - auto firmware_part__ = firmware_part ? _fbb.CreateVector<::flatbuffers::Offset>(*firmware_part) : 0; + auto firmware_part__ = firmware_part ? _fbb.CreateVector>(*firmware_part) : 0; return solarxr_protocol::rpc::CreateSerialFirmwareUpdate( _fbb, device_id, @@ -11436,7 +11436,7 @@ inline ::flatbuffers::Offset CreateSerialFirmwareUpdateDir firmware_part__); } -struct FirmwareUpdateStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct FirmwareUpdateStatusResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef FirmwareUpdateStatusResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DEVICE_ID_TYPE = 4, @@ -11464,7 +11464,7 @@ struct FirmwareUpdateStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuff int8_t progress() const { return GetField(VT_PROGRESS, 0); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_DEVICE_ID_TYPE, 1) && VerifyOffset(verifier, VT_DEVICE_ID) && @@ -11485,12 +11485,12 @@ template<> inline const solarxr_protocol::rpc::SerialDevicePort *FirmwareUpdateS struct FirmwareUpdateStatusResponseBuilder { typedef FirmwareUpdateStatusResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_device_id_type(solarxr_protocol::rpc::FirmwareUpdateDeviceId device_id_type) { fbb_.AddElement(FirmwareUpdateStatusResponse::VT_DEVICE_ID_TYPE, static_cast(device_id_type), 0); } - void add_device_id(::flatbuffers::Offset device_id) { + void add_device_id(flatbuffers::Offset device_id) { fbb_.AddOffset(FirmwareUpdateStatusResponse::VT_DEVICE_ID, device_id); } void add_status(solarxr_protocol::rpc::FirmwareUpdateStatus status) { @@ -11499,21 +11499,21 @@ struct FirmwareUpdateStatusResponseBuilder { void add_progress(int8_t progress) { fbb_.AddElement(FirmwareUpdateStatusResponse::VT_PROGRESS, progress, 0); } - explicit FirmwareUpdateStatusResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit FirmwareUpdateStatusResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateFirmwareUpdateStatusResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateFirmwareUpdateStatusResponse( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::FirmwareUpdateDeviceId device_id_type = solarxr_protocol::rpc::FirmwareUpdateDeviceId::NONE, - ::flatbuffers::Offset device_id = 0, + flatbuffers::Offset device_id = 0, solarxr_protocol::rpc::FirmwareUpdateStatus status = solarxr_protocol::rpc::FirmwareUpdateStatus::DOWNLOADING, int8_t progress = 0) { FirmwareUpdateStatusResponseBuilder builder_(_fbb); @@ -11524,9 +11524,9 @@ inline ::flatbuffers::Offset CreateFirmwareUpdateS return builder_.Finish(); } -struct FirmwareUpdateStopQueuesRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct FirmwareUpdateStopQueuesRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef FirmwareUpdateStopQueuesRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11534,29 +11534,29 @@ struct FirmwareUpdateStopQueuesRequest FLATBUFFERS_FINAL_CLASS : private ::flatb struct FirmwareUpdateStopQueuesRequestBuilder { typedef FirmwareUpdateStopQueuesRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit FirmwareUpdateStopQueuesRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit FirmwareUpdateStopQueuesRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateFirmwareUpdateStopQueuesRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateFirmwareUpdateStopQueuesRequest( + flatbuffers::FlatBufferBuilder &_fbb) { FirmwareUpdateStopQueuesRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Requests the current state of tracking pause -struct TrackingPauseStateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TrackingPauseStateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TrackingPauseStateRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11564,26 +11564,26 @@ struct TrackingPauseStateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers struct TrackingPauseStateRequestBuilder { typedef TrackingPauseStateRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit TrackingPauseStateRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit TrackingPauseStateRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTrackingPauseStateRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateTrackingPauseStateRequest( + flatbuffers::FlatBufferBuilder &_fbb) { TrackingPauseStateRequestBuilder builder_(_fbb); return builder_.Finish(); } -struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TrackingPauseStateResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKINGPAUSED = 4 @@ -11592,7 +11592,7 @@ struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffer bool trackingPaused() const { return GetField(VT_TRACKINGPAUSED, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TRACKINGPAUSED, 1) && verifier.EndTable(); @@ -11601,24 +11601,24 @@ struct TrackingPauseStateResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffer struct TrackingPauseStateResponseBuilder { typedef TrackingPauseStateResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_trackingPaused(bool trackingPaused) { fbb_.AddElement(TrackingPauseStateResponse::VT_TRACKINGPAUSED, static_cast(trackingPaused), 0); } - explicit TrackingPauseStateResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TrackingPauseStateResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTrackingPauseStateResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateTrackingPauseStateResponse( + flatbuffers::FlatBufferBuilder &_fbb, bool trackingPaused = false) { TrackingPauseStateResponseBuilder builder_(_fbb); builder_.add_trackingPaused(trackingPaused); @@ -11626,9 +11626,9 @@ inline ::flatbuffers::Offset CreateTrackingPauseStat } /// Sends the GET WIFISCAN cmd to the current tracker on the serial monitor -struct SerialTrackerGetWifiScanRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SerialTrackerGetWifiScanRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SerialTrackerGetWifiScanRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11636,21 +11636,21 @@ struct SerialTrackerGetWifiScanRequest FLATBUFFERS_FINAL_CLASS : private ::flatb struct SerialTrackerGetWifiScanRequestBuilder { typedef SerialTrackerGetWifiScanRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SerialTrackerGetWifiScanRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SerialTrackerGetWifiScanRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSerialTrackerGetWifiScanRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSerialTrackerGetWifiScanRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SerialTrackerGetWifiScanRequestBuilder builder_(_fbb); return builder_.Finish(); } @@ -11658,15 +11658,15 @@ inline ::flatbuffers::Offset CreateSerialTracke /// Server notifies connection of an unknown device. /// If the notification is no longer sent, it means the device connected to another /// server, got connected to this server or it was turned off. -struct UnknownDeviceHandshakeNotification FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct UnknownDeviceHandshakeNotification FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef UnknownDeviceHandshakeNotificationBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MAC_ADDRESS = 4 }; - const ::flatbuffers::String *mac_address() const { - return GetPointer(VT_MAC_ADDRESS); + const flatbuffers::String *mac_address() const { + return GetPointer(VT_MAC_ADDRESS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MAC_ADDRESS) && verifier.VerifyString(mac_address()) && @@ -11676,32 +11676,32 @@ struct UnknownDeviceHandshakeNotification FLATBUFFERS_FINAL_CLASS : private ::fl struct UnknownDeviceHandshakeNotificationBuilder { typedef UnknownDeviceHandshakeNotification Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_mac_address(::flatbuffers::Offset<::flatbuffers::String> mac_address) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_mac_address(flatbuffers::Offset mac_address) { fbb_.AddOffset(UnknownDeviceHandshakeNotification::VT_MAC_ADDRESS, mac_address); } - explicit UnknownDeviceHandshakeNotificationBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit UnknownDeviceHandshakeNotificationBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateUnknownDeviceHandshakeNotification( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> mac_address = 0) { +inline flatbuffers::Offset CreateUnknownDeviceHandshakeNotification( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset mac_address = 0) { UnknownDeviceHandshakeNotificationBuilder builder_(_fbb); builder_.add_mac_address(mac_address); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateUnknownDeviceHandshakeNotificationDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateUnknownDeviceHandshakeNotificationDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *mac_address = nullptr) { auto mac_address__ = mac_address ? _fbb.CreateString(mac_address) : 0; return solarxr_protocol::rpc::CreateUnknownDeviceHandshakeNotification( @@ -11709,15 +11709,15 @@ inline ::flatbuffers::Offset CreateUnknownDe mac_address__); } -struct AddUnknownDeviceRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct AddUnknownDeviceRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef AddUnknownDeviceRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MAC_ADDRESS = 4 }; - const ::flatbuffers::String *mac_address() const { - return GetPointer(VT_MAC_ADDRESS); + const flatbuffers::String *mac_address() const { + return GetPointer(VT_MAC_ADDRESS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MAC_ADDRESS) && verifier.VerifyString(mac_address()) && @@ -11727,32 +11727,32 @@ struct AddUnknownDeviceRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers:: struct AddUnknownDeviceRequestBuilder { typedef AddUnknownDeviceRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_mac_address(::flatbuffers::Offset<::flatbuffers::String> mac_address) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_mac_address(flatbuffers::Offset mac_address) { fbb_.AddOffset(AddUnknownDeviceRequest::VT_MAC_ADDRESS, mac_address); } - explicit AddUnknownDeviceRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit AddUnknownDeviceRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateAddUnknownDeviceRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> mac_address = 0) { +inline flatbuffers::Offset CreateAddUnknownDeviceRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset mac_address = 0) { AddUnknownDeviceRequestBuilder builder_(_fbb); builder_.add_mac_address(mac_address); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateAddUnknownDeviceRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateAddUnknownDeviceRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *mac_address = nullptr) { auto mac_address__ = mac_address ? _fbb.CreateString(mac_address) : 0; return solarxr_protocol::rpc::CreateAddUnknownDeviceRequest( @@ -11760,15 +11760,15 @@ inline ::flatbuffers::Offset CreateAddUnknownDeviceRequ mac_address__); } -struct ForgetDeviceRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ForgetDeviceRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ForgetDeviceRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_MAC_ADDRESS = 4 }; - const ::flatbuffers::String *mac_address() const { - return GetPointer(VT_MAC_ADDRESS); + const flatbuffers::String *mac_address() const { + return GetPointer(VT_MAC_ADDRESS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_MAC_ADDRESS) && verifier.VerifyString(mac_address()) && @@ -11778,32 +11778,32 @@ struct ForgetDeviceRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl struct ForgetDeviceRequestBuilder { typedef ForgetDeviceRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_mac_address(::flatbuffers::Offset<::flatbuffers::String> mac_address) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_mac_address(flatbuffers::Offset mac_address) { fbb_.AddOffset(ForgetDeviceRequest::VT_MAC_ADDRESS, mac_address); } - explicit ForgetDeviceRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ForgetDeviceRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateForgetDeviceRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> mac_address = 0) { +inline flatbuffers::Offset CreateForgetDeviceRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset mac_address = 0) { ForgetDeviceRequestBuilder builder_(_fbb); builder_.add_mac_address(mac_address); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateForgetDeviceRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateForgetDeviceRequestDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *mac_address = nullptr) { auto mac_address__ = mac_address ? _fbb.CreateString(mac_address) : 0; return solarxr_protocol::rpc::CreateForgetDeviceRequest( @@ -11811,9 +11811,9 @@ inline ::flatbuffers::Offset CreateForgetDeviceRequestDirec mac_address__); } -struct SettingsResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SettingsResetRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SettingsResetRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -11821,27 +11821,27 @@ struct SettingsResetRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tab struct SettingsResetRequestBuilder { typedef SettingsResetRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit SettingsResetRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit SettingsResetRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSettingsResetRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateSettingsResetRequest( + flatbuffers::FlatBufferBuilder &_fbb) { SettingsResetRequestBuilder builder_(_fbb); return builder_.Finish(); } /// If no tracker ID is given, it's the setting for every tracker/device -struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef MagToggleRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4 @@ -11849,7 +11849,7 @@ struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::datatypes::TrackerId *tracker_id() const { return GetPointer(VT_TRACKER_ID); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -11859,32 +11859,32 @@ struct MagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct MagToggleRequestBuilder { typedef MagToggleRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_id(flatbuffers::Offset tracker_id) { fbb_.AddOffset(MagToggleRequest::VT_TRACKER_ID, tracker_id); } - explicit MagToggleRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit MagToggleRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateMagToggleRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0) { +inline flatbuffers::Offset CreateMagToggleRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0) { MagToggleRequestBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); return builder_.Finish(); } /// If no tracker ID is given, it's the setting for every tracker/device -struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef MagToggleResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4, @@ -11896,7 +11896,7 @@ struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table bool enable() const { return GetField(VT_ENABLE, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -11907,28 +11907,28 @@ struct MagToggleResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct MagToggleResponseBuilder { typedef MagToggleResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_id(flatbuffers::Offset tracker_id) { fbb_.AddOffset(MagToggleResponse::VT_TRACKER_ID, tracker_id); } void add_enable(bool enable) { fbb_.AddElement(MagToggleResponse::VT_ENABLE, static_cast(enable), 0); } - explicit MagToggleResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit MagToggleResponseBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateMagToggleResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0, +inline flatbuffers::Offset CreateMagToggleResponse( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0, bool enable = false) { MagToggleResponseBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); @@ -11937,7 +11937,7 @@ inline ::flatbuffers::Offset CreateMagToggleResponse( } /// If no tracker ID is given, it's the setting for every tracker/device -struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ChangeMagToggleRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TRACKER_ID = 4, @@ -11949,7 +11949,7 @@ struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T bool enable() const { return GetField(VT_ENABLE, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TRACKER_ID) && verifier.VerifyTable(tracker_id()) && @@ -11960,28 +11960,28 @@ struct ChangeMagToggleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::T struct ChangeMagToggleRequestBuilder { typedef ChangeMagToggleRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_tracker_id(flatbuffers::Offset tracker_id) { fbb_.AddOffset(ChangeMagToggleRequest::VT_TRACKER_ID, tracker_id); } void add_enable(bool enable) { fbb_.AddElement(ChangeMagToggleRequest::VT_ENABLE, static_cast(enable), 0); } - explicit ChangeMagToggleRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ChangeMagToggleRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateChangeMagToggleRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0, +inline flatbuffers::Offset CreateChangeMagToggleRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset tracker_id = 0, bool enable = false) { ChangeMagToggleRequestBuilder builder_(_fbb); builder_.add_tracker_id(tracker_id); @@ -11989,7 +11989,7 @@ inline ::flatbuffers::Offset CreateChangeMagToggleReques return builder_.Finish(); } -struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef VRCConfigValidityBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LEGACY_MODE_OK = 4, @@ -12029,7 +12029,7 @@ struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table bool shoulder_width_compensation_ok() const { return GetField(VT_SHOULDER_WIDTH_COMPENSATION_OK, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_LEGACY_MODE_OK, 1) && VerifyField(verifier, VT_SHOULDER_TRACKING_OK, 1) && @@ -12046,8 +12046,8 @@ struct VRCConfigValidity FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct VRCConfigValidityBuilder { typedef VRCConfigValidity Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_legacy_mode_ok(bool legacy_mode_ok) { fbb_.AddElement(VRCConfigValidity::VT_LEGACY_MODE_OK, static_cast(legacy_mode_ok), 0); } @@ -12075,19 +12075,19 @@ struct VRCConfigValidityBuilder { void add_shoulder_width_compensation_ok(bool shoulder_width_compensation_ok) { fbb_.AddElement(VRCConfigValidity::VT_SHOULDER_WIDTH_COMPENSATION_OK, static_cast(shoulder_width_compensation_ok), 0); } - explicit VRCConfigValidityBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCConfigValidityBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateVRCConfigValidity( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateVRCConfigValidity( + flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode_ok = false, bool shoulder_tracking_ok = false, bool user_height_ok = false, @@ -12110,7 +12110,7 @@ inline ::flatbuffers::Offset CreateVRCConfigValidity( return builder_.Finish(); } -struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef VRCConfigValuesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LEGACY_MODE = 4, @@ -12150,7 +12150,7 @@ struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { bool shoulder_width_compensation() const { return GetField(VT_SHOULDER_WIDTH_COMPENSATION, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_LEGACY_MODE, 1) && VerifyField(verifier, VT_SHOULDER_TRACKING_DISABLED, 1) && @@ -12167,8 +12167,8 @@ struct VRCConfigValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct VRCConfigValuesBuilder { typedef VRCConfigValues Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_legacy_mode(bool legacy_mode) { fbb_.AddElement(VRCConfigValues::VT_LEGACY_MODE, static_cast(legacy_mode), 0); } @@ -12196,19 +12196,19 @@ struct VRCConfigValuesBuilder { void add_shoulder_width_compensation(bool shoulder_width_compensation) { fbb_.AddElement(VRCConfigValues::VT_SHOULDER_WIDTH_COMPENSATION, static_cast(shoulder_width_compensation), 0); } - explicit VRCConfigValuesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCConfigValuesBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateVRCConfigValues( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateVRCConfigValues( + flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode = false, bool shoulder_tracking_disabled = false, float user_height = 0.0f, @@ -12231,7 +12231,7 @@ inline ::flatbuffers::Offset CreateVRCConfigValues( return builder_.Finish(); } -struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef VRCConfigRecommendedValuesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_LEGACY_MODE = 4, @@ -12262,8 +12262,8 @@ struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffer solarxr_protocol::rpc::VRCTrackerModel tracker_model() const { return static_cast(GetField(VT_TRACKER_MODEL, 0)); } - const ::flatbuffers::Vector *spine_mode() const { - return GetPointer *>(VT_SPINE_MODE); + const flatbuffers::Vector *spine_mode() const { + return GetPointer *>(VT_SPINE_MODE); } solarxr_protocol::rpc::VRCAvatarMeasurementType avatar_measurement_type() const { return static_cast(GetField(VT_AVATAR_MEASUREMENT_TYPE, 0)); @@ -12271,7 +12271,7 @@ struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffer bool shoulder_width_compensation() const { return GetField(VT_SHOULDER_WIDTH_COMPENSATION, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_LEGACY_MODE, 1) && VerifyField(verifier, VT_SHOULDER_TRACKING_DISABLED, 1) && @@ -12289,8 +12289,8 @@ struct VRCConfigRecommendedValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffer struct VRCConfigRecommendedValuesBuilder { typedef VRCConfigRecommendedValues Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_legacy_mode(bool legacy_mode) { fbb_.AddElement(VRCConfigRecommendedValues::VT_LEGACY_MODE, static_cast(legacy_mode), 0); } @@ -12309,7 +12309,7 @@ struct VRCConfigRecommendedValuesBuilder { void add_tracker_model(solarxr_protocol::rpc::VRCTrackerModel tracker_model) { fbb_.AddElement(VRCConfigRecommendedValues::VT_TRACKER_MODEL, static_cast(tracker_model), 0); } - void add_spine_mode(::flatbuffers::Offset<::flatbuffers::Vector> spine_mode) { + void add_spine_mode(flatbuffers::Offset> spine_mode) { fbb_.AddOffset(VRCConfigRecommendedValues::VT_SPINE_MODE, spine_mode); } void add_avatar_measurement_type(solarxr_protocol::rpc::VRCAvatarMeasurementType avatar_measurement_type) { @@ -12318,26 +12318,26 @@ struct VRCConfigRecommendedValuesBuilder { void add_shoulder_width_compensation(bool shoulder_width_compensation) { fbb_.AddElement(VRCConfigRecommendedValues::VT_SHOULDER_WIDTH_COMPENSATION, static_cast(shoulder_width_compensation), 0); } - explicit VRCConfigRecommendedValuesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit VRCConfigRecommendedValuesBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateVRCConfigRecommendedValues( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateVRCConfigRecommendedValues( + flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode = false, bool shoulder_tracking_disabled = false, float user_height = 0.0f, float calibration_range = 0.0f, bool calibration_visuals = false, solarxr_protocol::rpc::VRCTrackerModel tracker_model = solarxr_protocol::rpc::VRCTrackerModel::UNKNOWN, - ::flatbuffers::Offset<::flatbuffers::Vector> spine_mode = 0, + flatbuffers::Offset> spine_mode = 0, solarxr_protocol::rpc::VRCAvatarMeasurementType avatar_measurement_type = solarxr_protocol::rpc::VRCAvatarMeasurementType::UNKNOWN, bool shoulder_width_compensation = false) { VRCConfigRecommendedValuesBuilder builder_(_fbb); @@ -12353,8 +12353,8 @@ inline ::flatbuffers::Offset CreateVRCConfigRecommen return builder_.Finish(); } -inline ::flatbuffers::Offset CreateVRCConfigRecommendedValuesDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateVRCConfigRecommendedValuesDirect( + flatbuffers::FlatBufferBuilder &_fbb, bool legacy_mode = false, bool shoulder_tracking_disabled = false, float user_height = 0.0f, @@ -12378,9 +12378,9 @@ inline ::flatbuffers::Offset CreateVRCConfigRecommen shoulder_width_compensation); } -struct VRCConfigStateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct VRCConfigStateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef VRCConfigStateRequestBuilder Builder; - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && verifier.EndTable(); } @@ -12388,28 +12388,28 @@ struct VRCConfigStateRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Ta struct VRCConfigStateRequestBuilder { typedef VRCConfigStateRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - explicit VRCConfigStateRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + explicit VRCConfigStateRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateVRCConfigStateRequest( - ::flatbuffers::FlatBufferBuilder &_fbb) { +inline flatbuffers::Offset CreateVRCConfigStateRequest( + flatbuffers::FlatBufferBuilder &_fbb) { VRCConfigStateRequestBuilder builder_(_fbb); return builder_.Finish(); } /// Sent every time the vrchat config state gets updated /// used to display vrchat missconfig settings to the user -struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef VRCConfigStateChangeResponseBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_IS_SUPPORTED = 4, @@ -12452,18 +12452,18 @@ struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuff struct VRCConfigStateChangeResponseBuilder { typedef VRCConfigStateChangeResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_is_supported(bool is_supported) { fbb_.AddElement(VRCConfigStateChangeResponse::VT_IS_SUPPORTED, static_cast(is_supported), 0); } - void add_validity(::flatbuffers::Offset validity) { + void add_validity(flatbuffers::Offset validity) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_VALIDITY, validity); } - void add_state(::flatbuffers::Offset state) { + void add_state(flatbuffers::Offset state) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_STATE, state); } - void add_recommended(::flatbuffers::Offset recommended) { + void add_recommended(flatbuffers::Offset recommended) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_RECOMMENDED, recommended); } explicit VRCConfigStateChangeResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) @@ -12474,15 +12474,15 @@ struct VRCConfigStateChangeResponseBuilder { : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateVRCConfigStateChangeResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateVRCConfigStateChangeResponse( + flatbuffers::FlatBufferBuilder &_fbb, bool is_supported = false, ::flatbuffers::Offset validity = 0, ::flatbuffers::Offset state = 0, @@ -13182,7 +13182,7 @@ struct EnableStayAlignedRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::T bool enable() const { return GetField(VT_ENABLE, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ENABLE, 1) && verifier.EndTable(); @@ -13191,31 +13191,31 @@ struct EnableStayAlignedRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::T struct EnableStayAlignedRequestBuilder { typedef EnableStayAlignedRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_enable(bool enable) { fbb_.AddElement(EnableStayAlignedRequest::VT_ENABLE, static_cast(enable), 0); } - explicit EnableStayAlignedRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit EnableStayAlignedRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateEnableStayAlignedRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateEnableStayAlignedRequest( + flatbuffers::FlatBufferBuilder &_fbb, bool enable = false) { EnableStayAlignedRequestBuilder builder_(_fbb); builder_.add_enable(enable); return builder_.Finish(); } -struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef DetectStayAlignedRelaxedPoseRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_POSE = 4 @@ -13223,7 +13223,7 @@ struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::f solarxr_protocol::rpc::StayAlignedRelaxedPose pose() const { return static_cast(GetField(VT_POSE, 0)); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_POSE, 1) && verifier.EndTable(); @@ -13232,31 +13232,31 @@ struct DetectStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::f struct DetectStayAlignedRelaxedPoseRequestBuilder { typedef DetectStayAlignedRelaxedPoseRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_pose(solarxr_protocol::rpc::StayAlignedRelaxedPose pose) { fbb_.AddElement(DetectStayAlignedRelaxedPoseRequest::VT_POSE, static_cast(pose), 0); } - explicit DetectStayAlignedRelaxedPoseRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit DetectStayAlignedRelaxedPoseRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateDetectStayAlignedRelaxedPoseRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateDetectStayAlignedRelaxedPoseRequest( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::StayAlignedRelaxedPose pose = solarxr_protocol::rpc::StayAlignedRelaxedPose::STANDING) { DetectStayAlignedRelaxedPoseRequestBuilder builder_(_fbb); builder_.add_pose(pose); return builder_.Finish(); } -struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ResetStayAlignedRelaxedPoseRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_POSE = 4 @@ -13264,7 +13264,7 @@ struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::fl solarxr_protocol::rpc::StayAlignedRelaxedPose pose() const { return static_cast(GetField(VT_POSE, 0)); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_POSE, 1) && verifier.EndTable(); @@ -13273,24 +13273,24 @@ struct ResetStayAlignedRelaxedPoseRequest FLATBUFFERS_FINAL_CLASS : private ::fl struct ResetStayAlignedRelaxedPoseRequestBuilder { typedef ResetStayAlignedRelaxedPoseRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_pose(solarxr_protocol::rpc::StayAlignedRelaxedPose pose) { fbb_.AddElement(ResetStayAlignedRelaxedPoseRequest::VT_POSE, static_cast(pose), 0); } - explicit ResetStayAlignedRelaxedPoseRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit ResetStayAlignedRelaxedPoseRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateResetStayAlignedRelaxedPoseRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateResetStayAlignedRelaxedPoseRequest( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::StayAlignedRelaxedPose pose = solarxr_protocol::rpc::StayAlignedRelaxedPose::STANDING) { ResetStayAlignedRelaxedPoseRequestBuilder builder_(_fbb); builder_.add_pose(pose); @@ -13417,7 +13417,7 @@ namespace pub_sub { /// For example, "bob" may have an "overlay" app with a "settings" topic for controlling /// the overlay visibility and other settings, as well as a "video feed" topic for /// allowing other applications to display video data in a wrist mounted window in VR. -struct TopicId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TopicId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TopicIdBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ORGANIZATION = 4, @@ -13426,18 +13426,18 @@ struct TopicId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { }; /// The organization/developer that defines the meaning of this feature. Avoids name /// clashes. Should be something unique - same idea as java package identifier. - const ::flatbuffers::String *organization() const { - return GetPointer(VT_ORGANIZATION); + const flatbuffers::String *organization() const { + return GetPointer(VT_ORGANIZATION); } /// The name of the application/device. Should be unique within the organization. - const ::flatbuffers::String *app_name() const { - return GetPointer(VT_APP_NAME); + const flatbuffers::String *app_name() const { + return GetPointer(VT_APP_NAME); } /// The name of the topic. Should be unique within the application. - const ::flatbuffers::String *topic() const { - return GetPointer(VT_TOPIC); + const flatbuffers::String *topic() const { + return GetPointer(VT_TOPIC); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ORGANIZATION) && verifier.VerifyString(organization()) && @@ -13451,33 +13451,33 @@ struct TopicId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct TopicIdBuilder { typedef TopicId Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_organization(::flatbuffers::Offset<::flatbuffers::String> organization) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_organization(flatbuffers::Offset organization) { fbb_.AddOffset(TopicId::VT_ORGANIZATION, organization); } - void add_app_name(::flatbuffers::Offset<::flatbuffers::String> app_name) { + void add_app_name(flatbuffers::Offset app_name) { fbb_.AddOffset(TopicId::VT_APP_NAME, app_name); } - void add_topic(::flatbuffers::Offset<::flatbuffers::String> topic) { + void add_topic(flatbuffers::Offset topic) { fbb_.AddOffset(TopicId::VT_TOPIC, topic); } - explicit TopicIdBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicIdBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTopicId( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> organization = 0, - ::flatbuffers::Offset<::flatbuffers::String> app_name = 0, - ::flatbuffers::Offset<::flatbuffers::String> topic = 0) { +inline flatbuffers::Offset CreateTopicId( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset organization = 0, + flatbuffers::Offset app_name = 0, + flatbuffers::Offset topic = 0) { TopicIdBuilder builder_(_fbb); builder_.add_topic(topic); builder_.add_app_name(app_name); @@ -13485,8 +13485,8 @@ inline ::flatbuffers::Offset CreateTopicId( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateTopicIdDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateTopicIdDirect( + flatbuffers::FlatBufferBuilder &_fbb, const char *organization = nullptr, const char *app_name = nullptr, const char *topic = nullptr) { @@ -13502,7 +13502,7 @@ inline ::flatbuffers::Offset CreateTopicIdDirect( /// A handle for the topic, allows referencing a topic without sending a huge /// `TopicId`. -struct TopicHandle FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TopicHandle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TopicHandleBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4 @@ -13510,7 +13510,7 @@ struct TopicHandle FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { uint16_t id() const { return GetField(VT_ID, 0); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_ID, 2) && verifier.EndTable(); @@ -13519,24 +13519,24 @@ struct TopicHandle FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct TopicHandleBuilder { typedef TopicHandle Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_id(uint16_t id) { fbb_.AddElement(TopicHandle::VT_ID, id, 0); } - explicit TopicHandleBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicHandleBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTopicHandle( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateTopicHandle( + flatbuffers::FlatBufferBuilder &_fbb, uint16_t id = 0) { TopicHandleBuilder builder_(_fbb); builder_.add_id(id); @@ -13544,7 +13544,7 @@ inline ::flatbuffers::Offset CreateTopicHandle( } /// Response for `TopicHandleRequest` or `SubscriptionRequest`. -struct TopicMapping FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TopicMapping FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TopicMappingBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4, @@ -13556,7 +13556,7 @@ struct TopicMapping FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::pub_sub::TopicHandle *handle() const { return GetPointer(VT_HANDLE); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ID) && verifier.VerifyTable(id()) && @@ -13568,29 +13568,29 @@ struct TopicMapping FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct TopicMappingBuilder { typedef TopicMapping Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_id(::flatbuffers::Offset id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_id(flatbuffers::Offset id) { fbb_.AddOffset(TopicMapping::VT_ID, id); } - void add_handle(::flatbuffers::Offset handle) { + void add_handle(flatbuffers::Offset handle) { fbb_.AddOffset(TopicMapping::VT_HANDLE, handle); } - explicit TopicMappingBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicMappingBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTopicMapping( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset id = 0, - ::flatbuffers::Offset handle = 0) { +inline flatbuffers::Offset CreateTopicMapping( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset id = 0, + flatbuffers::Offset handle = 0) { TopicMappingBuilder builder_(_fbb); builder_.add_handle(handle); builder_.add_id(id); @@ -13599,7 +13599,7 @@ inline ::flatbuffers::Offset CreateTopicMapping( /// Request to get the `FeatureHandle` from a `FeatureId`. This is useful for reducing /// bandwidth, since `FeatureId` can be large. -struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef TopicHandleRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_ID = 4 @@ -13607,7 +13607,7 @@ struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table const solarxr_protocol::pub_sub::TopicId *id() const { return GetPointer(VT_ID); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_ID) && verifier.VerifyTable(id()) && @@ -13617,32 +13617,32 @@ struct TopicHandleRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table struct TopicHandleRequestBuilder { typedef TopicHandleRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_id(::flatbuffers::Offset id) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_id(flatbuffers::Offset id) { fbb_.AddOffset(TopicHandleRequest::VT_ID, id); } - explicit TopicHandleRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit TopicHandleRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateTopicHandleRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset id = 0) { +inline flatbuffers::Offset CreateTopicHandleRequest( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset id = 0) { TopicHandleRequestBuilder builder_(_fbb); builder_.add_id(id); return builder_.Finish(); } /// Requests a subscription to `topic`. Replies with a `TopicMapping`. -struct SubscriptionRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct SubscriptionRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef SubscriptionRequestBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TOPIC_TYPE = 4, @@ -13661,7 +13661,7 @@ struct SubscriptionRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Tabl const solarxr_protocol::pub_sub::TopicId *topic_as_TopicId() const { return topic_type() == solarxr_protocol::pub_sub::Topic::TopicId ? static_cast(topic()) : nullptr; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TOPIC_TYPE, 1) && VerifyOffset(verifier, VT_TOPIC) && @@ -13680,36 +13680,36 @@ template<> inline const solarxr_protocol::pub_sub::TopicId *SubscriptionRequest: struct SubscriptionRequestBuilder { typedef SubscriptionRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_topic_type(solarxr_protocol::pub_sub::Topic topic_type) { fbb_.AddElement(SubscriptionRequest::VT_TOPIC_TYPE, static_cast(topic_type), 0); } - void add_topic(::flatbuffers::Offset topic) { + void add_topic(flatbuffers::Offset topic) { fbb_.AddOffset(SubscriptionRequest::VT_TOPIC, topic); } - explicit SubscriptionRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit SubscriptionRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateSubscriptionRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateSubscriptionRequest( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::pub_sub::Topic topic_type = solarxr_protocol::pub_sub::Topic::NONE, - ::flatbuffers::Offset topic = 0) { + flatbuffers::Offset topic = 0) { SubscriptionRequestBuilder builder_(_fbb); builder_.add_topic(topic); builder_.add_topic_type(topic_type); return builder_.Finish(); } -struct PubSubHeader FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct PubSubHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef PubSubHeaderBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_U_TYPE = 4, @@ -13734,7 +13734,7 @@ struct PubSubHeader FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::pub_sub::TopicMapping *u_as_TopicMapping() const { return u_type() == solarxr_protocol::pub_sub::PubSubUnion::TopicMapping ? static_cast(u()) : nullptr; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_U_TYPE, 1) && VerifyOffset(verifier, VT_U) && @@ -13761,29 +13761,29 @@ template<> inline const solarxr_protocol::pub_sub::TopicMapping *PubSubHeader::u struct PubSubHeaderBuilder { typedef PubSubHeader Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_u_type(solarxr_protocol::pub_sub::PubSubUnion u_type) { fbb_.AddElement(PubSubHeader::VT_U_TYPE, static_cast(u_type), 0); } - void add_u(::flatbuffers::Offset u) { + void add_u(flatbuffers::Offset u) { fbb_.AddOffset(PubSubHeader::VT_U, u); } - explicit PubSubHeaderBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit PubSubHeaderBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreatePubSubHeader( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreatePubSubHeader( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::pub_sub::PubSubUnion u_type = solarxr_protocol::pub_sub::PubSubUnion::NONE, - ::flatbuffers::Offset u = 0) { + flatbuffers::Offset u = 0) { PubSubHeaderBuilder builder_(_fbb); builder_.add_u(u); builder_.add_u_type(u_type); @@ -13791,7 +13791,7 @@ inline ::flatbuffers::Offset CreatePubSubHeader( } /// Data that is sent from publishers to subscribers -struct Message FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct Message FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef MessageBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TOPIC_TYPE = 4, @@ -13828,7 +13828,7 @@ struct Message FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { const solarxr_protocol::pub_sub::KeyValues *payload_as_KeyValues() const { return payload_type() == solarxr_protocol::pub_sub::Payload::KeyValues ? static_cast(payload()) : nullptr; } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_TOPIC_TYPE, 1) && VerifyOffset(verifier, VT_TOPIC) && @@ -13862,37 +13862,37 @@ template<> inline const solarxr_protocol::pub_sub::KeyValues *Message::payload_a struct MessageBuilder { typedef Message Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; void add_topic_type(solarxr_protocol::pub_sub::Topic topic_type) { fbb_.AddElement(Message::VT_TOPIC_TYPE, static_cast(topic_type), 0); } - void add_topic(::flatbuffers::Offset topic) { + void add_topic(flatbuffers::Offset topic) { fbb_.AddOffset(Message::VT_TOPIC, topic); } void add_payload_type(solarxr_protocol::pub_sub::Payload payload_type) { fbb_.AddElement(Message::VT_PAYLOAD_TYPE, static_cast(payload_type), 0); } - void add_payload(::flatbuffers::Offset payload) { + void add_payload(flatbuffers::Offset payload) { fbb_.AddOffset(Message::VT_PAYLOAD, payload); } - explicit MessageBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit MessageBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateMessage( - ::flatbuffers::FlatBufferBuilder &_fbb, +inline flatbuffers::Offset CreateMessage( + flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::pub_sub::Topic topic_type = solarxr_protocol::pub_sub::Topic::NONE, - ::flatbuffers::Offset topic = 0, + flatbuffers::Offset topic = 0, solarxr_protocol::pub_sub::Payload payload_type = solarxr_protocol::pub_sub::Payload::NONE, - ::flatbuffers::Offset payload = 0) { + flatbuffers::Offset payload = 0) { MessageBuilder builder_(_fbb); builder_.add_payload(payload); builder_.add_topic(topic); @@ -13901,19 +13901,19 @@ inline ::flatbuffers::Offset CreateMessage( return builder_.Finish(); } -struct KeyValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct KeyValues FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef KeyValuesBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_KEYS = 4, VT_VALUES = 6 }; - const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *keys() const { - return GetPointer> *>(VT_KEYS); + const flatbuffers::Vector> *keys() const { + return GetPointer> *>(VT_KEYS); } - const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *values() const { - return GetPointer> *>(VT_VALUES); + const flatbuffers::Vector> *values() const { + return GetPointer> *>(VT_VALUES); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_KEYS) && verifier.VerifyVector(keys()) && @@ -13927,41 +13927,41 @@ struct KeyValues FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct KeyValuesBuilder { typedef KeyValues Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_keys(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> keys) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_keys(flatbuffers::Offset>> keys) { fbb_.AddOffset(KeyValues::VT_KEYS, keys); } - void add_values(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> values) { + void add_values(flatbuffers::Offset>> values) { fbb_.AddOffset(KeyValues::VT_VALUES, values); } - explicit KeyValuesBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit KeyValuesBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateKeyValues( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> keys = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> values = 0) { +inline flatbuffers::Offset CreateKeyValues( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> keys = 0, + flatbuffers::Offset>> values = 0) { KeyValuesBuilder builder_(_fbb); builder_.add_values(values); builder_.add_keys(keys); return builder_.Finish(); } -inline ::flatbuffers::Offset CreateKeyValuesDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *keys = nullptr, - const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *values = nullptr) { - auto keys__ = keys ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*keys) : 0; - auto values__ = values ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*values) : 0; +inline flatbuffers::Offset CreateKeyValuesDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *keys = nullptr, + const std::vector> *values = nullptr) { + auto keys__ = keys ? _fbb.CreateVector>(*keys) : 0; + auto values__ = values ? _fbb.CreateVector>(*values) : 0; return solarxr_protocol::pub_sub::CreateKeyValues( _fbb, keys__, @@ -13972,23 +13972,23 @@ inline ::flatbuffers::Offset CreateKeyValuesDirect( /// MessageBundle contains all of the messages for the data feed system and the /// rpc system that will be sent in one buffer. -struct MessageBundle FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { +struct MessageBundle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef MessageBundleBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_DATA_FEED_MSGS = 4, VT_RPC_MSGS = 6, VT_PUB_SUB_MSGS = 8 }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *data_feed_msgs() const { - return GetPointer> *>(VT_DATA_FEED_MSGS); + const flatbuffers::Vector> *data_feed_msgs() const { + return GetPointer> *>(VT_DATA_FEED_MSGS); } - const ::flatbuffers::Vector<::flatbuffers::Offset> *rpc_msgs() const { - return GetPointer> *>(VT_RPC_MSGS); + const flatbuffers::Vector> *rpc_msgs() const { + return GetPointer> *>(VT_RPC_MSGS); } - const ::flatbuffers::Vector<::flatbuffers::Offset> *pub_sub_msgs() const { - return GetPointer> *>(VT_PUB_SUB_MSGS); + const flatbuffers::Vector> *pub_sub_msgs() const { + return GetPointer> *>(VT_PUB_SUB_MSGS); } - bool Verify(::flatbuffers::Verifier &verifier) const { + bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_DATA_FEED_MSGS) && verifier.VerifyVector(data_feed_msgs()) && @@ -14005,33 +14005,33 @@ struct MessageBundle FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { struct MessageBundleBuilder { typedef MessageBundle Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_data_feed_msgs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feed_msgs) { + flatbuffers::FlatBufferBuilder &fbb_; + flatbuffers::uoffset_t start_; + void add_data_feed_msgs(flatbuffers::Offset>> data_feed_msgs) { fbb_.AddOffset(MessageBundle::VT_DATA_FEED_MSGS, data_feed_msgs); } - void add_rpc_msgs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rpc_msgs) { + void add_rpc_msgs(flatbuffers::Offset>> rpc_msgs) { fbb_.AddOffset(MessageBundle::VT_RPC_MSGS, rpc_msgs); } - void add_pub_sub_msgs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> pub_sub_msgs) { + void add_pub_sub_msgs(flatbuffers::Offset>> pub_sub_msgs) { fbb_.AddOffset(MessageBundle::VT_PUB_SUB_MSGS, pub_sub_msgs); } - explicit MessageBundleBuilder(::flatbuffers::FlatBufferBuilder &_fbb) + explicit MessageBundleBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } - ::flatbuffers::Offset Finish() { + flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); + auto o = flatbuffers::Offset(end); return o; } }; -inline ::flatbuffers::Offset CreateMessageBundle( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> data_feed_msgs = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rpc_msgs = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> pub_sub_msgs = 0) { +inline flatbuffers::Offset CreateMessageBundle( + flatbuffers::FlatBufferBuilder &_fbb, + flatbuffers::Offset>> data_feed_msgs = 0, + flatbuffers::Offset>> rpc_msgs = 0, + flatbuffers::Offset>> pub_sub_msgs = 0) { MessageBundleBuilder builder_(_fbb); builder_.add_pub_sub_msgs(pub_sub_msgs); builder_.add_rpc_msgs(rpc_msgs); @@ -14039,14 +14039,14 @@ inline ::flatbuffers::Offset CreateMessageBundle( return builder_.Finish(); } -inline ::flatbuffers::Offset CreateMessageBundleDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *data_feed_msgs = nullptr, - const std::vector<::flatbuffers::Offset> *rpc_msgs = nullptr, - const std::vector<::flatbuffers::Offset> *pub_sub_msgs = nullptr) { - auto data_feed_msgs__ = data_feed_msgs ? _fbb.CreateVector<::flatbuffers::Offset>(*data_feed_msgs) : 0; - auto rpc_msgs__ = rpc_msgs ? _fbb.CreateVector<::flatbuffers::Offset>(*rpc_msgs) : 0; - auto pub_sub_msgs__ = pub_sub_msgs ? _fbb.CreateVector<::flatbuffers::Offset>(*pub_sub_msgs) : 0; +inline flatbuffers::Offset CreateMessageBundleDirect( + flatbuffers::FlatBufferBuilder &_fbb, + const std::vector> *data_feed_msgs = nullptr, + const std::vector> *rpc_msgs = nullptr, + const std::vector> *pub_sub_msgs = nullptr) { + auto data_feed_msgs__ = data_feed_msgs ? _fbb.CreateVector>(*data_feed_msgs) : 0; + auto rpc_msgs__ = rpc_msgs ? _fbb.CreateVector>(*rpc_msgs) : 0; + auto pub_sub_msgs__ = pub_sub_msgs ? _fbb.CreateVector>(*pub_sub_msgs) : 0; return solarxr_protocol::CreateMessageBundle( _fbb, data_feed_msgs__, @@ -14093,7 +14093,7 @@ namespace pub_sub { namespace data_feed { -inline bool VerifyDataFeedMessage(::flatbuffers::Verifier &verifier, const void *obj, DataFeedMessage type) { +inline bool VerifyDataFeedMessage(flatbuffers::Verifier &verifier, const void *obj, DataFeedMessage type) { switch (type) { case DataFeedMessage::NONE: { return true; @@ -14118,10 +14118,10 @@ inline bool VerifyDataFeedMessage(::flatbuffers::Verifier &verifier, const void } } -inline bool VerifyDataFeedMessageVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyDataFeedMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyDataFeedMessage( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14134,7 +14134,7 @@ inline bool VerifyDataFeedMessageVector(::flatbuffers::Verifier &verifier, const namespace rpc { -inline bool VerifyRpcMessage(::flatbuffers::Verifier &verifier, const void *obj, RpcMessage type) { +inline bool VerifyRpcMessage(flatbuffers::Verifier &verifier, const void *obj, RpcMessage type) { switch (type) { case RpcMessage::NONE: { return true; @@ -14455,10 +14455,10 @@ inline bool VerifyRpcMessage(::flatbuffers::Verifier &verifier, const void *obj, } } -inline bool VerifyRpcMessageVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyRpcMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyRpcMessage( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14467,7 +14467,7 @@ inline bool VerifyRpcMessageVector(::flatbuffers::Verifier &verifier, const ::fl return true; } -inline bool VerifyStatusData(::flatbuffers::Verifier &verifier, const void *obj, StatusData type) { +inline bool VerifyStatusData(flatbuffers::Verifier &verifier, const void *obj, StatusData type) { switch (type) { case StatusData::NONE: { return true; @@ -14496,10 +14496,10 @@ inline bool VerifyStatusData(::flatbuffers::Verifier &verifier, const void *obj, } } -inline bool VerifyStatusDataVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyStatusDataVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyStatusData( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14508,7 +14508,7 @@ inline bool VerifyStatusDataVector(::flatbuffers::Verifier &verifier, const ::fl return true; } -inline bool VerifyFirmwareUpdateDeviceId(::flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateDeviceId type) { +inline bool VerifyFirmwareUpdateDeviceId(flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateDeviceId type) { switch (type) { case FirmwareUpdateDeviceId::NONE: { return true; @@ -14525,10 +14525,10 @@ inline bool VerifyFirmwareUpdateDeviceId(::flatbuffers::Verifier &verifier, cons } } -inline bool VerifyFirmwareUpdateDeviceIdVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyFirmwareUpdateDeviceIdVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyFirmwareUpdateDeviceId( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14537,7 +14537,7 @@ inline bool VerifyFirmwareUpdateDeviceIdVector(::flatbuffers::Verifier &verifier return true; } -inline bool VerifyFirmwareUpdateMethod(::flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateMethod type) { +inline bool VerifyFirmwareUpdateMethod(flatbuffers::Verifier &verifier, const void *obj, FirmwareUpdateMethod type) { switch (type) { case FirmwareUpdateMethod::NONE: { return true; @@ -14554,10 +14554,10 @@ inline bool VerifyFirmwareUpdateMethod(::flatbuffers::Verifier &verifier, const } } -inline bool VerifyFirmwareUpdateMethodVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyFirmwareUpdateMethodVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyFirmwareUpdateMethod( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14615,7 +14615,7 @@ inline bool VerifyTrackingChecklistExtraDataVector(flatbuffers::Verifier &verifi namespace pub_sub { -inline bool VerifyTopic(::flatbuffers::Verifier &verifier, const void *obj, Topic type) { +inline bool VerifyTopic(flatbuffers::Verifier &verifier, const void *obj, Topic type) { switch (type) { case Topic::NONE: { return true; @@ -14632,10 +14632,10 @@ inline bool VerifyTopic(::flatbuffers::Verifier &verifier, const void *obj, Topi } } -inline bool VerifyTopicVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyTopicVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyTopic( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14644,7 +14644,7 @@ inline bool VerifyTopicVector(::flatbuffers::Verifier &verifier, const ::flatbuf return true; } -inline bool VerifyPubSubUnion(::flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type) { +inline bool VerifyPubSubUnion(flatbuffers::Verifier &verifier, const void *obj, PubSubUnion type) { switch (type) { case PubSubUnion::NONE: { return true; @@ -14669,10 +14669,10 @@ inline bool VerifyPubSubUnion(::flatbuffers::Verifier &verifier, const void *obj } } -inline bool VerifyPubSubUnionVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyPubSubUnionVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyPubSubUnion( verifier, values->Get(i), types->GetEnum(i))) { return false; @@ -14681,7 +14681,7 @@ inline bool VerifyPubSubUnionVector(::flatbuffers::Verifier &verifier, const ::f return true; } -inline bool VerifyPayload(::flatbuffers::Verifier &verifier, const void *obj, Payload type) { +inline bool VerifyPayload(flatbuffers::Verifier &verifier, const void *obj, Payload type) { switch (type) { case Payload::NONE: { return true; @@ -14702,10 +14702,10 @@ inline bool VerifyPayload(::flatbuffers::Verifier &verifier, const void *obj, Pa } } -inline bool VerifyPayloadVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset> *values, const ::flatbuffers::Vector *types) { +inline bool VerifyPayloadVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector> *values, const flatbuffers::Vector *types) { if (!values || !types) return !values && !types; if (values->size() != types->size()) return false; - for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { + for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { if (!VerifyPayload( verifier, values->Get(i), types->GetEnum(i))) { return false; diff --git a/protocol/java/src/solarxr_protocol/MessageBundle.java b/protocol/java/src/solarxr_protocol/MessageBundle.java index ca367250..052e1d86 100644 --- a/protocol/java/src/solarxr_protocol/MessageBundle.java +++ b/protocol/java/src/solarxr_protocol/MessageBundle.java @@ -2,22 +2,10 @@ package solarxr_protocol; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * MessageBundle contains all of the messages for the data feed system and the @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class MessageBundle extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static MessageBundle getRootAsMessageBundle(ByteBuffer _bb) { return getRootAsMessageBundle(_bb, new MessageBundle()); } public static MessageBundle getRootAsMessageBundle(ByteBuffer _bb, MessageBundle obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/MessageBundleT.java b/protocol/java/src/solarxr_protocol/MessageBundleT.java index 1f694680..00805f50 100644 --- a/protocol/java/src/solarxr_protocol/MessageBundleT.java +++ b/protocol/java/src/solarxr_protocol/MessageBundleT.java @@ -2,22 +2,10 @@ package solarxr_protocol; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class MessageBundleT { private solarxr_protocol.data_feed.DataFeedMessageHeaderT[] dataFeedMsgs; diff --git a/protocol/java/src/solarxr_protocol/data_feed/Bone.java b/protocol/java/src/solarxr_protocol/data_feed/Bone.java index d0f42eda..50ce5072 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/Bone.java +++ b/protocol/java/src/solarxr_protocol/data_feed/Bone.java @@ -2,26 +2,14 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class Bone extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static Bone getRootAsBone(ByteBuffer _bb) { return getRootAsBone(_bb, new Bone()); } public static Bone getRootAsBone(ByteBuffer _bb, Bone obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/BoneT.java b/protocol/java/src/solarxr_protocol/data_feed/BoneT.java index 5d1e4e99..a175e794 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/BoneT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/BoneT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class BoneT { private int bodyPart; diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java index 5c4e69f2..fbb2cc16 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfig.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * All information related to the configuration of a data feed. This may be sent @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class DataFeedConfig extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DataFeedConfig getRootAsDataFeedConfig(ByteBuffer _bb) { return getRootAsDataFeedConfig(_bb, new DataFeedConfig()); } public static DataFeedConfig getRootAsDataFeedConfig(ByteBuffer _bb, DataFeedConfig obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java index 6be942a2..918d3c85 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedConfigT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DataFeedConfigT { private int minimumTimeSinceLast; diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java index 56ae9283..29078571 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeader.java @@ -2,26 +2,14 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class DataFeedMessageHeader extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DataFeedMessageHeader getRootAsDataFeedMessageHeader(ByteBuffer _bb) { return getRootAsDataFeedMessageHeader(_bb, new DataFeedMessageHeader()); } public static DataFeedMessageHeader getRootAsDataFeedMessageHeader(ByteBuffer _bb, DataFeedMessageHeader obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java index 7296d9eb..39d954f5 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedMessageHeaderT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DataFeedMessageHeaderT { private solarxr_protocol.data_feed.DataFeedMessageUnion message; diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java index 908e04f7..9d8a51b3 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdate.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * All of the data components related to a single data feed. A data feed is comprised @@ -30,7 +18,7 @@ */ @SuppressWarnings("unused") public final class DataFeedUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DataFeedUpdate getRootAsDataFeedUpdate(ByteBuffer _bb) { return getRootAsDataFeedUpdate(_bb, new DataFeedUpdate()); } public static DataFeedUpdate getRootAsDataFeedUpdate(ByteBuffer _bb, DataFeedUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java index 9d98de34..a80e0eb2 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/DataFeedUpdateT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DataFeedUpdateT { private solarxr_protocol.data_feed.device_data.DeviceDataT[] devices; diff --git a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java index 73db3ef9..b008a7eb 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java +++ b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeed.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Requests for a single `Update` to be sent. This is helpful when getting @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class PollDataFeed extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static PollDataFeed getRootAsPollDataFeed(ByteBuffer _bb) { return getRootAsPollDataFeed(_bb, new PollDataFeed()); } public static PollDataFeed getRootAsPollDataFeed(ByteBuffer _bb, PollDataFeed obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java index ab5a9b75..607aefe2 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/PollDataFeedT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class PollDataFeedT { private solarxr_protocol.data_feed.DataFeedConfigT config; diff --git a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java index 40835475..e03423c8 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java +++ b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeed.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Requests for the other party to send `data_feeds`. @@ -31,7 +19,7 @@ */ @SuppressWarnings("unused") public final class StartDataFeed extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StartDataFeed getRootAsStartDataFeed(ByteBuffer _bb) { return getRootAsStartDataFeed(_bb, new StartDataFeed()); } public static StartDataFeed getRootAsStartDataFeed(ByteBuffer _bb, StartDataFeed obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java index 8e7edd4f..0e169ac7 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/StartDataFeedT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StartDataFeedT { private solarxr_protocol.data_feed.DataFeedConfigT[] dataFeeds; diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java index f1fb5e2c..bcdd6cef 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceData.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.device_data; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Describes all possible information about a hardware device. For example, a @@ -26,7 +14,7 @@ */ @SuppressWarnings("unused") public final class DeviceData extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DeviceData getRootAsDeviceData(ByteBuffer _bb) { return getRootAsDeviceData(_bb, new DeviceData()); } public static DeviceData getRootAsDeviceData(ByteBuffer _bb, DeviceData obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java index 6851cf8c..637c0be2 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.device_data; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * A mask of values to be reported in subsequent DeviceStatus. Values set to `false` @@ -29,7 +17,7 @@ */ @SuppressWarnings("unused") public final class DeviceDataMask extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DeviceDataMask getRootAsDeviceDataMask(ByteBuffer _bb) { return getRootAsDeviceDataMask(_bb, new DeviceDataMask()); } public static DeviceDataMask getRootAsDeviceDataMask(ByteBuffer _bb, DeviceDataMask obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java index 97be9a58..3e8f8e68 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataMaskT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.device_data; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DeviceDataMaskT { private solarxr_protocol.data_feed.tracker.TrackerDataMaskT trackerData; diff --git a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java index f8a32bfa..071bc66a 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/device_data/DeviceDataT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.device_data; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DeviceDataT { private solarxr_protocol.datatypes.DeviceIdT id; diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java index 184490a8..1099e622 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.java @@ -2,26 +2,14 @@ package solarxr_protocol.data_feed.stay_aligned; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class StayAlignedPose extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StayAlignedPose getRootAsStayAlignedPose(ByteBuffer _bb) { return getRootAsStayAlignedPose(_bb, new StayAlignedPose()); } public static StayAlignedPose getRootAsStayAlignedPose(ByteBuffer _bb, StayAlignedPose obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java index 79e57db0..e4dcf7c3 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPoseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.stay_aligned; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StayAlignedPoseT { private float upperLegAngleInDeg; diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java index b4d3e7d9..8f3826dc 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.java @@ -2,26 +2,14 @@ package solarxr_protocol.data_feed.stay_aligned; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class StayAlignedTracker extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StayAlignedTracker getRootAsStayAlignedTracker(ByteBuffer _bb) { return getRootAsStayAlignedTracker(_bb, new StayAlignedTracker()); } public static StayAlignedTracker getRootAsStayAlignedTracker(ByteBuffer _bb, StayAlignedTracker obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java index fa634575..153df5e4 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTrackerT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.stay_aligned; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StayAlignedTrackerT { private float yawCorrectionInDeg; diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java index 0e09b8bb..f7b59f34 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerData.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.tracker; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Describes all possible information about a tracker. A tracker is anything that @@ -28,7 +16,7 @@ */ @SuppressWarnings("unused") public final class TrackerData extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TrackerData getRootAsTrackerData(ByteBuffer _bb) { return getRootAsTrackerData(_bb, new TrackerData()); } public static TrackerData getRootAsTrackerData(ByteBuffer _bb, TrackerData obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java index c40516fc..60589191 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.java @@ -2,29 +2,17 @@ package solarxr_protocol.data_feed.tracker; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * A mask of the different components in `TrackerComponent` */ @SuppressWarnings("unused") public final class TrackerDataMask extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TrackerDataMask getRootAsTrackerDataMask(ByteBuffer _bb) { return getRootAsTrackerDataMask(_bb, new TrackerDataMask()); } public static TrackerDataMask getRootAsTrackerDataMask(ByteBuffer _bb, TrackerDataMask obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java index b0439d36..c7abdbca 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataMaskT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.tracker; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TrackerDataMaskT { private boolean info; diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java index 354deb8a..82d9e946 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerDataT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.tracker; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TrackerDataT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java index 9d19e32c..ce0846af 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfo.java @@ -2,29 +2,17 @@ package solarxr_protocol.data_feed.tracker; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Static description of a tracker */ @SuppressWarnings("unused") public final class TrackerInfo extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TrackerInfo getRootAsTrackerInfo(ByteBuffer _bb) { return getRootAsTrackerInfo(_bb, new TrackerInfo()); } public static TrackerInfo getRootAsTrackerInfo(ByteBuffer _bb, TrackerInfo obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java index 03fe1f0b..b516b47b 100644 --- a/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java +++ b/protocol/java/src/solarxr_protocol/data_feed/tracker/TrackerInfoT.java @@ -2,22 +2,10 @@ package solarxr_protocol.data_feed.tracker; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TrackerInfoT { private int imuType; diff --git a/protocol/java/src/solarxr_protocol/datatypes/Bytes.java b/protocol/java/src/solarxr_protocol/datatypes/Bytes.java index d422e7fb..6129209f 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Bytes.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Bytes.java @@ -2,26 +2,14 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class Bytes extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static Bytes getRootAsBytes(ByteBuffer _bb) { return getRootAsBytes(_bb, new Bytes()); } public static Bytes getRootAsBytes(ByteBuffer _bb, Bytes obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/BytesT.java b/protocol/java/src/solarxr_protocol/datatypes/BytesT.java index c2c3c863..5d757e8f 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/BytesT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/BytesT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class BytesT { private int[] b; diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java index 6b33056c..3a0f7b18 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceId.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * A unique ID for the device. IDs are not guaranteed to be the same after diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java index 67cc570e..2901e01e 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DeviceIdT { private int id; diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java index 7c178846..430d2cfb 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTable.java @@ -2,29 +2,17 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * To be used inside unions */ @SuppressWarnings("unused") public final class DeviceIdTable extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DeviceIdTable getRootAsDeviceIdTable(ByteBuffer _bb) { return getRootAsDeviceIdTable(_bb, new DeviceIdTable()); } public static DeviceIdTable getRootAsDeviceIdTable(ByteBuffer _bb, DeviceIdTable obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java index 37d0abb4..bb158295 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/DeviceIdTableT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DeviceIdTableT { private solarxr_protocol.datatypes.DeviceIdT id; diff --git a/protocol/java/src/solarxr_protocol/datatypes/HzF32.java b/protocol/java/src/solarxr_protocol/datatypes/HzF32.java index 148c4537..4d0a31bc 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/HzF32.java +++ b/protocol/java/src/solarxr_protocol/datatypes/HzF32.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Frequency as 32 bit float diff --git a/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java b/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java index 33b8248a..5455f534 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java +++ b/protocol/java/src/solarxr_protocol/datatypes/HzF32T.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HzF32T { private float f; diff --git a/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java b/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java index 2fbc0b3e..863329a9 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Ipv4Address.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * The 4 bytes of an ip address are stored in 32 bits in big endian order. diff --git a/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java b/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java index 12b7a4b6..86ee8ad7 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Ipv4AddressT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class Ipv4AddressT { private long addr; diff --git a/protocol/java/src/solarxr_protocol/datatypes/LogData.java b/protocol/java/src/solarxr_protocol/datatypes/LogData.java index 18ecf40c..3d9e7e12 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/LogData.java +++ b/protocol/java/src/solarxr_protocol/datatypes/LogData.java @@ -2,29 +2,17 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * General purpose logging datatype */ @SuppressWarnings("unused") public final class LogData extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static LogData getRootAsLogData(ByteBuffer _bb) { return getRootAsLogData(_bb, new LogData()); } public static LogData getRootAsLogData(ByteBuffer _bb, LogData obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java b/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java index b595233c..64ee8e53 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/LogDataT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class LogDataT { private String message; diff --git a/protocol/java/src/solarxr_protocol/datatypes/StringTable.java b/protocol/java/src/solarxr_protocol/datatypes/StringTable.java index fe120c8c..764517d3 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/StringTable.java +++ b/protocol/java/src/solarxr_protocol/datatypes/StringTable.java @@ -2,26 +2,14 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class StringTable extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StringTable getRootAsStringTable(ByteBuffer _bb) { return getRootAsStringTable(_bb, new StringTable()); } public static StringTable getRootAsStringTable(ByteBuffer _bb, StringTable obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java b/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java index abdd4623..193f556d 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/StringTableT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StringTableT { private String s; diff --git a/protocol/java/src/solarxr_protocol/datatypes/Temperature.java b/protocol/java/src/solarxr_protocol/datatypes/Temperature.java index 40fae083..917142b7 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/Temperature.java +++ b/protocol/java/src/solarxr_protocol/datatypes/Temperature.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Temperature in degrees celsius diff --git a/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java b/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java index 03473dd6..7d1d8268 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TemperatureT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TemperatureT { private float temp; diff --git a/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java b/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java index 7246e62d..252e7b43 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TrackerId.java @@ -2,26 +2,14 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class TrackerId extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TrackerId getRootAsTrackerId(ByteBuffer _bb) { return getRootAsTrackerId(_bb, new TrackerId()); } public static TrackerId getRootAsTrackerId(ByteBuffer _bb, TrackerId obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java b/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java index d0975f5a..35ad561e 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TrackerIdT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TrackerIdT { private solarxr_protocol.datatypes.DeviceIdT deviceId; diff --git a/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java b/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java index 2b4d5e08..7699e024 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TransactionId.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class TransactionId extends Struct { diff --git a/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java b/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java index c323796f..0bbfd947 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TransactionIdT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TransactionIdT { private long id; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java index c19a87f6..3abfaca2 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.java @@ -2,29 +2,17 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * A mask of the data in `FirmwareStatus` */ @SuppressWarnings("unused") public final class FirmwareStatusMask extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static FirmwareStatusMask getRootAsFirmwareStatusMask(ByteBuffer _bb) { return getRootAsFirmwareStatusMask(_bb, new FirmwareStatusMask()); } public static FirmwareStatusMask getRootAsFirmwareStatusMask(ByteBuffer _bb, FirmwareStatusMask obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java index 87f876bd..48d8f157 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMaskT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class FirmwareStatusMaskT { private boolean errorStatus; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java index 6a775df6..101fc32e 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * A MAC address or a bluetooth address, or some other uniquely identifying address diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java index 4d51b25f..621d89a5 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareAddressT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HardwareAddressT { private long addr; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java index 4a6b8e84..e081f2c5 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.java @@ -2,29 +2,17 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Mostly static info about the device's hardware/firmware. */ @SuppressWarnings("unused") public final class HardwareInfo extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static HardwareInfo getRootAsHardwareInfo(ByteBuffer _bb) { return getRootAsHardwareInfo(_bb, new HardwareInfo()); } public static HardwareInfo getRootAsHardwareInfo(ByteBuffer _bb, HardwareInfo obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java index bdb0939a..f6494e81 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareInfoT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HardwareInfoT { private int mcuId; diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java index 3792e0f8..371c9734 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.java @@ -2,29 +2,17 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Mostly-dynamic status info about a tracked device's firmware */ @SuppressWarnings("unused") public final class HardwareStatus extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static HardwareStatus getRootAsHardwareStatus(ByteBuffer _bb) { return getRootAsHardwareStatus(_bb, new HardwareStatus()); } public static HardwareStatus getRootAsHardwareStatus(ByteBuffer _bb, HardwareStatus obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java index 8304e94a..9df8f160 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/hardware_info/HardwareStatusT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.hardware_info; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HardwareStatusT { private Integer errorStatus; diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java b/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java index 3f7f4649..3f51df79 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/Quat.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.math; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class Quat extends Struct { diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java b/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java index d94c97e0..b5f97270 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/QuatT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.math; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class QuatT { private float x; diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java index 36e829ac..27ba51d8 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3f.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.math; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class Vec3f extends Struct { diff --git a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java index 48778ee5..f24ef60c 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java +++ b/protocol/java/src/solarxr_protocol/datatypes/math/Vec3fT.java @@ -2,22 +2,10 @@ package solarxr_protocol.datatypes.math; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class Vec3fT { private float x; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java b/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java index f27fd8b7..f5a4c6b8 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/KeyValues.java @@ -2,26 +2,14 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class KeyValues extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static KeyValues getRootAsKeyValues(ByteBuffer _bb) { return getRootAsKeyValues(_bb, new KeyValues()); } public static KeyValues getRootAsKeyValues(ByteBuffer _bb, KeyValues obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java b/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java index 9ccb5006..7616240d 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/KeyValuesT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class KeyValuesT { private String[] keys; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/Message.java b/protocol/java/src/solarxr_protocol/pub_sub/Message.java index 7c5a5cf7..8989e5ee 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/Message.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/Message.java @@ -2,29 +2,17 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Data that is sent from publishers to subscribers */ @SuppressWarnings("unused") public final class Message extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static Message getRootAsMessage(ByteBuffer _bb) { return getRootAsMessage(_bb, new Message()); } public static Message getRootAsMessage(ByteBuffer _bb, Message obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java b/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java index 8555949b..87b3aa5d 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/MessageT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class MessageT { private solarxr_protocol.pub_sub.TopicUnion topic; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java index 2443863b..e64ffd83 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeader.java @@ -2,26 +2,14 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class PubSubHeader extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static PubSubHeader getRootAsPubSubHeader(ByteBuffer _bb) { return getRootAsPubSubHeader(_bb, new PubSubHeader()); } public static PubSubHeader getRootAsPubSubHeader(ByteBuffer _bb, PubSubHeader obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java index 0f4548cc..7098f81b 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/PubSubHeaderT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class PubSubHeaderT { private solarxr_protocol.pub_sub.PubSubUnionUnion u; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java index 0768cf3b..cd05f42a 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Requests a subscription to `topic`. Replies with a `TopicMapping`. */ @SuppressWarnings("unused") public final class SubscriptionRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SubscriptionRequest getRootAsSubscriptionRequest(ByteBuffer _bb) { return getRootAsSubscriptionRequest(_bb, new SubscriptionRequest()); } public static SubscriptionRequest getRootAsSubscriptionRequest(ByteBuffer _bb, SubscriptionRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java index 332eed1b..f17a8e0b 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/SubscriptionRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SubscriptionRequestT { private solarxr_protocol.pub_sub.TopicUnion topic; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java index 3f270362..0f91d6c5 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandle.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * A handle for the topic, allows referencing a topic without sending a huge @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class TopicHandle extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TopicHandle getRootAsTopicHandle(ByteBuffer _bb) { return getRootAsTopicHandle(_bb, new TopicHandle()); } public static TopicHandle getRootAsTopicHandle(ByteBuffer _bb, TopicHandle obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java index f32ba7a5..5333e954 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequest.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Request to get the `FeatureHandle` from a `FeatureId`. This is useful for reducing @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class TopicHandleRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TopicHandleRequest getRootAsTopicHandleRequest(ByteBuffer _bb) { return getRootAsTopicHandleRequest(_bb, new TopicHandleRequest()); } public static TopicHandleRequest getRootAsTopicHandleRequest(ByteBuffer _bb, TopicHandleRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java index 336e19e2..acf0811f 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TopicHandleRequestT { private solarxr_protocol.pub_sub.TopicIdT id; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java index d64e7c17..deaa0d32 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicHandleT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TopicHandleT { private int id; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java index 75baa5b4..8a43f7f7 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicId.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * A `TopicId` identifies an application-specific category of data. Because it @@ -30,7 +18,7 @@ */ @SuppressWarnings("unused") public final class TopicId extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TopicId getRootAsTopicId(ByteBuffer _bb) { return getRootAsTopicId(_bb, new TopicId()); } public static TopicId getRootAsTopicId(ByteBuffer _bb, TopicId obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java index 1b1ce578..8359c964 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicIdT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TopicIdT { private String organization; diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java index ab2725f9..2672edd6 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicMapping.java @@ -2,29 +2,17 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Response for `TopicHandleRequest` or `SubscriptionRequest`. */ @SuppressWarnings("unused") public final class TopicMapping extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TopicMapping getRootAsTopicMapping(ByteBuffer _bb) { return getRootAsTopicMapping(_bb, new TopicMapping()); } public static TopicMapping getRootAsTopicMapping(ByteBuffer _bb, TopicMapping obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java b/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java index f31b048c..8429afa4 100644 --- a/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java +++ b/protocol/java/src/solarxr_protocol/pub_sub/TopicMappingT.java @@ -2,22 +2,10 @@ package solarxr_protocol.pub_sub; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TopicMappingT { private solarxr_protocol.pub_sub.TopicIdT id; diff --git a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java index eb2a19e9..cd34f224 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class AddUnknownDeviceRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AddUnknownDeviceRequest getRootAsAddUnknownDeviceRequest(ByteBuffer _bb) { return getRootAsAddUnknownDeviceRequest(_bb, new AddUnknownDeviceRequest()); } public static AddUnknownDeviceRequest getRootAsAddUnknownDeviceRequest(ByteBuffer _bb, AddUnknownDeviceRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java index 2a2a1d66..d3e8af2d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AddUnknownDeviceRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AddUnknownDeviceRequestT { private String macAddress; diff --git a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java index 8447ee2c..466465ca 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class AssignTrackerRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AssignTrackerRequest getRootAsAssignTrackerRequest(ByteBuffer _bb) { return getRootAsAssignTrackerRequest(_bb, new AssignTrackerRequest()); } public static AssignTrackerRequest getRootAsAssignTrackerRequest(ByteBuffer _bb, AssignTrackerRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java index 61e7e0cf..3b225750 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AssignTrackerRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AssignTrackerRequestT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java index 55089368..b4624483 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Applies the estimated proportions */ @SuppressWarnings("unused") public final class AutoBoneApplyRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AutoBoneApplyRequest getRootAsAutoBoneApplyRequest(ByteBuffer _bb) { return getRootAsAutoBoneApplyRequest(_bb, new AutoBoneApplyRequest()); } public static AutoBoneApplyRequest getRootAsAutoBoneApplyRequest(ByteBuffer _bb, AutoBoneApplyRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java index 51993f41..0041d3e9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneApplyRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AutoBoneApplyRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java index b6d3364d..e09d6fd5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Cancels the current recording, aborting the process and discarding the data */ @SuppressWarnings("unused") public final class AutoBoneCancelRecordingRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AutoBoneCancelRecordingRequest getRootAsAutoBoneCancelRecordingRequest(ByteBuffer _bb) { return getRootAsAutoBoneCancelRecordingRequest(_bb, new AutoBoneCancelRecordingRequest()); } public static AutoBoneCancelRecordingRequest getRootAsAutoBoneCancelRecordingRequest(ByteBuffer _bb, AutoBoneCancelRecordingRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java index 55379cec..204f792a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AutoBoneCancelRecordingRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java index fc136490..ae921c3c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class AutoBoneEpochResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AutoBoneEpochResponse getRootAsAutoBoneEpochResponse(ByteBuffer _bb) { return getRootAsAutoBoneEpochResponse(_bb, new AutoBoneEpochResponse()); } public static AutoBoneEpochResponse getRootAsAutoBoneEpochResponse(ByteBuffer _bb, AutoBoneEpochResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java index a8a9ee0a..7fa27895 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneEpochResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AutoBoneEpochResponseT { private long currentEpoch; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java index 659d72fb..785be773 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class AutoBoneProcessRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AutoBoneProcessRequest getRootAsAutoBoneProcessRequest(ByteBuffer _bb) { return getRootAsAutoBoneProcessRequest(_bb, new AutoBoneProcessRequest()); } public static AutoBoneProcessRequest getRootAsAutoBoneProcessRequest(ByteBuffer _bb, AutoBoneProcessRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java index e60eef50..968cb38e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AutoBoneProcessRequestT { private int processType; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java index a0025b97..eb121a3b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class AutoBoneProcessStatusResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AutoBoneProcessStatusResponse getRootAsAutoBoneProcessStatusResponse(ByteBuffer _bb) { return getRootAsAutoBoneProcessStatusResponse(_bb, new AutoBoneProcessStatusResponse()); } public static AutoBoneProcessStatusResponse getRootAsAutoBoneProcessStatusResponse(ByteBuffer _bb, AutoBoneProcessStatusResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java index 7c031faa..88ca02a6 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AutoBoneProcessStatusResponseT { private int processType; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java index 2322d797..15659d01 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettings.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * https://github.com/SlimeVR/SlimeVR-Server/blob/v0.8.3/server/src/main/java/dev/slimevr/config/AutoBoneConfig.kt */ @SuppressWarnings("unused") public final class AutoBoneSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AutoBoneSettings getRootAsAutoBoneSettings(ByteBuffer _bb) { return getRootAsAutoBoneSettings(_bb, new AutoBoneSettings()); } public static AutoBoneSettings getRootAsAutoBoneSettings(ByteBuffer _bb, AutoBoneSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java index 485af294..0d62b83e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AutoBoneSettingsT { private Integer cursorIncrement; diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java index 8ec488d8..2745273a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Stops the current recording, using it as far as it has been recorded */ @SuppressWarnings("unused") public final class AutoBoneStopRecordingRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static AutoBoneStopRecordingRequest getRootAsAutoBoneStopRecordingRequest(ByteBuffer _bb) { return getRootAsAutoBoneStopRecordingRequest(_bb, new AutoBoneStopRecordingRequest()); } public static AutoBoneStopRecordingRequest getRootAsAutoBoneStopRecordingRequest(ByteBuffer _bb, AutoBoneStopRecordingRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java index f7cbb028..6c851608 100644 --- a/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class AutoBoneStopRecordingRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java index e04f2074..7aca1c1f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * If no tracker ID is given, it's the setting for every tracker/device */ @SuppressWarnings("unused") public final class ChangeMagToggleRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ChangeMagToggleRequest getRootAsChangeMagToggleRequest(ByteBuffer _bb) { return getRootAsChangeMagToggleRequest(_bb, new ChangeMagToggleRequest()); } public static ChangeMagToggleRequest getRootAsChangeMagToggleRequest(ByteBuffer _bb, ChangeMagToggleRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java index d0a6a196..59996566 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeMagToggleRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ChangeMagToggleRequestT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java index 3ea36a13..1516ae92 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ChangeSettingsRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ChangeSettingsRequest getRootAsChangeSettingsRequest(ByteBuffer _bb) { return getRootAsChangeSettingsRequest(_bb, new ChangeSettingsRequest()); } public static ChangeSettingsRequest getRootAsChangeSettingsRequest(ByteBuffer _bb, ChangeSettingsRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java index f9a8e2ee..a73d41e4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSettingsRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ChangeSettingsRequestT { private solarxr_protocol.rpc.SteamVRTrackersSettingT steamVrTrackers; diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java index 2465c8ff..9c29761a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ChangeSkeletonConfigRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ChangeSkeletonConfigRequest getRootAsChangeSkeletonConfigRequest(ByteBuffer _bb) { return getRootAsChangeSkeletonConfigRequest(_bb, new ChangeSkeletonConfigRequest()); } public static ChangeSkeletonConfigRequest getRootAsChangeSkeletonConfigRequest(ByteBuffer _bb, ChangeSkeletonConfigRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java index d9984547..c24c572a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ChangeSkeletonConfigRequestT { private int bone; diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java index 44f9398a..4a7160c2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ClearDriftCompensationRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ClearDriftCompensationRequest getRootAsClearDriftCompensationRequest(ByteBuffer _bb) { return getRootAsClearDriftCompensationRequest(_bb, new ClearDriftCompensationRequest()); } public static ClearDriftCompensationRequest getRootAsClearDriftCompensationRequest(ByteBuffer _bb, ClearDriftCompensationRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java index f16fe128..df8a4de5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearDriftCompensationRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ClearDriftCompensationRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java index c3dad8a4..2ce6c48c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Clears mounting reset data, defaulting to the manually set mounting orientations */ @SuppressWarnings("unused") public final class ClearMountingResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ClearMountingResetRequest getRootAsClearMountingResetRequest(ByteBuffer _bb) { return getRootAsClearMountingResetRequest(_bb, new ClearMountingResetRequest()); } public static ClearMountingResetRequest getRootAsClearMountingResetRequest(ByteBuffer _bb, ClearMountingResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java index cc79b29a..df6d1c4e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ClearMountingResetRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ClearMountingResetRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java index e1671a44..4c4df8b3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class CloseSerialRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static CloseSerialRequest getRootAsCloseSerialRequest(ByteBuffer _bb) { return getRootAsCloseSerialRequest(_bb, new CloseSerialRequest()); } public static CloseSerialRequest getRootAsCloseSerialRequest(ByteBuffer _bb, CloseSerialRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java index 5bcf97c8..72ce4134 100644 --- a/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/CloseSerialRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class CloseSerialRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java index 3ccfaf8b..c4944464 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class DetectStayAlignedRelaxedPoseRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DetectStayAlignedRelaxedPoseRequest getRootAsDetectStayAlignedRelaxedPoseRequest(ByteBuffer _bb) { return getRootAsDetectStayAlignedRelaxedPoseRequest(_bb, new DetectStayAlignedRelaxedPoseRequest()); } public static DetectStayAlignedRelaxedPoseRequest getRootAsDetectStayAlignedRelaxedPoseRequest(ByteBuffer _bb, DetectStayAlignedRelaxedPoseRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java index de9fdbed..e4819878 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DetectStayAlignedRelaxedPoseRequestT { private int pose; diff --git a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java index 245728af..60cd70b0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettings.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Settings related to IMU yaw drift compensation */ @SuppressWarnings("unused") public final class DriftCompensationSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static DriftCompensationSettings getRootAsDriftCompensationSettings(ByteBuffer _bb) { return getRootAsDriftCompensationSettings(_bb, new DriftCompensationSettings()); } public static DriftCompensationSettings getRootAsDriftCompensationSettings(ByteBuffer _bb, DriftCompensationSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java index 8384c1ce..790fe9d0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/DriftCompensationSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class DriftCompensationSettingsT { private boolean enabled; diff --git a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java index cf100770..ae46ad14 100644 --- a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class EnableStayAlignedRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static EnableStayAlignedRequest getRootAsEnableStayAlignedRequest(ByteBuffer _bb) { return getRootAsEnableStayAlignedRequest(_bb, new EnableStayAlignedRequest()); } public static EnableStayAlignedRequest getRootAsEnableStayAlignedRequest(ByteBuffer _bb, EnableStayAlignedRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java index 7da0e18c..0537e28b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/EnableStayAlignedRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class EnableStayAlignedRequestT { private boolean enable; diff --git a/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java b/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java index eb040824..ec01758a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/FilteringSettings.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class FilteringSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static FilteringSettings getRootAsFilteringSettings(ByteBuffer _bb) { return getRootAsFilteringSettings(_bb, new FilteringSettings()); } public static FilteringSettings getRootAsFilteringSettings(ByteBuffer _bb, FilteringSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java index e48f624c..880197fa 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FilteringSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class FilteringSettingsT { private int type; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java b/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java index 3135ff96..af3d5116 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwarePart.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class FirmwarePart extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static FirmwarePart getRootAsFirmwarePart(ByteBuffer _bb) { return getRootAsFirmwarePart(_bb, new FirmwarePart()); } public static FirmwarePart getRootAsFirmwarePart(ByteBuffer _bb, FirmwarePart obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java index 9325e536..d5c927c4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwarePartT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class FirmwarePartT { private String url; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java index 9df45261..828799c7 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class FirmwareUpdateRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static FirmwareUpdateRequest getRootAsFirmwareUpdateRequest(ByteBuffer _bb) { return getRootAsFirmwareUpdateRequest(_bb, new FirmwareUpdateRequest()); } public static FirmwareUpdateRequest getRootAsFirmwareUpdateRequest(ByteBuffer _bb, FirmwareUpdateRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java index 932e0c05..571a6a94 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class FirmwareUpdateRequestT { private solarxr_protocol.rpc.FirmwareUpdateMethodUnion method; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java index 818d3d50..9cd14b8c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class FirmwareUpdateStatusResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static FirmwareUpdateStatusResponse getRootAsFirmwareUpdateStatusResponse(ByteBuffer _bb) { return getRootAsFirmwareUpdateStatusResponse(_bb, new FirmwareUpdateStatusResponse()); } public static FirmwareUpdateStatusResponse getRootAsFirmwareUpdateStatusResponse(ByteBuffer _bb, FirmwareUpdateStatusResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java index 8667c6f0..b36a6911 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class FirmwareUpdateStatusResponseT { private solarxr_protocol.rpc.FirmwareUpdateDeviceIdUnion deviceId; diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java index d152d7ef..7f2d5e1e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class FirmwareUpdateStopQueuesRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static FirmwareUpdateStopQueuesRequest getRootAsFirmwareUpdateStopQueuesRequest(ByteBuffer _bb) { return getRootAsFirmwareUpdateStopQueuesRequest(_bb, new FirmwareUpdateStopQueuesRequest()); } public static FirmwareUpdateStopQueuesRequest getRootAsFirmwareUpdateStopQueuesRequest(ByteBuffer _bb, FirmwareUpdateStopQueuesRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java index 4ec44da2..fe00b80e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class FirmwareUpdateStopQueuesRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java index e23aa428..182a0405 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ForgetDeviceRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ForgetDeviceRequest getRootAsForgetDeviceRequest(ByteBuffer _bb) { return getRootAsForgetDeviceRequest(_bb, new ForgetDeviceRequest()); } public static ForgetDeviceRequest getRootAsForgetDeviceRequest(ByteBuffer _bb, ForgetDeviceRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java index 43fb422f..026164f1 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ForgetDeviceRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ForgetDeviceRequestT { private String macAddress; diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java index d539aa48..d0c8e8e3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class HeartbeatRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static HeartbeatRequest getRootAsHeartbeatRequest(ByteBuffer _bb) { return getRootAsHeartbeatRequest(_bb, new HeartbeatRequest()); } public static HeartbeatRequest getRootAsHeartbeatRequest(ByteBuffer _bb, HeartbeatRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java index 294cf0d7..983924cf 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HeartbeatRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java index 3b1020a8..9ffa4637 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class HeartbeatResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static HeartbeatResponse getRootAsHeartbeatResponse(ByteBuffer _bb) { return getRootAsHeartbeatResponse(_bb, new HeartbeatResponse()); } public static HeartbeatResponse getRootAsHeartbeatResponse(ByteBuffer _bb, HeartbeatResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java index 590e5c5e..8c8ab5ea 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeartbeatResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HeartbeatResponseT { diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java b/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java index ae1a4a03..fcff1197 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class HeightRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static HeightRequest getRootAsHeightRequest(ByteBuffer _bb) { return getRootAsHeightRequest(_bb, new HeightRequest()); } public static HeightRequest getRootAsHeightRequest(ByteBuffer _bb, HeightRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java b/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java index 053c1143..f7d33669 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HeightRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java b/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java index 27079e76..4fd08d2d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightResponse.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Returns the current min and max positional tracker heights */ @SuppressWarnings("unused") public final class HeightResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static HeightResponse getRootAsHeightResponse(ByteBuffer _bb) { return getRootAsHeightResponse(_bb, new HeightResponse()); } public static HeightResponse getRootAsHeightResponse(ByteBuffer _bb, HeightResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java b/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java index 06ceca30..fe840f6b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/HeightResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class HeightResponseT { private float minHeight; diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java index afb622a9..6c97121c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChange.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Makes a temporary change to legtweaks. This is not saved to disk, and can be @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class LegTweaksTmpChange extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static LegTweaksTmpChange getRootAsLegTweaksTmpChange(ByteBuffer _bb) { return getRootAsLegTweaksTmpChange(_bb, new LegTweaksTmpChange()); } public static LegTweaksTmpChange getRootAsLegTweaksTmpChange(ByteBuffer _bb, LegTweaksTmpChange obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java index 5eb46ad0..7c242f2c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpChangeT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class LegTweaksTmpChangeT { private Boolean floorClip; diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java index 62d4c8d6..55eb7441 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClear.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Clears the legtweaks temporary state back to what the config has. @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class LegTweaksTmpClear extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static LegTweaksTmpClear getRootAsLegTweaksTmpClear(ByteBuffer _bb) { return getRootAsLegTweaksTmpClear(_bb, new LegTweaksTmpClear()); } public static LegTweaksTmpClear getRootAsLegTweaksTmpClear(ByteBuffer _bb, LegTweaksTmpClear obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java index 4d7e7af8..7e036664 100644 --- a/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java +++ b/protocol/java/src/solarxr_protocol/rpc/LegTweaksTmpClearT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class LegTweaksTmpClearT { private boolean floorClip; diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java index 9e67c014..bc5ac6e8 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * If no tracker ID is given, it's the setting for every tracker/device */ @SuppressWarnings("unused") public final class MagToggleRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static MagToggleRequest getRootAsMagToggleRequest(ByteBuffer _bb) { return getRootAsMagToggleRequest(_bb, new MagToggleRequest()); } public static MagToggleRequest getRootAsMagToggleRequest(ByteBuffer _bb, MagToggleRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java index 4a75b3f0..94377378 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class MagToggleRequestT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java index 4d7b8931..18be18a5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponse.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * If no tracker ID is given, it's the setting for every tracker/device */ @SuppressWarnings("unused") public final class MagToggleResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static MagToggleResponse getRootAsMagToggleResponse(ByteBuffer _bb) { return getRootAsMagToggleResponse(_bb, new MagToggleResponse()); } public static MagToggleResponse getRootAsMagToggleResponse(ByteBuffer _bb, MagToggleResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java index 1c23aaef..2bda259a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/MagToggleResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class MagToggleResponseT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java index 335e2207..9d0b51ae 100644 --- a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class NewSerialDeviceResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static NewSerialDeviceResponse getRootAsNewSerialDeviceResponse(ByteBuffer _bb) { return getRootAsNewSerialDeviceResponse(_bb, new NewSerialDeviceResponse()); } public static NewSerialDeviceResponse getRootAsNewSerialDeviceResponse(ByteBuffer _bb, NewSerialDeviceResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java index c5a31148..bbafba96 100644 --- a/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/NewSerialDeviceResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class NewSerialDeviceResponseT { private solarxr_protocol.rpc.SerialDeviceT device; diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java index ef865815..4b7e2bd4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettings.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * OSC router forwards messages it receives, to allow the usage of multiple OSC programs for the same app. */ @SuppressWarnings("unused") public final class OSCRouterSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OSCRouterSettings getRootAsOSCRouterSettings(ByteBuffer _bb) { return getRootAsOSCRouterSettings(_bb, new OSCRouterSettings()); } public static OSCRouterSettings getRootAsOSCRouterSettings(ByteBuffer _bb, OSCRouterSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java index 0fc1f284..a0a2c79f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCRouterSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OSCRouterSettingsT { private solarxr_protocol.rpc.OSCSettingsT oscSettings; diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java b/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java index 5ba17288..6392815d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCSettings.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * OSC Settings that are used in *any* osc application. */ @SuppressWarnings("unused") public final class OSCSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OSCSettings getRootAsOSCSettings(ByteBuffer _bb) { return getRootAsOSCSettings(_bb, new OSCSettings()); } public static OSCSettings getRootAsOSCSettings(ByteBuffer _bb, OSCSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java index 01ee07ab..f9705bb3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OSCSettingsT { private boolean enabled; diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java index 2e95a46b..cbb00418 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class OSCTrackersSetting extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OSCTrackersSetting getRootAsOSCTrackersSetting(ByteBuffer _bb) { return getRootAsOSCTrackersSetting(_bb, new OSCTrackersSetting()); } public static OSCTrackersSetting getRootAsOSCTrackersSetting(ByteBuffer _bb, OSCTrackersSetting obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java index f40d7509..c23627a3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OSCTrackersSettingT { private boolean head; diff --git a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java index dacf00a6..8c8ee77f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java +++ b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdate.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class OTAFirmwareUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OTAFirmwareUpdate getRootAsOTAFirmwareUpdate(ByteBuffer _bb) { return getRootAsOTAFirmwareUpdate(_bb, new OTAFirmwareUpdate()); } public static OTAFirmwareUpdate getRootAsOTAFirmwareUpdate(ByteBuffer _bb, OTAFirmwareUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java index 84b18c12..f19b7865 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OTAFirmwareUpdateT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OTAFirmwareUpdateT { private solarxr_protocol.datatypes.DeviceIdT deviceId; diff --git a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java index a29312b9..0b03379e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class OpenSerialRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OpenSerialRequest getRootAsOpenSerialRequest(ByteBuffer _bb) { return getRootAsOpenSerialRequest(_bb, new OpenSerialRequest()); } public static OpenSerialRequest getRootAsOpenSerialRequest(ByteBuffer _bb, OpenSerialRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java index ce90fe0d..db9d7678 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OpenSerialRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OpenSerialRequestT { private boolean auto; diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java index fa124c07..6eac30a6 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Changes the state of the overlay's display mode. */ @SuppressWarnings("unused") public final class OverlayDisplayModeChangeRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OverlayDisplayModeChangeRequest getRootAsOverlayDisplayModeChangeRequest(ByteBuffer _bb) { return getRootAsOverlayDisplayModeChangeRequest(_bb, new OverlayDisplayModeChangeRequest()); } public static OverlayDisplayModeChangeRequest getRootAsOverlayDisplayModeChangeRequest(ByteBuffer _bb, OverlayDisplayModeChangeRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java index 82966c95..2b05a81c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OverlayDisplayModeChangeRequestT { private Boolean isVisible; diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java index 9cf908f2..6ff36afc 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Requests the current state of `OverlayDisplayModeResponse`. */ @SuppressWarnings("unused") public final class OverlayDisplayModeRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OverlayDisplayModeRequest getRootAsOverlayDisplayModeRequest(ByteBuffer _bb) { return getRootAsOverlayDisplayModeRequest(_bb, new OverlayDisplayModeRequest()); } public static OverlayDisplayModeRequest getRootAsOverlayDisplayModeRequest(ByteBuffer _bb, OverlayDisplayModeRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java index d9d13da7..79966304 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OverlayDisplayModeRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java index 6c7f91ef..eda6f81d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * The current state of the overlay's display mode. */ @SuppressWarnings("unused") public final class OverlayDisplayModeResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static OverlayDisplayModeResponse getRootAsOverlayDisplayModeResponse(ByteBuffer _bb) { return getRootAsOverlayDisplayModeResponse(_bb, new OverlayDisplayModeResponse()); } public static OverlayDisplayModeResponse getRootAsOverlayDisplayModeResponse(ByteBuffer _bb, OverlayDisplayModeResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java index 6bccd235..0a7c5493 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OverlayDisplayModeResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class OverlayDisplayModeResponseT { private boolean isVisible; diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java index de6058c5..6213d7ad 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class RecordBVHRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static RecordBVHRequest getRootAsRecordBVHRequest(ByteBuffer _bb) { return getRootAsRecordBVHRequest(_bb, new RecordBVHRequest()); } public static RecordBVHRequest getRootAsRecordBVHRequest(ByteBuffer _bb, RecordBVHRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java index 91ef9c8a..8a74fd0d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class RecordBVHRequestT { private boolean stop; diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java index 8ece1b74..b31c298f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatus.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class RecordBVHStatus extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static RecordBVHStatus getRootAsRecordBVHStatus(ByteBuffer _bb) { return getRootAsRecordBVHStatus(_bb, new RecordBVHStatus()); } public static RecordBVHStatus getRootAsRecordBVHStatus(ByteBuffer _bb, RecordBVHStatus obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java index 241b80c1..f8ee1d76 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class RecordBVHStatusRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static RecordBVHStatusRequest getRootAsRecordBVHStatusRequest(ByteBuffer _bb) { return getRootAsRecordBVHStatusRequest(_bb, new RecordBVHStatusRequest()); } public static RecordBVHStatusRequest getRootAsRecordBVHStatusRequest(ByteBuffer _bb, RecordBVHStatusRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java index bf88f30e..5b08fb38 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class RecordBVHStatusRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java index a0511449..733e0cfe 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RecordBVHStatusT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class RecordBVHStatusT { private boolean recording; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java index c964895d..8d10d89f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ResetRequest getRootAsResetRequest(ByteBuffer _bb) { return getRootAsResetRequest(_bb, new ResetRequest()); } public static ResetRequest getRootAsResetRequest(ByteBuffer _bb, ResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java index 7cf38235..2883685b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ResetRequestT { private int resetType; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java b/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java index 097ccf90..64662104 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ResetResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ResetResponse getRootAsResetResponse(ByteBuffer _bb) { return getRootAsResetResponse(_bb, new ResetResponse()); } public static ResetResponse getRootAsResetResponse(ByteBuffer _bb, ResetResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java b/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java index 6d3d53f4..9f7c1860 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ResetResponseT { private int resetType; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java index 3b7c6bac..5a3934cb 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ResetStayAlignedRelaxedPoseRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ResetStayAlignedRelaxedPoseRequest getRootAsResetStayAlignedRelaxedPoseRequest(ByteBuffer _bb) { return getRootAsResetStayAlignedRelaxedPoseRequest(_bb, new ResetStayAlignedRelaxedPoseRequest()); } public static ResetStayAlignedRelaxedPoseRequest getRootAsResetStayAlignedRelaxedPoseRequest(ByteBuffer _bb, ResetStayAlignedRelaxedPoseRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java index 440ac435..c6aad553 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ResetStayAlignedRelaxedPoseRequestT { private int pose; diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java b/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java index be04deaf..75ff71c2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetsSettings.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class ResetsSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ResetsSettings getRootAsResetsSettings(ByteBuffer _bb) { return getRootAsResetsSettings(_bb, new ResetsSettings()); } public static ResetsSettings getRootAsResetsSettings(ByteBuffer _bb, ResetsSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java index 21f5ce6d..0fe0addf 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ResetsSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ResetsSettingsT { private boolean resetMountingFeet; diff --git a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java index 9c53cbae..f8ec9923 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java +++ b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeader.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class RpcMessageHeader extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static RpcMessageHeader getRootAsRpcMessageHeader(ByteBuffer _bb) { return getRootAsRpcMessageHeader(_bb, new RpcMessageHeader()); } public static RpcMessageHeader getRootAsRpcMessageHeader(ByteBuffer _bb, RpcMessageHeader obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java index 249be166..feb5a83c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java +++ b/protocol/java/src/solarxr_protocol/rpc/RpcMessageHeaderT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class RpcMessageHeaderT { private solarxr_protocol.datatypes.TransactionIdT txId; diff --git a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java index 280bfe8c..09806c28 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java +++ b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotification.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Used for the server to save a file and have it prompt in the user side */ @SuppressWarnings("unused") public final class SaveFileNotification extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SaveFileNotification getRootAsSaveFileNotification(ByteBuffer _bb) { return getRootAsSaveFileNotification(_bb, new SaveFileNotification()); } public static SaveFileNotification getRootAsSaveFileNotification(ByteBuffer _bb, SaveFileNotification obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java index 76e0568f..a517e544 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SaveFileNotificationT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SaveFileNotificationT { private int[] data; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java index ff3ed9b4..b3e241e2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevice.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SerialDevice extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialDevice getRootAsSerialDevice(ByteBuffer _bb) { return getRootAsSerialDevice(_bb, new SerialDevice()); } public static SerialDevice getRootAsSerialDevice(ByteBuffer _bb, SerialDevice obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java index f385f277..7e685080 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePort.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SerialDevicePort extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialDevicePort getRootAsSerialDevicePort(ByteBuffer _bb) { return getRootAsSerialDevicePort(_bb, new SerialDevicePort()); } public static SerialDevicePort getRootAsSerialDevicePort(ByteBuffer _bb, SerialDevicePort obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java index 02d222db..bef9345d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicePortT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialDevicePortT { private String port; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java index 8cf1ef65..e92ac710 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDeviceT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialDeviceT { private String port; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java index 8972d7be..3178a2d3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SerialDevicesRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialDevicesRequest getRootAsSerialDevicesRequest(ByteBuffer _bb) { return getRootAsSerialDevicesRequest(_bb, new SerialDevicesRequest()); } public static SerialDevicesRequest getRootAsSerialDevicesRequest(ByteBuffer _bb, SerialDevicesRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java index 4861f503..1be90cbe 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialDevicesRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java index 78a23879..d01b3c79 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SerialDevicesResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialDevicesResponse getRootAsSerialDevicesResponse(ByteBuffer _bb) { return getRootAsSerialDevicesResponse(_bb, new SerialDevicesResponse()); } public static SerialDevicesResponse getRootAsSerialDevicesResponse(ByteBuffer _bb, SerialDevicesResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java index b6d3a2e4..3edcc1ed 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialDevicesResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialDevicesResponseT { private solarxr_protocol.rpc.SerialDeviceT[] devices; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java index 7cbed943..6759c0d4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdate.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SerialFirmwareUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialFirmwareUpdate getRootAsSerialFirmwareUpdate(ByteBuffer _bb) { return getRootAsSerialFirmwareUpdate(_bb, new SerialFirmwareUpdate()); } public static SerialFirmwareUpdate getRootAsSerialFirmwareUpdate(ByteBuffer _bb, SerialFirmwareUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java index 7b2a8c83..1f8e8a2f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialFirmwareUpdateT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialFirmwareUpdateT { private solarxr_protocol.rpc.SerialDevicePortT deviceId; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java index 15ebaae1..b5f137f8 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Sends a custom cmd to the currently connected Tracker over the Serial Monitor */ @SuppressWarnings("unused") public final class SerialTrackerCustomCommandRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialTrackerCustomCommandRequest getRootAsSerialTrackerCustomCommandRequest(ByteBuffer _bb) { return getRootAsSerialTrackerCustomCommandRequest(_bb, new SerialTrackerCustomCommandRequest()); } public static SerialTrackerCustomCommandRequest getRootAsSerialTrackerCustomCommandRequest(ByteBuffer _bb, SerialTrackerCustomCommandRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java index f753721e..a887cd72 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialTrackerCustomCommandRequestT { private String command; diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java index 6ad7a48b..991f7fd2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Sends the FRST cmd to the currently connected Tracker over the Serial Monitor */ @SuppressWarnings("unused") public final class SerialTrackerFactoryResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialTrackerFactoryResetRequest getRootAsSerialTrackerFactoryResetRequest(ByteBuffer _bb) { return getRootAsSerialTrackerFactoryResetRequest(_bb, new SerialTrackerFactoryResetRequest()); } public static SerialTrackerFactoryResetRequest getRootAsSerialTrackerFactoryResetRequest(ByteBuffer _bb, SerialTrackerFactoryResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java index a3e0c3df..8600f7b3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialTrackerFactoryResetRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java index c63a2d28..37eb5996 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Sends the GET INFO cmd to the current tracker on the serial monitor */ @SuppressWarnings("unused") public final class SerialTrackerGetInfoRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialTrackerGetInfoRequest getRootAsSerialTrackerGetInfoRequest(ByteBuffer _bb) { return getRootAsSerialTrackerGetInfoRequest(_bb, new SerialTrackerGetInfoRequest()); } public static SerialTrackerGetInfoRequest getRootAsSerialTrackerGetInfoRequest(ByteBuffer _bb, SerialTrackerGetInfoRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java index 28d1a3b8..47178ba1 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialTrackerGetInfoRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java index c744be59..40c5341e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Sends the GET WIFISCAN cmd to the current tracker on the serial monitor */ @SuppressWarnings("unused") public final class SerialTrackerGetWifiScanRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialTrackerGetWifiScanRequest getRootAsSerialTrackerGetWifiScanRequest(ByteBuffer _bb) { return getRootAsSerialTrackerGetWifiScanRequest(_bb, new SerialTrackerGetWifiScanRequest()); } public static SerialTrackerGetWifiScanRequest getRootAsSerialTrackerGetWifiScanRequest(ByteBuffer _bb, SerialTrackerGetWifiScanRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java index f4d69442..e4202f0c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialTrackerGetWifiScanRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java index ab3eb11d..d971d72c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Reboots the tracker connected to the serial monitor */ @SuppressWarnings("unused") public final class SerialTrackerRebootRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialTrackerRebootRequest getRootAsSerialTrackerRebootRequest(ByteBuffer _bb) { return getRootAsSerialTrackerRebootRequest(_bb, new SerialTrackerRebootRequest()); } public static SerialTrackerRebootRequest getRootAsSerialTrackerRebootRequest(ByteBuffer _bb, SerialTrackerRebootRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java index 7de8405b..f0350379 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialTrackerRebootRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialTrackerRebootRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java index a9229528..cd264334 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SerialUpdateResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SerialUpdateResponse getRootAsSerialUpdateResponse(ByteBuffer _bb) { return getRootAsSerialUpdateResponse(_bb, new SerialUpdateResponse()); } public static SerialUpdateResponse getRootAsSerialUpdateResponse(ByteBuffer _bb, SerialUpdateResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java index 6daa3380..06a15b5f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SerialUpdateResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SerialUpdateResponseT { private String log; diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java index e98b7a1a..ad19d074 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequest.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Allows to ask generic infos about the server, @@ -27,7 +15,7 @@ */ @SuppressWarnings("unused") public final class ServerInfosRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ServerInfosRequest getRootAsServerInfosRequest(ByteBuffer _bb) { return getRootAsServerInfosRequest(_bb, new ServerInfosRequest()); } public static ServerInfosRequest getRootAsServerInfosRequest(ByteBuffer _bb, ServerInfosRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java index a1b53c12..568779d2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ServerInfosRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java index 857e1934..510a82b2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponse.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Holds the Server information, this is a basic table holding various information about the currently running server @@ -27,7 +15,7 @@ */ @SuppressWarnings("unused") public final class ServerInfosResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ServerInfosResponse getRootAsServerInfosResponse(ByteBuffer _bb) { return getRootAsServerInfosResponse(_bb, new ServerInfosResponse()); } public static ServerInfosResponse getRootAsServerInfosResponse(ByteBuffer _bb, ServerInfosResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java index f1dda27b..0f248906 100644 --- a/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/ServerInfosResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ServerInfosResponseT { private String localIp; diff --git a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java index ad71abb2..f645fdb3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SetPauseTrackingRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SetPauseTrackingRequest getRootAsSetPauseTrackingRequest(ByteBuffer _bb) { return getRootAsSetPauseTrackingRequest(_bb, new SetPauseTrackingRequest()); } public static SetPauseTrackingRequest getRootAsSetPauseTrackingRequest(ByteBuffer _bb, SetPauseTrackingRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java index b2a65430..8ecffa73 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetPauseTrackingRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SetPauseTrackingRequestT { private boolean pauseTracking; diff --git a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java index b7d7840e..012c3812 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SetWifiRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SetWifiRequest getRootAsSetWifiRequest(ByteBuffer _bb) { return getRootAsSetWifiRequest(_bb, new SetWifiRequest()); } public static SetWifiRequest getRootAsSetWifiRequest(ByteBuffer _bb, SetWifiRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java index 59f7dc17..31ea985a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SetWifiRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SetWifiRequestT { private String ssid; diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java b/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java index cf6e2b49..123871ca 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SettingsRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SettingsRequest getRootAsSettingsRequest(ByteBuffer _bb) { return getRootAsSettingsRequest(_bb, new SettingsRequest()); } public static SettingsRequest getRootAsSettingsRequest(ByteBuffer _bb, SettingsRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java index 76537375..3573f655 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SettingsRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java index dc05bcb3..da31195a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SettingsResetRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SettingsResetRequest getRootAsSettingsResetRequest(ByteBuffer _bb) { return getRootAsSettingsResetRequest(_bb, new SettingsResetRequest()); } public static SettingsResetRequest getRootAsSettingsResetRequest(ByteBuffer _bb, SettingsResetRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java index af3b9ecb..99e407d1 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResetRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SettingsResetRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java index ae263b91..c8717174 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SettingsResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SettingsResponse getRootAsSettingsResponse(ByteBuffer _bb) { return getRootAsSettingsResponse(_bb, new SettingsResponse()); } public static SettingsResponse getRootAsSettingsResponse(ByteBuffer _bb, SettingsResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java index 36df783c..efd3e603 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SettingsResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SettingsResponseT { private solarxr_protocol.rpc.SteamVRTrackersSettingT steamVrTrackers; diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java index 1d63bb98..bb11300e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SkeletonConfigRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SkeletonConfigRequest getRootAsSkeletonConfigRequest(ByteBuffer _bb) { return getRootAsSkeletonConfigRequest(_bb, new SkeletonConfigRequest()); } public static SkeletonConfigRequest getRootAsSkeletonConfigRequest(ByteBuffer _bb, SkeletonConfigRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java index 0035de8e..2ea638d6 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SkeletonConfigRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java index 64f3a51c..9dc0607d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SkeletonConfigResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SkeletonConfigResponse getRootAsSkeletonConfigResponse(ByteBuffer _bb) { return getRootAsSkeletonConfigResponse(_bb, new SkeletonConfigResponse()); } public static SkeletonConfigResponse getRootAsSkeletonConfigResponse(ByteBuffer _bb, SkeletonConfigResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java index c8fc843b..73603368 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonConfigResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SkeletonConfigResponseT { private solarxr_protocol.rpc.SkeletonPartT[] skeletonParts; diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java index 89f1e879..52abf593 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonPart.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SkeletonPart extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SkeletonPart getRootAsSkeletonPart(ByteBuffer _bb) { return getRootAsSkeletonPart(_bb, new SkeletonPart()); } public static SkeletonPart getRootAsSkeletonPart(ByteBuffer _bb, SkeletonPart obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java index aecd0f9e..ff888802 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonPartT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SkeletonPartT { private int bone; diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java index 6b8b93dd..c81e6192 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SkeletonResetAllRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SkeletonResetAllRequest getRootAsSkeletonResetAllRequest(ByteBuffer _bb) { return getRootAsSkeletonResetAllRequest(_bb, new SkeletonResetAllRequest()); } public static SkeletonResetAllRequest getRootAsSkeletonResetAllRequest(ByteBuffer _bb, SkeletonResetAllRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java index f2e73280..d79a638a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonResetAllRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SkeletonResetAllRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java index 968d1c23..38974d0c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class StartWifiProvisioningRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StartWifiProvisioningRequest getRootAsStartWifiProvisioningRequest(ByteBuffer _bb) { return getRootAsStartWifiProvisioningRequest(_bb, new StartWifiProvisioningRequest()); } public static StartWifiProvisioningRequest getRootAsStartWifiProvisioningRequest(ByteBuffer _bb, StartWifiProvisioningRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java index 19761067..941a6aeb 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StartWifiProvisioningRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StartWifiProvisioningRequestT { private String ssid; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java b/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java index cb1bcaa3..35f8889b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusMessage.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * An status is some kind of warning sent by the server, it's mainly made for @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class StatusMessage extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusMessage getRootAsStatusMessage(ByteBuffer _bb) { return getRootAsStatusMessage(_bb, new StatusMessage()); } public static StatusMessage getRootAsStatusMessage(ByteBuffer _bb, StatusMessage obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java b/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java index 96191c9e..5d2aa215 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusMessageT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusMessageT { private long id; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java index 698ff6ec..e4aa5a5a 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetwork.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * When the server detects a public network profile */ @SuppressWarnings("unused") public final class StatusPublicNetwork extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusPublicNetwork getRootAsStatusPublicNetwork(ByteBuffer _bb) { return getRootAsStatusPublicNetwork(_bb, new StatusPublicNetwork()); } public static StatusPublicNetwork getRootAsStatusPublicNetwork(ByteBuffer _bb, StatusPublicNetwork obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java index b0432a57..6d5869ec 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusPublicNetworkT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusPublicNetworkT { private String[] adapters; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java index 9d2ab274..51f65a63 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * SteamVR bridge is disconnected */ @SuppressWarnings("unused") public final class StatusSteamVRDisconnected extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusSteamVRDisconnected getRootAsStatusSteamVRDisconnected(ByteBuffer _bb) { return getRootAsStatusSteamVRDisconnected(_bb, new StatusSteamVRDisconnected()); } public static StatusSteamVRDisconnected getRootAsStatusSteamVRDisconnected(ByteBuffer _bb, StatusSteamVRDisconnected obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java index 6f9c1d04..f6db5871 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSteamVRDisconnectedT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusSteamVRDisconnectedT { private String bridgeSettingsName; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java index e5f165f4..7ada2e10 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixed.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * When an status is fixed and it's removed, it's ID is sent */ @SuppressWarnings("unused") public final class StatusSystemFixed extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusSystemFixed getRootAsStatusSystemFixed(ByteBuffer _bb) { return getRootAsStatusSystemFixed(_bb, new StatusSystemFixed()); } public static StatusSystemFixed getRootAsStatusSystemFixed(ByteBuffer _bb, StatusSystemFixed obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java index 2d886999..fe781195 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemFixedT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusSystemFixedT { private long fixedStatusId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java index a238c723..c2ba5121 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Request current statuses that we have */ @SuppressWarnings("unused") public final class StatusSystemRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusSystemRequest getRootAsStatusSystemRequest(ByteBuffer _bb) { return getRootAsStatusSystemRequest(_bb, new StatusSystemRequest()); } public static StatusSystemRequest getRootAsStatusSystemRequest(ByteBuffer _bb, StatusSystemRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java index 6689fb37..6564046f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusSystemRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java index 8a8f9f68..8d9b9183 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponse.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Response containing all current valid statuses */ @SuppressWarnings("unused") public final class StatusSystemResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusSystemResponse getRootAsStatusSystemResponse(ByteBuffer _bb) { return getRootAsStatusSystemResponse(_bb, new StatusSystemResponse()); } public static StatusSystemResponse getRootAsStatusSystemResponse(ByteBuffer _bb, StatusSystemResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java index 10b2e668..d6ff1dce 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusSystemResponseT { private solarxr_protocol.rpc.StatusMessageT[] currentStatuses; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java index 2a0d5907..dbcef354 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdate.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * When a new status appears, it's sent alone */ @SuppressWarnings("unused") public final class StatusSystemUpdate extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusSystemUpdate getRootAsStatusSystemUpdate(ByteBuffer _bb) { return getRootAsStatusSystemUpdate(_bb, new StatusSystemUpdate()); } public static StatusSystemUpdate getRootAsStatusSystemUpdate(ByteBuffer _bb, StatusSystemUpdate obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java index e5af08de..c3a98fea 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusSystemUpdateT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusSystemUpdateT { private solarxr_protocol.rpc.StatusMessageT newStatus; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java index a257752c..85e330b2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerError.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Trackers with error state */ @SuppressWarnings("unused") public final class StatusTrackerError extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusTrackerError getRootAsStatusTrackerError(ByteBuffer _bb) { return getRootAsStatusTrackerError(_bb, new StatusTrackerError()); } public static StatusTrackerError getRootAsStatusTrackerError(ByteBuffer _bb, StatusTrackerError obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java index 112eb17f..b682e9af 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerErrorT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusTrackerErrorT { private solarxr_protocol.datatypes.TrackerIdT[] trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java index 32cb77bb..299cd5ab 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerReset.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Tracker requires full reset */ @SuppressWarnings("unused") public final class StatusTrackerReset extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusTrackerReset getRootAsStatusTrackerReset(ByteBuffer _bb) { return getRootAsStatusTrackerReset(_bb, new StatusTrackerReset()); } public static StatusTrackerReset getRootAsStatusTrackerReset(ByteBuffer _bb, StatusTrackerReset obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java index 57f22bea..35c5d98b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusTrackerResetT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusTrackerResetT { private solarxr_protocol.datatypes.TrackerIdT[] trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java index 1dad4642..a52e648b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMD.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * There is an available HMD tracker and it's not assigned to head */ @SuppressWarnings("unused") public final class StatusUnassignedHMD extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StatusUnassignedHMD getRootAsStatusUnassignedHMD(ByteBuffer _bb) { return getRootAsStatusUnassignedHMD(_bb, new StatusUnassignedHMD()); } public static StatusUnassignedHMD getRootAsStatusUnassignedHMD(ByteBuffer _bb, StatusUnassignedHMD obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java index 18ee8868..ba80aa42 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StatusUnassignedHMDT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StatusUnassignedHMDT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java index a91d6d73..95fe3f3b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettings.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class StayAlignedSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StayAlignedSettings getRootAsStayAlignedSettings(ByteBuffer _bb) { return getRootAsStayAlignedSettings(_bb, new StayAlignedSettings()); } public static StayAlignedSettings getRootAsStayAlignedSettings(ByteBuffer _bb, StayAlignedSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java index 31e214c7..49bad8e5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StayAlignedSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StayAlignedSettingsT { private boolean enabled; diff --git a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java index 6a19cf03..385d530f 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java +++ b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SteamVRTrackersSetting extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SteamVRTrackersSetting getRootAsSteamVRTrackersSetting(ByteBuffer _bb) { return getRootAsSteamVRTrackersSetting(_bb, new SteamVRTrackersSetting()); } public static SteamVRTrackersSetting getRootAsSteamVRTrackersSetting(ByteBuffer _bb, SteamVRTrackersSetting obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java index 5f588e19..ba1155a2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SteamVRTrackersSettingT { private boolean waist; diff --git a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java index a7521a01..144a57e2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class StopWifiProvisioningRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static StopWifiProvisioningRequest getRootAsStopWifiProvisioningRequest(ByteBuffer _bb) { return getRootAsStopWifiProvisioningRequest(_bb, new StopWifiProvisioningRequest()); } public static StopWifiProvisioningRequest getRootAsStopWifiProvisioningRequest(ByteBuffer _bb, StopWifiProvisioningRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java index 10b3d946..b28c8a96 100644 --- a/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/StopWifiProvisioningRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class StopWifiProvisioningRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java index 91d1da61..caac8272 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettings.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class TapDetectionSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TapDetectionSettings getRootAsTapDetectionSettings(ByteBuffer _bb) { return getRootAsTapDetectionSettings(_bb, new TapDetectionSettings()); } public static TapDetectionSettings getRootAsTapDetectionSettings(ByteBuffer _bb, TapDetectionSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java index e29cf45a..87c3d870 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TapDetectionSettingsT { private Float fullResetDelay; diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java index 3a669c00..516a57da 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotification.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * See TapDetectionSettings::setup_mode */ @SuppressWarnings("unused") public final class TapDetectionSetupNotification extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TapDetectionSetupNotification getRootAsTapDetectionSetupNotification(ByteBuffer _bb) { return getRootAsTapDetectionSetupNotification(_bb, new TapDetectionSetupNotification()); } public static TapDetectionSetupNotification getRootAsTapDetectionSetupNotification(ByteBuffer _bb, TapDetectionSetupNotification obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java index 9d400374..2742c1f9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TapDetectionSetupNotificationT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TapDetectionSetupNotificationT { private solarxr_protocol.datatypes.TrackerIdT trackerId; diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java index a9fc7e88..b50e1d44 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequest.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Requests the current state of tracking pause */ @SuppressWarnings("unused") public final class TrackingPauseStateRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TrackingPauseStateRequest getRootAsTrackingPauseStateRequest(ByteBuffer _bb) { return getRootAsTrackingPauseStateRequest(_bb, new TrackingPauseStateRequest()); } public static TrackingPauseStateRequest getRootAsTrackingPauseStateRequest(ByteBuffer _bb, TrackingPauseStateRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java index cc456ad5..c90894bf 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TrackingPauseStateRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java index 87932d7d..c91ca8bd 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class TrackingPauseStateResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static TrackingPauseStateResponse getRootAsTrackingPauseStateResponse(ByteBuffer _bb) { return getRootAsTrackingPauseStateResponse(_bb, new TrackingPauseStateResponse()); } public static TrackingPauseStateResponse getRootAsTrackingPauseStateResponse(ByteBuffer _bb, TrackingPauseStateResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java index 23acae69..2331b48d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/TrackingPauseStateResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class TrackingPauseStateResponseT { private boolean trackingPaused; diff --git a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java index 0f9bbd61..e0dab501 100644 --- a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java +++ b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Server notifies connection of an unknown device. @@ -26,7 +14,7 @@ */ @SuppressWarnings("unused") public final class UnknownDeviceHandshakeNotification extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static UnknownDeviceHandshakeNotification getRootAsUnknownDeviceHandshakeNotification(ByteBuffer _bb) { return getRootAsUnknownDeviceHandshakeNotification(_bb, new UnknownDeviceHandshakeNotification()); } public static UnknownDeviceHandshakeNotification getRootAsUnknownDeviceHandshakeNotification(ByteBuffer _bb, UnknownDeviceHandshakeNotification obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java index 35bcb9b2..9d6ae747 100644 --- a/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java +++ b/protocol/java/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotificationT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class UnknownDeviceHandshakeNotificationT { private String macAddress; diff --git a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java index 466bfa79..ecfcdd1b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettings.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * OSC Settings specific to VMC */ @SuppressWarnings("unused") public final class VMCOSCSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static VMCOSCSettings getRootAsVMCOSCSettings(ByteBuffer _bb) { return getRootAsVMCOSCSettings(_bb, new VMCOSCSettings()); } public static VMCOSCSettings getRootAsVMCOSCSettings(ByteBuffer _bb, VMCOSCSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java index c4ea2a80..46282b53 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VMCOSCSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class VMCOSCSettingsT { private solarxr_protocol.rpc.OSCSettingsT oscSettings; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java index 34cf209f..3314a3ab 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class VRCConfigRecommendedValues extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static VRCConfigRecommendedValues getRootAsVRCConfigRecommendedValues(ByteBuffer _bb) { return getRootAsVRCConfigRecommendedValues(_bb, new VRCConfigRecommendedValues()); } public static VRCConfigRecommendedValues getRootAsVRCConfigRecommendedValues(ByteBuffer _bb, VRCConfigRecommendedValues obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java index c49bb3b0..3a7c87a9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigRecommendedValuesT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class VRCConfigRecommendedValuesT { private boolean legacyMode; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java index e5f0f5c9..7dd8a38b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Sent every time the vrchat config state gets updated @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class VRCConfigStateChangeResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static VRCConfigStateChangeResponse getRootAsVRCConfigStateChangeResponse(ByteBuffer _bb) { return getRootAsVRCConfigStateChangeResponse(_bb, new VRCConfigStateChangeResponse()); } public static VRCConfigStateChangeResponse getRootAsVRCConfigStateChangeResponse(ByteBuffer _bb, VRCConfigStateChangeResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java index 2450a412..12d40593 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateChangeResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class VRCConfigStateChangeResponseT { private boolean isSupported; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java index 0ba3a1f0..1e054ec2 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequest.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class VRCConfigStateRequest extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static VRCConfigStateRequest getRootAsVRCConfigStateRequest(ByteBuffer _bb) { return getRootAsVRCConfigStateRequest(_bb, new VRCConfigStateRequest()); } public static VRCConfigStateRequest getRootAsVRCConfigStateRequest(ByteBuffer _bb, VRCConfigStateRequest obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java index 0c8b2b42..05e36cd0 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigStateRequestT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class VRCConfigStateRequestT { diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java index 6cc4d583..e4f07166 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidity.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class VRCConfigValidity extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static VRCConfigValidity getRootAsVRCConfigValidity(ByteBuffer _bb) { return getRootAsVRCConfigValidity(_bb, new VRCConfigValidity()); } public static VRCConfigValidity getRootAsVRCConfigValidity(ByteBuffer _bb, VRCConfigValidity obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java index eb1c69dd..f76745d3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValidityT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class VRCConfigValidityT { private boolean legacyModeOk; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java index c692be55..8b58287e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValues.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class VRCConfigValues extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static VRCConfigValues getRootAsVRCConfigValues(ByteBuffer _bb) { return getRootAsVRCConfigValues(_bb, new VRCConfigValues()); } public static VRCConfigValues getRootAsVRCConfigValues(ByteBuffer _bb, VRCConfigValues obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java index 85b8271c..18d1c4c9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCConfigValuesT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class VRCConfigValuesT { private boolean legacyMode; diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java index e2817945..2928e64e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettings.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * OSC Settings specific to VRChat */ @SuppressWarnings("unused") public final class VRCOSCSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static VRCOSCSettings getRootAsVRCOSCSettings(ByteBuffer _bb) { return getRootAsVRCOSCSettings(_bb, new VRCOSCSettings()); } public static VRCOSCSettings getRootAsVRCOSCSettings(ByteBuffer _bb, VRCOSCSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java index 1fe85b11..41d8ba2c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/VRCOSCSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class VRCOSCSettingsT { private solarxr_protocol.rpc.OSCSettingsT oscSettings; diff --git a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java index 48fafbfa..a291bd17 100644 --- a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java +++ b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class WifiProvisioningStatusResponse extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static WifiProvisioningStatusResponse getRootAsWifiProvisioningStatusResponse(ByteBuffer _bb) { return getRootAsWifiProvisioningStatusResponse(_bb, new WifiProvisioningStatusResponse()); } public static WifiProvisioningStatusResponse getRootAsWifiProvisioningStatusResponse(ByteBuffer _bb, WifiProvisioningStatusResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java index fb542c5d..f8da048c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java +++ b/protocol/java/src/solarxr_protocol/rpc/WifiProvisioningStatusResponseT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class WifiProvisioningStatusResponseT { private int status; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java index 627f1e5b..2752124c 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettings.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class LegTweaksSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static LegTweaksSettings getRootAsLegTweaksSettings(ByteBuffer _bb) { return getRootAsLegTweaksSettings(_bb, new LegTweaksSettings()); } public static LegTweaksSettings getRootAsLegTweaksSettings(ByteBuffer _bb, LegTweaksSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java index 4085d024..8074919d 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/LegTweaksSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class LegTweaksSettingsT { private Float correctionStrength; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java index 1e8f050a..9617d3bc 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatios.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Settings for the skeletal model that are ratios. @@ -25,7 +13,7 @@ */ @SuppressWarnings("unused") public final class ModelRatios extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ModelRatios getRootAsModelRatios(ByteBuffer _bb) { return getRootAsModelRatios(_bb, new ModelRatios()); } public static ModelRatios getRootAsModelRatios(ByteBuffer _bb, ModelRatios obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java index deb356ba..e5db3eb5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelRatiosT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ModelRatiosT { private Float imputeWaistFromChestHip; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java index 5d0dcf0b..16905b5b 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettings.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Settings for the skeletal model. */ @SuppressWarnings("unused") public final class ModelSettings extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ModelSettings getRootAsModelSettings(ByteBuffer _bb) { return getRootAsModelSettings(_bb, new ModelSettings()); } public static ModelSettings getRootAsModelSettings(ByteBuffer _bb, ModelSettings obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java index 1a914b20..59ff528e 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelSettingsT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ModelSettingsT { private solarxr_protocol.rpc.settings.ModelTogglesT toggles; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java index 41ff71d4..80fb77f5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelToggles.java @@ -2,29 +2,17 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; /** * Settings for the skeletal model that are toggles. */ @SuppressWarnings("unused") public final class ModelToggles extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static ModelToggles getRootAsModelToggles(ByteBuffer _bb) { return getRootAsModelToggles(_bb, new ModelToggles()); } public static ModelToggles getRootAsModelToggles(ByteBuffer _bb, ModelToggles obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java b/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java index 70a48406..10e29ef3 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/ModelTogglesT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class ModelTogglesT { private Boolean extendedSpine; diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java index b3acd54c..3805aaeb 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeight.java @@ -2,26 +2,14 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class SkeletonHeight extends Table { - public static void ValidateVersion() { Constants.FLATBUFFERS_25_9_23(); } + public static void ValidateVersion() { Constants.FLATBUFFERS_22_10_26(); } public static SkeletonHeight getRootAsSkeletonHeight(ByteBuffer _bb) { return getRootAsSkeletonHeight(_bb, new SkeletonHeight()); } public static SkeletonHeight getRootAsSkeletonHeight(ByteBuffer _bb, SkeletonHeight obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } diff --git a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java index 21079de2..9799fe31 100644 --- a/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java +++ b/protocol/java/src/solarxr_protocol/rpc/settings/SkeletonHeightT.java @@ -2,22 +2,10 @@ package solarxr_protocol.rpc.settings; -import com.google.flatbuffers.BaseVector; -import com.google.flatbuffers.BooleanVector; -import com.google.flatbuffers.ByteVector; -import com.google.flatbuffers.Constants; -import com.google.flatbuffers.DoubleVector; -import com.google.flatbuffers.FlatBufferBuilder; -import com.google.flatbuffers.FloatVector; -import com.google.flatbuffers.IntVector; -import com.google.flatbuffers.LongVector; -import com.google.flatbuffers.ShortVector; -import com.google.flatbuffers.StringVector; -import com.google.flatbuffers.Struct; -import com.google.flatbuffers.Table; -import com.google.flatbuffers.UnionVector; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; +import java.nio.*; +import java.lang.*; +import java.util.*; +import com.google.flatbuffers.*; public class SkeletonHeightT { private Float hmdHeight; diff --git a/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt b/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt index 8f9ccdd2..be2e44a3 100644 --- a/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt +++ b/protocol/kotlin/src/solarxr_protocol/MessageBundle.kt @@ -2,21 +2,9 @@ package solarxr_protocol -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * MessageBundle contains all of the messages for the data feed system and the @@ -73,7 +61,7 @@ class MessageBundle : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsMessageBundle(_bb: ByteBuffer): MessageBundle = getRootAsMessageBundle(_bb, MessageBundle()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt index a9a79ff5..30a30746 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/Bone.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class Bone : Table() { @@ -70,7 +58,7 @@ class Bone : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsBone(_bb: ByteBuffer): Bone = getRootAsBone(_bb, Bone()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt index 43271b80..09e0a026 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedConfig.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * All information related to the configuration of a data feed. This may be sent @@ -76,7 +64,7 @@ class DataFeedConfig : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDataFeedConfig(_bb: ByteBuffer): DataFeedConfig = getRootAsDataFeedConfig(_bb, DataFeedConfig()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt index 93fcf62d..ca537607 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessage.kt @@ -10,5 +10,8 @@ class DataFeedMessage private constructor() { const val StartDataFeed: UByte = 2u const val DataFeedUpdate: UByte = 3u const val DataFeedConfig: UByte = 4u + val names : Array = arrayOf("NONE", "PollDataFeed", "StartDataFeed", "DataFeedUpdate", "DataFeedConfig") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt index b016a7ff..18b243e9 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedMessageHeader.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class DataFeedMessageHeader : Table() { @@ -38,7 +26,7 @@ class DataFeedMessageHeader : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDataFeedMessageHeader(_bb: ByteBuffer): DataFeedMessageHeader = getRootAsDataFeedMessageHeader(_bb, DataFeedMessageHeader()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt index 1c0b574f..57d5b4e8 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/DataFeedUpdate.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * All of the data components related to a single data feed. A data feed is comprised @@ -104,7 +92,7 @@ class DataFeedUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDataFeedUpdate(_bb: ByteBuffer): DataFeedUpdate = getRootAsDataFeedUpdate(_bb, DataFeedUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt index 2a4b1403..7f6086b7 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/PollDataFeed.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Requests for a single `Update` to be sent. This is helpful when getting @@ -43,7 +31,7 @@ class PollDataFeed : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsPollDataFeed(_bb: ByteBuffer): PollDataFeed = getRootAsPollDataFeed(_bb, PollDataFeed()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt index b1c4638e..eec7f5b6 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/StartDataFeed.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Requests for the other party to send `data_feeds`. @@ -53,7 +41,7 @@ class StartDataFeed : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStartDataFeed(_bb: ByteBuffer): StartDataFeed = getRootAsStartDataFeed(_bb, StartDataFeed()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt index bd4efc93..7ea843d8 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceData.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed.device_data -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Describes all possible information about a hardware device. For example, a @@ -49,11 +37,7 @@ class DeviceData : Table() { val customName : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val customNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun customNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -99,7 +83,7 @@ class DeviceData : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDeviceData(_bb: ByteBuffer): DeviceData = getRootAsDeviceData(_bb, DeviceData()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt index 8917da93..392aa827 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/device_data/DeviceDataMask.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed.device_data -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * A mask of values to be reported in subsequent DeviceStatus. Values set to `false` @@ -58,7 +46,7 @@ class DeviceDataMask : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDeviceDataMask(_bb: ByteBuffer): DeviceDataMask = getRootAsDeviceDataMask(_bb, DeviceDataMask()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt index c0842abc..a872b30c 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedPose.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed.stay_aligned -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class StayAlignedPose : Table() { @@ -45,7 +33,7 @@ class StayAlignedPose : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStayAlignedPose(_bb: ByteBuffer): StayAlignedPose = getRootAsStayAlignedPose(_bb, StayAlignedPose()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt index 654c8f7f..3bb7e998 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/stay_aligned/StayAlignedTracker.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed.stay_aligned -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class StayAlignedTracker : Table() { @@ -55,7 +43,7 @@ class StayAlignedTracker : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStayAlignedTracker(_bb: ByteBuffer): StayAlignedTracker = getRootAsStayAlignedTracker(_bb, StayAlignedTracker()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt index 71e50066..55ba052c 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerData.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed.tracker -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Describes all possible information about a tracker. A tracker is anything that @@ -198,7 +186,7 @@ class TrackerData : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTrackerData(_bb: ByteBuffer): TrackerData = getRootAsTrackerData(_bb, TrackerData()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt index 47cb1ced..41b60979 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerDataMask.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed.tracker -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * A mask of the different components in `TrackerComponent` @@ -98,7 +86,7 @@ class TrackerDataMask : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTrackerDataMask(_bb: ByteBuffer): TrackerDataMask = getRootAsTrackerDataMask(_bb, TrackerDataMask()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt index 0f6b70e0..2d358fa8 100644 --- a/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt +++ b/protocol/kotlin/src/solarxr_protocol/data_feed/tracker/TrackerInfo.kt @@ -2,21 +2,9 @@ package solarxr_protocol.data_feed.tracker -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Static description of a tracker @@ -98,11 +86,7 @@ class TrackerInfo : Table() { val displayName : String? get() { val o = __offset(18) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val displayNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(18, 1) fun displayNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 18, 1) @@ -112,11 +96,7 @@ class TrackerInfo : Table() { val customName : String? get() { val o = __offset(20) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val customNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(20, 1) fun customNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 20, 1) @@ -170,7 +150,7 @@ class TrackerInfo : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTrackerInfo(_bb: ByteBuffer): TrackerInfo = getRootAsTrackerInfo(_bb, TrackerInfo()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt index 18a94bf9..cfd6cbdf 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt @@ -15,58 +15,61 @@ class BodyPart private constructor() { const val CHEST: UByte = 3u const val WAIST: UByte = 4u const val HIP: UByte = 5u - const val LEFT_UPPER_LEG: UByte = 6u - const val RIGHT_UPPER_LEG: UByte = 7u - const val LEFT_LOWER_LEG: UByte = 8u - const val RIGHT_LOWER_LEG: UByte = 9u - const val LEFT_FOOT: UByte = 10u - const val RIGHT_FOOT: UByte = 11u - const val LEFT_LOWER_ARM: UByte = 14u - const val RIGHT_LOWER_ARM: UByte = 15u - const val LEFT_UPPER_ARM: UByte = 16u - const val RIGHT_UPPER_ARM: UByte = 17u - const val LEFT_HAND: UByte = 18u - const val RIGHT_HAND: UByte = 19u - const val LEFT_SHOULDER: UByte = 20u - const val RIGHT_SHOULDER: UByte = 21u - const val UPPER_CHEST: UByte = 22u - const val LEFT_HIP: UByte = 23u - const val RIGHT_HIP: UByte = 24u - const val LEFT_THUMB_METACARPAL: UByte = 25u - const val LEFT_THUMB_PROXIMAL: UByte = 26u - const val LEFT_THUMB_DISTAL: UByte = 27u - const val LEFT_INDEX_PROXIMAL: UByte = 28u - const val LEFT_INDEX_INTERMEDIATE: UByte = 29u - const val LEFT_INDEX_DISTAL: UByte = 30u - const val LEFT_MIDDLE_PROXIMAL: UByte = 31u - const val LEFT_MIDDLE_INTERMEDIATE: UByte = 32u - const val LEFT_MIDDLE_DISTAL: UByte = 33u - const val LEFT_RING_PROXIMAL: UByte = 34u - const val LEFT_RING_INTERMEDIATE: UByte = 35u - const val LEFT_RING_DISTAL: UByte = 36u - const val LEFT_LITTLE_PROXIMAL: UByte = 37u - const val LEFT_LITTLE_INTERMEDIATE: UByte = 38u - const val LEFT_LITTLE_DISTAL: UByte = 39u - const val RIGHT_THUMB_METACARPAL: UByte = 40u - const val RIGHT_THUMB_PROXIMAL: UByte = 41u - const val RIGHT_THUMB_DISTAL: UByte = 42u - const val RIGHT_INDEX_PROXIMAL: UByte = 43u - const val RIGHT_INDEX_INTERMEDIATE: UByte = 44u - const val RIGHT_INDEX_DISTAL: UByte = 45u - const val RIGHT_MIDDLE_PROXIMAL: UByte = 46u - const val RIGHT_MIDDLE_INTERMEDIATE: UByte = 47u - const val RIGHT_MIDDLE_DISTAL: UByte = 48u - const val RIGHT_RING_PROXIMAL: UByte = 49u - const val RIGHT_RING_INTERMEDIATE: UByte = 50u - const val RIGHT_RING_DISTAL: UByte = 51u - const val RIGHT_LITTLE_PROXIMAL: UByte = 52u - const val RIGHT_LITTLE_INTERMEDIATE: UByte = 53u - const val RIGHT_LITTLE_DISTAL: UByte = 54u - const val LEFT_TOE_1: UByte = 55u - const val LEFT_TOE_2: UByte = 56u - const val LEFT_TOE_3: UByte = 57u - const val RIGHT_TOE_1: UByte = 58u - const val RIGHT_TOE_2: UByte = 59u - const val RIGHT_TOE_3: UByte = 60u + const val LEFTUPPERLEG: UByte = 6u + const val RIGHTUPPERLEG: UByte = 7u + const val LEFTLOWERLEG: UByte = 8u + const val RIGHTLOWERLEG: UByte = 9u + const val LEFTFOOT: UByte = 10u + const val RIGHTFOOT: UByte = 11u + const val LEFTLOWERARM: UByte = 14u + const val RIGHTLOWERARM: UByte = 15u + const val LEFTUPPERARM: UByte = 16u + const val RIGHTUPPERARM: UByte = 17u + const val LEFTHAND: UByte = 18u + const val RIGHTHAND: UByte = 19u + const val LEFTSHOULDER: UByte = 20u + const val RIGHTSHOULDER: UByte = 21u + const val UPPERCHEST: UByte = 22u + const val LEFTHIP: UByte = 23u + const val RIGHTHIP: UByte = 24u + const val LEFTTHUMBMETACARPAL: UByte = 25u + const val LEFTTHUMBPROXIMAL: UByte = 26u + const val LEFTTHUMBDISTAL: UByte = 27u + const val LEFTINDEXPROXIMAL: UByte = 28u + const val LEFTINDEXINTERMEDIATE: UByte = 29u + const val LEFTINDEXDISTAL: UByte = 30u + const val LEFTMIDDLEPROXIMAL: UByte = 31u + const val LEFTMIDDLEINTERMEDIATE: UByte = 32u + const val LEFTMIDDLEDISTAL: UByte = 33u + const val LEFTRINGPROXIMAL: UByte = 34u + const val LEFTRINGINTERMEDIATE: UByte = 35u + const val LEFTRINGDISTAL: UByte = 36u + const val LEFTLITTLEPROXIMAL: UByte = 37u + const val LEFTLITTLEINTERMEDIATE: UByte = 38u + const val LEFTLITTLEDISTAL: UByte = 39u + const val RIGHTTHUMBMETACARPAL: UByte = 40u + const val RIGHTTHUMBPROXIMAL: UByte = 41u + const val RIGHTTHUMBDISTAL: UByte = 42u + const val RIGHTINDEXPROXIMAL: UByte = 43u + const val RIGHTINDEXINTERMEDIATE: UByte = 44u + const val RIGHTINDEXDISTAL: UByte = 45u + const val RIGHTMIDDLEPROXIMAL: UByte = 46u + const val RIGHTMIDDLEINTERMEDIATE: UByte = 47u + const val RIGHTMIDDLEDISTAL: UByte = 48u + const val RIGHTRINGPROXIMAL: UByte = 49u + const val RIGHTRINGINTERMEDIATE: UByte = 50u + const val RIGHTRINGDISTAL: UByte = 51u + const val RIGHTLITTLEPROXIMAL: UByte = 52u + const val RIGHTLITTLEINTERMEDIATE: UByte = 53u + const val RIGHTLITTLEDISTAL: UByte = 54u + const val LEFTTOE1: UByte = 55u + const val LEFTTOE2: UByte = 56u + const val LEFTTOE3: UByte = 57u + const val RIGHTTOE1: UByte = 58u + const val RIGHTTOE2: UByte = 59u + const val RIGHTTOE3: UByte = 60u + val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt index 86708454..a1866962 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/Bytes.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class Bytes : Table() { @@ -44,7 +32,7 @@ class Bytes : Table() { fun bInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsBytes(_bb: ByteBuffer): Bytes = getRootAsBytes(_bb, Bytes()) @JvmStatic @@ -62,7 +50,6 @@ class Bytes : Table() { fun startBytes(builder: FlatBufferBuilder) = builder.startTable(1) @JvmStatic fun addB(builder: FlatBufferBuilder, b: Int) = builder.addOffset(0, b, 0) - @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createBVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt index 8b0db309..41a5c666 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceId.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * A unique ID for the device. IDs are not guaranteed to be the same after diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt index 983298bd..d3bc5fb5 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/DeviceIdTable.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * To be used inside unions @@ -42,7 +30,7 @@ class DeviceIdTable : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDeviceIdTable(_bb: ByteBuffer): DeviceIdTable = getRootAsDeviceIdTable(_bb, DeviceIdTable()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt index a48dfd6d..bba3ceb5 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/FilteringType.kt @@ -11,5 +11,8 @@ class FilteringType private constructor() { const val NONE: UByte = 0u const val SMOOTHING: UByte = 1u const val PREDICTION: UByte = 2u + val names : Array = arrayOf("NONE", "SMOOTHING", "PREDICTION") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt index b40e6e0f..368d0827 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/FirmwareErrorCode.kt @@ -12,5 +12,8 @@ class FirmwareErrorCode private constructor() { const val Disconnected: UByte = 1u const val Occluded: UByte = 2u const val ImuError: UByte = 3u + val names : Array = arrayOf("Other", "Disconnected", "Occluded", "ImuError") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt index 193574a2..741cdf2b 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/HzF32.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Frequency as 32 bit float diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt index 91ba9ce1..89cb17b2 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/Ipv4Address.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * The 4 bytes of an ip address are stored in 32 bits in big endian order. diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt index 1d84a865..7976bfc7 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/LogData.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * General purpose logging datatype @@ -34,11 +22,7 @@ class LogData : Table() { val message : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val messageAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun messageInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -58,7 +42,7 @@ class LogData : Table() { fun dataInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsLogData(_bb: ByteBuffer): LogData = getRootAsLogData(_bb, LogData()) @JvmStatic @@ -79,7 +63,6 @@ class LogData : Table() { fun addMessage(builder: FlatBufferBuilder, message: Int) = builder.addOffset(0, message, 0) @JvmStatic fun addData(builder: FlatBufferBuilder, data: Int) = builder.addOffset(1, data, 0) - @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createDataVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt index 64559291..b47f5b4b 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/MagnetometerStatus.kt @@ -5,8 +5,11 @@ package solarxr_protocol.datatypes @Suppress("unused") class MagnetometerStatus private constructor() { companion object { - const val NOT_SUPPORTED: UByte = 0u + const val NOTSUPPORTED: UByte = 0u const val DISABLED: UByte = 1u const val ENABLED: UByte = 2u + val names : Array = arrayOf("NOT_SUPPORTED", "DISABLED", "ENABLED") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt index 1327e7ff..fcedc8f3 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/RestCalibrationStatus.kt @@ -5,8 +5,11 @@ package solarxr_protocol.datatypes @Suppress("unused") class RestCalibrationStatus private constructor() { companion object { - const val NOT_SUPPORTED: UByte = 0u - const val NOT_CALIBRATED: UByte = 1u + const val NOTSUPPORTED: UByte = 0u + const val NOTCALIBRATED: UByte = 1u const val CALIBRATED: UByte = 2u + val names : Array = arrayOf("NOT_SUPPORTED", "NOT_CALIBRATED", "CALIBRATED") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt index 4382229e..a1606488 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/StringTable.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class StringTable : Table() { @@ -31,17 +19,13 @@ class StringTable : Table() { val s : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val sAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun sInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStringTable(_bb: ByteBuffer): StringTable = getRootAsStringTable(_bb, StringTable()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt index 246e9373..62a15ec7 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/Temperature.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Temperature in degrees celsius diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt index 1b98de22..406ef782 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerId.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class TrackerId : Table() { @@ -51,7 +39,7 @@ class TrackerId : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTrackerId(_bb: ByteBuffer): TrackerId = getRootAsTrackerId(_bb, TrackerId()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt index e5f10c54..3731e2bd 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt @@ -13,31 +13,34 @@ class TrackerRole private constructor() { companion object { const val NONE: UByte = 0u const val WAIST: UByte = 1u - const val LEFT_FOOT: UByte = 2u - const val RIGHT_FOOT: UByte = 3u + const val LEFTFOOT: UByte = 2u + const val RIGHTFOOT: UByte = 3u const val CHEST: UByte = 4u - const val LEFT_KNEE: UByte = 5u - const val RIGHT_KNEE: UByte = 6u - const val LEFT_ELBOW: UByte = 7u - const val RIGHT_ELBOW: UByte = 8u - const val LEFT_SHOULDER: UByte = 9u - const val RIGHT_SHOULDER: UByte = 10u - const val LEFT_HAND: UByte = 11u - const val RIGHT_HAND: UByte = 12u - const val LEFT_CONTROLLER: UByte = 13u - const val RIGHT_CONTROLLER: UByte = 14u + const val LEFTKNEE: UByte = 5u + const val RIGHTKNEE: UByte = 6u + const val LEFTELBOW: UByte = 7u + const val RIGHTELBOW: UByte = 8u + const val LEFTSHOULDER: UByte = 9u + const val RIGHTSHOULDER: UByte = 10u + const val LEFTHAND: UByte = 11u + const val RIGHTHAND: UByte = 12u + const val LEFTCONTROLLER: UByte = 13u + const val RIGHTCONTROLLER: UByte = 14u const val HEAD: UByte = 15u const val NECK: UByte = 16u const val CAMERA: UByte = 17u const val KEYBOARD: UByte = 18u const val HMD: UByte = 19u const val BEACON: UByte = 20u - const val GENERIC_CONTROLLER: UByte = 21u - const val LEFT_TOE_1: UByte = 22u - const val LEFT_TOE_2: UByte = 23u - const val LEFT_TOE_3: UByte = 24u - const val RIGHT_TOE_1: UByte = 25u - const val RIGHT_TOE_2: UByte = 26u - const val RIGHT_TOE_3: UByte = 27u + const val GENERICCONTROLLER: UByte = 21u + const val LEFTTOE1: UByte = 22u + const val LEFTTOE2: UByte = 23u + const val LEFTTOE3: UByte = 24u + const val RIGHTTOE1: UByte = 25u + const val RIGHTTOE2: UByte = 26u + const val RIGHTTOE3: UByte = 27u + val names : Array = arrayOf("NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt index 2dd8ecdc..dd5ed25a 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerStatus.kt @@ -11,6 +11,9 @@ class TrackerStatus private constructor() { const val BUSY: UByte = 3u const val ERROR: UByte = 4u const val OCCLUDED: UByte = 5u - const val TIMED_OUT: UByte = 6u + const val TIMEDOUT: UByte = 6u + val names : Array = arrayOf("NONE", "DISCONNECTED", "OK", "BUSY", "ERROR", "OCCLUDED", "TIMED_OUT") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt index bf84bef4..84b1ff7f 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TransactionId.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class TransactionId : Struct() { diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt index f3944cb4..841788c5 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/BoardType.kt @@ -6,29 +6,29 @@ package solarxr_protocol.datatypes.hardware_info class BoardType private constructor() { companion object { const val UNKNOWN: UShort = 0u - const val SLIMEVR_LEGACY: UShort = 1u - const val SLIMEVR_DEV: UShort = 2u + const val SLIMEVRLEGACY: UShort = 1u + const val SLIMEVRDEV: UShort = 2u const val NODEMCU: UShort = 3u const val CUSTOM: UShort = 4u const val WROOM32: UShort = 5u const val WEMOSD1MINI: UShort = 6u - const val TTGO_TBASE: UShort = 7u + const val TTGOTBASE: UShort = 7u const val ESP01: UShort = 8u const val SLIMEVR: UShort = 9u - const val LOLIN_C3_MINI: UShort = 10u + const val LOLINC3MINI: UShort = 10u const val BEETLE32C3: UShort = 11u const val ESP32C3DEVKITM1: UShort = 12u const val OWOTRACK: UShort = 13u const val WRANGLER: UShort = 14u const val MOCOPI: UShort = 15u const val WEMOSWROOM02: UShort = 16u - const val XIAO_ESP32C3: UShort = 17u + const val XIAOESP32C3: UShort = 17u const val HARITORA: UShort = 18u const val ESP32C6DEVKITC1: UShort = 19u - const val GLOVE_IMU_SLIMEVR_DEV: UShort = 20u + const val GLOVEIMUSLIMEVRDEV: UShort = 20u const val GESTURES: UShort = 21u - const val SLIMEVR_V1_2: UShort = 22u - const val ESP32S3_SUPERMINI: UShort = 23u - const val DEV_RESERVED: UShort = 250u + const val SLIMEVRV12: UShort = 22u + const val ESP32S3SUPERMINI: UShort = 23u + const val DEVRESERVED: UShort = 250u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt index 77bde0f8..a47552e6 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/FirmwareStatusMask.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes.hardware_info -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * A mask of the data in `FirmwareStatus` @@ -68,7 +56,7 @@ class FirmwareStatusMask : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsFirmwareStatusMask(_bb: ByteBuffer): FirmwareStatusMask = getRootAsFirmwareStatusMask(_bb, FirmwareStatusMask()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt index 5761e4db..fb4ed0c7 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareAddress.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes.hardware_info -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * A MAC address or a bluetooth address, or some other uniquely identifying address diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt index 8177d339..0183474e 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareInfo.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes.hardware_info -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Mostly static info about the device's hardware/firmware. @@ -42,11 +30,7 @@ class HardwareInfo : Table() { val displayName : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val displayNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun displayNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -56,11 +40,7 @@ class HardwareInfo : Table() { val model : String? get() { val o = __offset(8) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val modelAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun modelInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) @@ -70,11 +50,7 @@ class HardwareInfo : Table() { val manufacturer : String? get() { val o = __offset(10) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val manufacturerAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun manufacturerInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) @@ -84,11 +60,7 @@ class HardwareInfo : Table() { val hardwareRevision : String? get() { val o = __offset(12) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val hardwareRevisionAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(12, 1) fun hardwareRevisionInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 12, 1) @@ -98,11 +70,7 @@ class HardwareInfo : Table() { val firmwareVersion : String? get() { val o = __offset(14) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val firmwareVersionAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(14, 1) fun firmwareVersionInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 14, 1) @@ -130,11 +98,7 @@ class HardwareInfo : Table() { val boardType : String? get() { val o = __offset(20) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val boardTypeAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(20, 1) fun boardTypeInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 20, 1) @@ -153,11 +117,7 @@ class HardwareInfo : Table() { val hardwareIdentifier : String? get() { val o = __offset(24) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val hardwareIdentifierAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(24, 1) fun hardwareIdentifierInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 24, 1) @@ -171,7 +131,7 @@ class HardwareInfo : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsHardwareInfo(_bb: ByteBuffer): HardwareInfo = getRootAsHardwareInfo(_bb, HardwareInfo()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt index 19a6365d..52bc7843 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/HardwareStatus.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes.hardware_info -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Mostly-dynamic status info about a tracked device's firmware @@ -78,7 +66,7 @@ class HardwareStatus : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsHardwareStatus(_bb: ByteBuffer): HardwareStatus = getRootAsHardwareStatus(_bb, HardwareStatus()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt index 4bc321d7..1a0d26cd 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/ImuType.kt @@ -23,7 +23,7 @@ class ImuType private constructor() { const val LSM6DSR: UShort = 15u const val ICM45686: UShort = 16u const val ICM45605: UShort = 17u - const val ADC_RESISTANCE: UShort = 18u - const val DEV_RESERVED: UShort = 250u + const val ADCRESISTANCE: UShort = 18u + const val DEVRESERVED: UShort = 250u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt index 4b055cc0..75606606 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/McuType.kt @@ -8,12 +8,12 @@ class McuType private constructor() { const val Other: UShort = 0u const val ESP8266: UShort = 1u const val ESP32: UShort = 2u - const val OWOTRACK_ANDROID: UShort = 3u + const val OWOTRACKANDROID: UShort = 3u const val WRANGLER: UShort = 4u - const val OWOTRACK_IOS: UShort = 5u - const val ESP32_C3: UShort = 6u + const val OWOTRACKIOS: UShort = 5u + const val ESP32C3: UShort = 6u const val MOCOPI: UShort = 7u const val HARITORA: UShort = 8u - const val DEV_RESERVED: UShort = 250u + const val DEVRESERVED: UShort = 250u } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt index 02b4e4a9..cb50a348 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/hardware_info/TrackerDataType.kt @@ -15,10 +15,13 @@ class TrackerDataType private constructor() { /** * Flex resistance (e.g: raw data from flex sensors or unscaled angle on a single axis) */ - const val FLEX_RESISTANCE: UByte = 1u + const val FLEXRESISTANCE: UByte = 1u /** * Flex angle (e.g: computed angle from flex sensors or angle on a single axis) */ - const val FLEX_ANGLE: UByte = 2u + const val FLEXANGLE: UByte = 2u + val names : Array = arrayOf("ROTATION", "FLEX_RESISTANCE", "FLEX_ANGLE") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt index 3afd5c6d..f9dc0c1d 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Quat.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes.math -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class Quat : Struct() { diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt index ffa250c8..6974a1ca 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/math/Vec3f.kt @@ -2,21 +2,9 @@ package solarxr_protocol.datatypes.math -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class Vec3f : Struct() { diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt index 26e92f3a..7d82dc7a 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/KeyValues.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class KeyValues : Table() { @@ -54,7 +42,7 @@ class KeyValues : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsKeyValues(_bb: ByteBuffer): KeyValues = getRootAsKeyValues(_bb, KeyValues()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt index 08b2bce6..5a939e17 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/Message.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Data that is sent from publishers to subscribers @@ -49,7 +37,7 @@ class Message : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsMessage(_bb: ByteBuffer): Message = getRootAsMessage(_bb, Message()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt index e0c8e7fc..0b6fdfdd 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/Payload.kt @@ -6,8 +6,11 @@ package solarxr_protocol.pub_sub class Payload private constructor() { companion object { const val NONE: UByte = 0u - const val solarxr_protocol_datatypes_StringTable: UByte = 1u - const val solarxr_protocol_datatypes_Bytes: UByte = 2u + const val solarxrProtocolDatatypesStringTable: UByte = 1u + const val solarxrProtocolDatatypesBytes: UByte = 2u const val KeyValues: UByte = 3u + val names : Array = arrayOf("NONE", "solarxr_protocol_datatypes_StringTable", "solarxr_protocol_datatypes_Bytes", "KeyValues") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt index c82c39c8..fdec3b39 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubHeader.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class PubSubHeader : Table() { @@ -38,7 +26,7 @@ class PubSubHeader : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsPubSubHeader(_bb: ByteBuffer): PubSubHeader = getRootAsPubSubHeader(_bb, PubSubHeader()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt index 37255947..c028e24f 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/PubSubUnion.kt @@ -10,5 +10,8 @@ class PubSubUnion private constructor() { const val SubscriptionRequest: UByte = 2u const val TopicHandleRequest: UByte = 3u const val TopicMapping: UByte = 4u + val names : Array = arrayOf("NONE", "Message", "SubscriptionRequest", "TopicHandleRequest", "TopicMapping") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt index a7a5d42e..0abd13d7 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/SubscriptionRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Requests a subscription to `topic`. Replies with a `TopicMapping`. @@ -41,7 +29,7 @@ class SubscriptionRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSubscriptionRequest(_bb: ByteBuffer): SubscriptionRequest = getRootAsSubscriptionRequest(_bb, SubscriptionRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt index 7bd11346..78ef5083 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/Topic.kt @@ -8,5 +8,8 @@ class Topic private constructor() { const val NONE: UByte = 0u const val TopicHandle: UByte = 1u const val TopicId: UByte = 2u + val names : Array = arrayOf("NONE", "TopicHandle", "TopicId") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt index 16221ff4..405f3dec 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandle.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * A handle for the topic, allows referencing a topic without sending a huge @@ -39,7 +27,7 @@ class TopicHandle : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTopicHandle(_bb: ByteBuffer): TopicHandle = getRootAsTopicHandle(_bb, TopicHandle()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt index f72b1b60..7ff6198a 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicHandleRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Request to get the `FeatureHandle` from a `FeatureId`. This is useful for reducing @@ -43,7 +31,7 @@ class TopicHandleRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTopicHandleRequest(_bb: ByteBuffer): TopicHandleRequest = getRootAsTopicHandleRequest(_bb, TopicHandleRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt index 05a4892d..e3ed16e6 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicId.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * A `TopicId` identifies an application-specific category of data. Because it @@ -44,11 +32,7 @@ class TopicId : Table() { val organization : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val organizationAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun organizationInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -58,11 +42,7 @@ class TopicId : Table() { val appName : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val appNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun appNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -72,17 +52,13 @@ class TopicId : Table() { val topic : String? get() { val o = __offset(8) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val topicAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun topicInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTopicId(_bb: ByteBuffer): TopicId = getRootAsTopicId(_bb, TopicId()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt index ceacd399..20369942 100644 --- a/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt +++ b/protocol/kotlin/src/solarxr_protocol/pub_sub/TopicMapping.kt @@ -2,21 +2,9 @@ package solarxr_protocol.pub_sub -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Response for `TopicHandleRequest` or `SubscriptionRequest`. @@ -51,7 +39,7 @@ class TopicMapping : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTopicMapping(_bb: ByteBuffer): TopicMapping = getRootAsTopicMapping(_bb, TopicMapping()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt index dd346691..7445f69a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AddUnknownDeviceRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class AddUnknownDeviceRequest : Table() { @@ -31,17 +19,13 @@ class AddUnknownDeviceRequest : Table() { val macAddress : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val macAddressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun macAddressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAddUnknownDeviceRequest(_bb: ByteBuffer): AddUnknownDeviceRequest = getRootAsAddUnknownDeviceRequest(_bb, AddUnknownDeviceRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt index c1a848c8..2f64f8bf 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ArmsMountingResetMode.kt @@ -16,10 +16,13 @@ class ArmsMountingResetMode private constructor() { /** * Arms going up to the sides into a tpose */ - const val TPOSE_UP: UByte = 2u + const val TPOSEUP: UByte = 2u /** * Arms going down to the sides from a tpose */ - const val TPOSE_DOWN: UByte = 3u + const val TPOSEDOWN: UByte = 3u + val names : Array = arrayOf("BACK", "FORWARD", "TPOSE_UP", "TPOSE_DOWN") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt index bc3c203b..3febae0f 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AssignTrackerRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class AssignTrackerRequest : Table() { @@ -54,11 +42,7 @@ class AssignTrackerRequest : Table() { val displayName : String? get() { val o = __offset(10) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val displayNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun displayNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) @@ -69,7 +53,7 @@ class AssignTrackerRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAssignTrackerRequest(_bb: ByteBuffer): AssignTrackerRequest = getRootAsAssignTrackerRequest(_bb, AssignTrackerRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt index c9160164..6ab3ef3b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneApplyRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Applies the estimated proportions @@ -33,7 +21,7 @@ class AutoBoneApplyRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAutoBoneApplyRequest(_bb: ByteBuffer): AutoBoneApplyRequest = getRootAsAutoBoneApplyRequest(_bb, AutoBoneApplyRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt index fa35b7cd..ee57c8bf 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneCancelRecordingRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Cancels the current recording, aborting the process and discarding the data @@ -33,7 +21,7 @@ class AutoBoneCancelRecordingRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAutoBoneCancelRecordingRequest(_bb: ByteBuffer): AutoBoneCancelRecordingRequest = getRootAsAutoBoneCancelRecordingRequest(_bb, AutoBoneCancelRecordingRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt index f0da6677..aed1e414 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneEpochResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class AutoBoneEpochResponse : Table() { @@ -64,7 +52,7 @@ class AutoBoneEpochResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAutoBoneEpochResponse(_bb: ByteBuffer): AutoBoneEpochResponse = getRootAsAutoBoneEpochResponse(_bb, AutoBoneEpochResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt index 4e87da87..184caaa2 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class AutoBoneProcessRequest : Table() { @@ -35,7 +23,7 @@ class AutoBoneProcessRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAutoBoneProcessRequest(_bb: ByteBuffer): AutoBoneProcessRequest = getRootAsAutoBoneProcessRequest(_bb, AutoBoneProcessRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt index e493fef5..3b1cfe96 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessStatusResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class AutoBoneProcessStatusResponse : Table() { @@ -75,7 +63,7 @@ class AutoBoneProcessStatusResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAutoBoneProcessStatusResponse(_bb: ByteBuffer): AutoBoneProcessStatusResponse = getRootAsAutoBoneProcessStatusResponse(_bb, AutoBoneProcessStatusResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt index f198e376..91f2c614 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneProcessType.kt @@ -14,5 +14,8 @@ class AutoBoneProcessType private constructor() { * Use AutoBoneApplyRequest instead */ const val APPLY: UByte = 4u + val names : Array = arrayOf("NONE", "RECORD", "SAVE", "PROCESS", "APPLY") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt index 37071f82..2e84ff91 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * https://github.com/SlimeVR/SlimeVR-Server/blob/v0.8.3/server/src/main/java/dev/slimevr/config/AutoBoneConfig.kt @@ -143,7 +131,7 @@ class AutoBoneSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAutoBoneSettings(_bb: ByteBuffer): AutoBoneSettings = getRootAsAutoBoneSettings(_bb, AutoBoneSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt index 99cb8463..20c3fbe7 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/AutoBoneStopRecordingRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Stops the current recording, using it as far as it has been recorded @@ -33,7 +21,7 @@ class AutoBoneStopRecordingRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsAutoBoneStopRecordingRequest(_bb: ByteBuffer): AutoBoneStopRecordingRequest = getRootAsAutoBoneStopRecordingRequest(_bb, AutoBoneStopRecordingRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt index 89cc0b37..f2f00323 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeMagToggleRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * If no tracker ID is given, it's the setting for every tracker/device @@ -47,7 +35,7 @@ class ChangeMagToggleRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsChangeMagToggleRequest(_bb: ByteBuffer): ChangeMagToggleRequest = getRootAsChangeMagToggleRequest(_bb, ChangeMagToggleRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt index 4c6dd592..01b6c6e2 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSettingsRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ChangeSettingsRequest : Table() { @@ -129,7 +117,7 @@ class ChangeSettingsRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsChangeSettingsRequest(_bb: ByteBuffer): ChangeSettingsRequest = getRootAsChangeSettingsRequest(_bb, ChangeSettingsRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt index e7b3f7b1..c429bbf2 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ChangeSkeletonConfigRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ChangeSkeletonConfigRequest : Table() { @@ -40,7 +28,7 @@ class ChangeSkeletonConfigRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsChangeSkeletonConfigRequest(_bb: ByteBuffer): ChangeSkeletonConfigRequest = getRootAsChangeSkeletonConfigRequest(_bb, ChangeSkeletonConfigRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt index 36a6f589..c81fa0e4 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ClearDriftCompensationRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ClearDriftCompensationRequest : Table() { @@ -30,7 +18,7 @@ class ClearDriftCompensationRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsClearDriftCompensationRequest(_bb: ByteBuffer): ClearDriftCompensationRequest = getRootAsClearDriftCompensationRequest(_bb, ClearDriftCompensationRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt index ab07d47d..49b6d9e4 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ClearMountingResetRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Clears mounting reset data, defaulting to the manually set mounting orientations @@ -33,7 +21,7 @@ class ClearMountingResetRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsClearMountingResetRequest(_bb: ByteBuffer): ClearMountingResetRequest = getRootAsClearMountingResetRequest(_bb, ClearMountingResetRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt index 64086fb1..c1bd9a19 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/CloseSerialRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class CloseSerialRequest : Table() { @@ -30,7 +18,7 @@ class CloseSerialRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsCloseSerialRequest(_bb: ByteBuffer): CloseSerialRequest = getRootAsCloseSerialRequest(_bb, CloseSerialRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt index 0c8b9c13..91540aa3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ComputerDirectory.kt @@ -9,5 +9,8 @@ package solarxr_protocol.rpc class ComputerDirectory private constructor() { companion object { const val Documents: UByte = 0u + val names : Array = arrayOf("Documents") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt index 5943ea0c..4e97bc86 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/DetectStayAlignedRelaxedPoseRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class DetectStayAlignedRelaxedPoseRequest : Table() { @@ -35,7 +23,7 @@ class DetectStayAlignedRelaxedPoseRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDetectStayAlignedRelaxedPoseRequest(_bb: ByteBuffer): DetectStayAlignedRelaxedPoseRequest = getRootAsDetectStayAlignedRelaxedPoseRequest(_bb, DetectStayAlignedRelaxedPoseRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt index 9d2dd49d..5868ef06 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/DriftCompensationSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Settings related to IMU yaw drift compensation @@ -59,7 +47,7 @@ class DriftCompensationSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsDriftCompensationSettings(_bb: ByteBuffer): DriftCompensationSettings = getRootAsDriftCompensationSettings(_bb, DriftCompensationSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt index 5ba70c44..2edca81e 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/EnableStayAlignedRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class EnableStayAlignedRequest : Table() { @@ -35,7 +23,7 @@ class EnableStayAlignedRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsEnableStayAlignedRequest(_bb: ByteBuffer): EnableStayAlignedRequest = getRootAsEnableStayAlignedRequest(_bb, EnableStayAlignedRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt index ed27c2d0..c2bd3e37 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FilteringSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class FilteringSettings : Table() { @@ -43,7 +31,7 @@ class FilteringSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsFilteringSettings(_bb: ByteBuffer): FilteringSettings = getRootAsFilteringSettings(_bb, FilteringSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt index c60d13ed..4d29cfdf 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwarePart.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class FirmwarePart : Table() { @@ -34,11 +22,7 @@ class FirmwarePart : Table() { val url : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val urlAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun urlInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -63,7 +47,7 @@ class FirmwarePart : Table() { fun digestInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsFirmwarePart(_bb: ByteBuffer): FirmwarePart = getRootAsFirmwarePart(_bb, FirmwarePart()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt index d52a1cd5..51104e34 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateDeviceId.kt @@ -6,7 +6,10 @@ package solarxr_protocol.rpc class FirmwareUpdateDeviceId private constructor() { companion object { const val NONE: UByte = 0u - const val solarxr_protocol_datatypes_DeviceIdTable: UByte = 1u + const val solarxrProtocolDatatypesDeviceIdTable: UByte = 1u const val SerialDevicePort: UByte = 2u + val names : Array = arrayOf("NONE", "solarxr_protocol_datatypes_DeviceIdTable", "SerialDevicePort") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt index 6b25615c..aad7a163 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateMethod.kt @@ -8,5 +8,8 @@ class FirmwareUpdateMethod private constructor() { const val NONE: UByte = 0u const val OTAFirmwareUpdate: UByte = 1u const val SerialFirmwareUpdate: UByte = 2u + val names : Array = arrayOf("NONE", "OTAFirmwareUpdate", "SerialFirmwareUpdate") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt index 43f8c1ca..a09cb6ac 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class FirmwareUpdateRequest : Table() { @@ -38,7 +26,7 @@ class FirmwareUpdateRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsFirmwareUpdateRequest(_bb: ByteBuffer): FirmwareUpdateRequest = getRootAsFirmwareUpdateRequest(_bb, FirmwareUpdateRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt index e2712f11..9cb44291 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatus.kt @@ -13,7 +13,7 @@ class FirmwareUpdateStatus private constructor() { * The server is waiting for the tracker to be rebooted by the user * Note that is is not the same as REBOOTING */ - const val NEED_MANUAL_REBOOT: UByte = 1u + const val NEEDMANUALREBOOT: UByte = 1u /** * The server tries to authenticate with the MCU */ @@ -26,7 +26,7 @@ class FirmwareUpdateStatus private constructor() { * The serial flasher tries to sync with the MCU * You can use this event to prompt the user to press the boot btn */ - const val SYNCING_WITH_MCU: UByte = 4u + const val SYNCINGWITHMCU: UByte = 4u /** * The MCU is rebooting */ @@ -39,31 +39,34 @@ class FirmwareUpdateStatus private constructor() { /** * Could not find the device */ - const val ERROR_DEVICE_NOT_FOUND: UByte = 8u + const val ERRORDEVICENOTFOUND: UByte = 8u /** * The operation timed out, > 1min */ - const val ERROR_TIMEOUT: UByte = 9u + const val ERRORTIMEOUT: UByte = 9u /** * The firmware download failed */ - const val ERROR_DOWNLOAD_FAILED: UByte = 10u + const val ERRORDOWNLOADFAILED: UByte = 10u /** * The server could not authenticate with the MCU */ - const val ERROR_AUTHENTICATION_FAILED: UByte = 11u + const val ERRORAUTHENTICATIONFAILED: UByte = 11u /** * Could not upload the firmware to the MCU */ - const val ERROR_UPLOAD_FAILED: UByte = 12u + const val ERRORUPLOADFAILED: UByte = 12u /** * The provision of the tracker failed, usually wifi credentials */ - const val ERROR_PROVISIONING_FAILED: UByte = 13u + const val ERRORPROVISIONINGFAILED: UByte = 13u /** * An unsupported Flashing method was used */ - const val ERROR_UNSUPPORTED_METHOD: UByte = 14u - const val ERROR_UNKNOWN: UByte = 15u + const val ERRORUNSUPPORTEDMETHOD: UByte = 14u + const val ERRORUNKNOWN: UByte = 15u + val names : Array = arrayOf("DOWNLOADING", "NEED_MANUAL_REBOOT", "AUTHENTICATING", "UPLOADING", "SYNCING_WITH_MCU", "REBOOTING", "PROVISIONING", "DONE", "ERROR_DEVICE_NOT_FOUND", "ERROR_TIMEOUT", "ERROR_DOWNLOAD_FAILED", "ERROR_AUTHENTICATION_FAILED", "ERROR_UPLOAD_FAILED", "ERROR_PROVISIONING_FAILED", "ERROR_UNSUPPORTED_METHOD", "ERROR_UNKNOWN") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt index 46360ab1..6fa7e52b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStatusResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class FirmwareUpdateStatusResponse : Table() { @@ -51,7 +39,7 @@ class FirmwareUpdateStatusResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsFirmwareUpdateStatusResponse(_bb: ByteBuffer): FirmwareUpdateStatusResponse = getRootAsFirmwareUpdateStatusResponse(_bb, FirmwareUpdateStatusResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt index 751a726c..2e9d8049 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/FirmwareUpdateStopQueuesRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class FirmwareUpdateStopQueuesRequest : Table() { @@ -30,7 +18,7 @@ class FirmwareUpdateStopQueuesRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsFirmwareUpdateStopQueuesRequest(_bb: ByteBuffer): FirmwareUpdateStopQueuesRequest = getRootAsFirmwareUpdateStopQueuesRequest(_bb, FirmwareUpdateStopQueuesRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt index 63947a2f..5060d710 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ForgetDeviceRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ForgetDeviceRequest : Table() { @@ -31,17 +19,13 @@ class ForgetDeviceRequest : Table() { val macAddress : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val macAddressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun macAddressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsForgetDeviceRequest(_bb: ByteBuffer): ForgetDeviceRequest = getRootAsForgetDeviceRequest(_bb, ForgetDeviceRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt index 395a981c..09b71013 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class HeartbeatRequest : Table() { @@ -30,7 +18,7 @@ class HeartbeatRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsHeartbeatRequest(_bb: ByteBuffer): HeartbeatRequest = getRootAsHeartbeatRequest(_bb, HeartbeatRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt index 7951f89b..8ddc4c2d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeartbeatResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class HeartbeatResponse : Table() { @@ -30,7 +18,7 @@ class HeartbeatResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsHeartbeatResponse(_bb: ByteBuffer): HeartbeatResponse = getRootAsHeartbeatResponse(_bb, HeartbeatResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt index dd74fcb7..f7305eab 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeightRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class HeightRequest : Table() { @@ -30,7 +18,7 @@ class HeightRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsHeightRequest(_bb: ByteBuffer): HeightRequest = getRootAsHeightRequest(_bb, HeightRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt index 04cd45a5..e5a63e29 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/HeightResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Returns the current min and max positional tracker heights @@ -43,7 +31,7 @@ class HeightResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsHeightResponse(_bb: ByteBuffer): HeightResponse = getRootAsHeightResponse(_bb, HeightResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt index 558d5507..39319711 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpChange.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Makes a temporary change to legtweaks. This is not saved to disk, and can be @@ -54,7 +42,7 @@ class LegTweaksTmpChange : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsLegTweaksTmpChange(_bb: ByteBuffer): LegTweaksTmpChange = getRootAsLegTweaksTmpChange(_bb, LegTweaksTmpChange()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt index 1b1590df..c40b2850 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/LegTweaksTmpClear.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Clears the legtweaks temporary state back to what the config has. @@ -54,7 +42,7 @@ class LegTweaksTmpClear : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsLegTweaksTmpClear(_bb: ByteBuffer): LegTweaksTmpClear = getRootAsLegTweaksTmpClear(_bb, LegTweaksTmpClear()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt index a9945e4a..9161c480 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * If no tracker ID is given, it's the setting for every tracker/device @@ -42,7 +30,7 @@ class MagToggleRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsMagToggleRequest(_bb: ByteBuffer): MagToggleRequest = getRootAsMagToggleRequest(_bb, MagToggleRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt index 4160716a..0cd996a6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/MagToggleResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * If no tracker ID is given, it's the setting for every tracker/device @@ -47,7 +35,7 @@ class MagToggleResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsMagToggleResponse(_bb: ByteBuffer): MagToggleResponse = getRootAsMagToggleResponse(_bb, MagToggleResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt index 1ed4218a..5df5f36a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/NewSerialDeviceResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class NewSerialDeviceResponse : Table() { @@ -39,7 +27,7 @@ class NewSerialDeviceResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsNewSerialDeviceResponse(_bb: ByteBuffer): NewSerialDeviceResponse = getRootAsNewSerialDeviceResponse(_bb, NewSerialDeviceResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt index 829c9980..230e4612 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OSCRouterSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * OSC router forwards messages it receives, to allow the usage of multiple OSC programs for the same app. @@ -42,7 +30,7 @@ class OSCRouterSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOSCRouterSettings(_bb: ByteBuffer): OSCRouterSettings = getRootAsOSCRouterSettings(_bb, OSCRouterSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt index 01bea985..e942d084 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OSCSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * OSC Settings that are used in *any* osc application. @@ -49,17 +37,13 @@ class OSCSettings : Table() { val address : String? get() { val o = __offset(10) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val addressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun addressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOSCSettings(_bb: ByteBuffer): OSCSettings = getRootAsOSCSettings(_bb, OSCSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt index b4783487..f179aca3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class OSCTrackersSetting : Table() { @@ -65,7 +53,7 @@ class OSCTrackersSetting : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOSCTrackersSetting(_bb: ByteBuffer): OSCTrackersSetting = getRootAsOSCTrackersSetting(_bb, OSCTrackersSetting()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt index 38ca6740..998659ad 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OTAFirmwareUpdate.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class OTAFirmwareUpdate : Table() { @@ -54,7 +42,7 @@ class OTAFirmwareUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOTAFirmwareUpdate(_bb: ByteBuffer): OTAFirmwareUpdate = getRootAsOTAFirmwareUpdate(_bb, OTAFirmwareUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt index d8db0ee8..fb41dd50 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OpenSerialRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class OpenSerialRequest : Table() { @@ -39,17 +27,13 @@ class OpenSerialRequest : Table() { val port : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOpenSerialRequest(_bb: ByteBuffer): OpenSerialRequest = getRootAsOpenSerialRequest(_bb, OpenSerialRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt index a8039116..f2cb40df 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeChangeRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Changes the state of the overlay's display mode. @@ -43,7 +31,7 @@ class OverlayDisplayModeChangeRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOverlayDisplayModeChangeRequest(_bb: ByteBuffer): OverlayDisplayModeChangeRequest = getRootAsOverlayDisplayModeChangeRequest(_bb, OverlayDisplayModeChangeRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt index 27cd736d..0d5b619a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Requests the current state of `OverlayDisplayModeResponse`. @@ -33,7 +21,7 @@ class OverlayDisplayModeRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOverlayDisplayModeRequest(_bb: ByteBuffer): OverlayDisplayModeRequest = getRootAsOverlayDisplayModeRequest(_bb, OverlayDisplayModeRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt index bbd99315..8730be56 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OverlayDisplayModeResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * The current state of the overlay's display mode. @@ -43,7 +31,7 @@ class OverlayDisplayModeResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsOverlayDisplayModeResponse(_bb: ByteBuffer): OverlayDisplayModeResponse = getRootAsOverlayDisplayModeResponse(_bb, OverlayDisplayModeResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt index 3bf6b339..d536697d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class RecordBVHRequest : Table() { @@ -40,17 +28,13 @@ class RecordBVHRequest : Table() { val path : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val pathAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun pathInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsRecordBVHRequest(_bb: ByteBuffer): RecordBVHRequest = getRootAsRecordBVHRequest(_bb, RecordBVHRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt index c9209861..ba5499e3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatus.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class RecordBVHStatus : Table() { @@ -35,7 +23,7 @@ class RecordBVHStatus : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsRecordBVHStatus(_bb: ByteBuffer): RecordBVHStatus = getRootAsRecordBVHStatus(_bb, RecordBVHStatus()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt index 361fd24c..3139e29a 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RecordBVHStatusRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class RecordBVHStatusRequest : Table() { @@ -30,7 +18,7 @@ class RecordBVHStatusRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsRecordBVHStatusRequest(_bb: ByteBuffer): RecordBVHStatusRequest = getRootAsRecordBVHStatusRequest(_bb, RecordBVHStatusRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt index 3b14567c..9a3d78f1 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ResetRequest : Table() { @@ -52,7 +40,7 @@ class ResetRequest : Table() { fun bodyPartsInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsResetRequest(_bb: ByteBuffer): ResetRequest = getRootAsResetRequest(_bb, ResetRequest()) @JvmStatic @@ -73,7 +61,6 @@ class ResetRequest : Table() { fun addResetType(builder: FlatBufferBuilder, resetType: UByte) = builder.addByte(0, resetType.toByte(), 0) @JvmStatic fun addBodyParts(builder: FlatBufferBuilder, bodyParts: Int) = builder.addOffset(1, bodyParts, 0) - @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createBodyPartsVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt index 746c673a..d96a2b0c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ResetResponse : Table() { @@ -72,7 +60,7 @@ class ResetResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsResetResponse(_bb: ByteBuffer): ResetResponse = getRootAsResetResponse(_bb, ResetResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt index 920c37c9..a15b278b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStatus.kt @@ -7,5 +7,8 @@ class ResetStatus private constructor() { companion object { const val STARTED: UByte = 0u const val FINISHED: UByte = 1u + val names : Array = arrayOf("STARTED", "FINISHED") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt index 473bb5be..4f404e3b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetStayAlignedRelaxedPoseRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ResetStayAlignedRelaxedPoseRequest : Table() { @@ -35,7 +23,7 @@ class ResetStayAlignedRelaxedPoseRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsResetStayAlignedRelaxedPoseRequest(_bb: ByteBuffer): ResetStayAlignedRelaxedPoseRequest = getRootAsResetStayAlignedRelaxedPoseRequest(_bb, ResetStayAlignedRelaxedPoseRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt index 45fa81f0..00cc7ac9 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetType.kt @@ -11,5 +11,8 @@ class ResetType private constructor() { * Second pose for calibrating mounting rotation */ const val Mounting: UByte = 2u + val names : Array = arrayOf("Yaw", "Full", "Mounting") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt index 738206c3..1ff79fa1 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ResetsSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class ResetsSettings : Table() { @@ -55,7 +43,7 @@ class ResetsSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsResetsSettings(_bb: ByteBuffer): ResetsSettings = getRootAsResetsSettings(_bb, ResetsSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt b/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt index b65f9bb6..9756bbe4 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/RpcMessageHeader.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class RpcMessageHeader : Table() { @@ -51,7 +39,7 @@ class RpcMessageHeader : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsRpcMessageHeader(_bb: ByteBuffer): RpcMessageHeader = getRootAsRpcMessageHeader(_bb, RpcMessageHeader()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt index cbdd3b1d..da35d2a7 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SaveFileNotification.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Used for the server to save a file and have it prompt in the user side @@ -54,11 +42,7 @@ class SaveFileNotification : Table() { val mimeType : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val mimeTypeAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun mimeTypeInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -68,11 +52,7 @@ class SaveFileNotification : Table() { val fileExtension : String? get() { val o = __offset(8) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val fileExtensionAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun fileExtensionInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) @@ -90,17 +70,13 @@ class SaveFileNotification : Table() { val expectedFilename : String? get() { val o = __offset(12) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val expectedFilenameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(12, 1) fun expectedFilenameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 12, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSaveFileNotification(_bb: ByteBuffer): SaveFileNotification = getRootAsSaveFileNotification(_bb, SaveFileNotification()) @JvmStatic @@ -122,7 +98,6 @@ class SaveFileNotification : Table() { fun startSaveFileNotification(builder: FlatBufferBuilder) = builder.startTable(5) @JvmStatic fun addData(builder: FlatBufferBuilder, data: Int) = builder.addOffset(0, data, 0) - @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createDataVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt index aa9b0041..429d5678 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevice.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SerialDevice : Table() { @@ -31,28 +19,20 @@ class SerialDevice : Table() { val port : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) val name : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val nameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun nameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialDevice(_bb: ByteBuffer): SerialDevice = getRootAsSerialDevice(_bb, SerialDevice()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt index 1e228ef2..4abc9325 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SerialDevicePort : Table() { @@ -31,17 +19,13 @@ class SerialDevicePort : Table() { val port : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialDevicePort(_bb: ByteBuffer): SerialDevicePort = getRootAsSerialDevicePort(_bb, SerialDevicePort()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt index 269a1802..591883e7 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SerialDevicesRequest : Table() { @@ -30,7 +18,7 @@ class SerialDevicesRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialDevicesRequest(_bb: ByteBuffer): SerialDevicesRequest = getRootAsSerialDevicesRequest(_bb, SerialDevicesRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt index a9063738..acef65b9 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicesResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SerialDevicesResponse : Table() { @@ -43,7 +31,7 @@ class SerialDevicesResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialDevicesResponse(_bb: ByteBuffer): SerialDevicesResponse = getRootAsSerialDevicesResponse(_bb, SerialDevicesResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt index 321f2cb6..d373c2fd 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialFirmwareUpdate.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SerialFirmwareUpdate : Table() { @@ -56,22 +44,14 @@ class SerialFirmwareUpdate : Table() { val ssid : String? get() { val o = __offset(8) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val ssidAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun ssidInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) val password : String? get() { val o = __offset(10) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val passwordAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(10, 1) fun passwordInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 10, 1) @@ -93,7 +73,7 @@ class SerialFirmwareUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialFirmwareUpdate(_bb: ByteBuffer): SerialFirmwareUpdate = getRootAsSerialFirmwareUpdate(_bb, SerialFirmwareUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt index 50146c09..21426958 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerCustomCommandRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Sends a custom cmd to the currently connected Tracker over the Serial Monitor @@ -34,17 +22,13 @@ class SerialTrackerCustomCommandRequest : Table() { val command : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val commandAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun commandInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialTrackerCustomCommandRequest(_bb: ByteBuffer): SerialTrackerCustomCommandRequest = getRootAsSerialTrackerCustomCommandRequest(_bb, SerialTrackerCustomCommandRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt index d6c03db0..0c8d9057 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerFactoryResetRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Sends the FRST cmd to the currently connected Tracker over the Serial Monitor @@ -33,7 +21,7 @@ class SerialTrackerFactoryResetRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialTrackerFactoryResetRequest(_bb: ByteBuffer): SerialTrackerFactoryResetRequest = getRootAsSerialTrackerFactoryResetRequest(_bb, SerialTrackerFactoryResetRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt index f65db033..b83f9bbe 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetInfoRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Sends the GET INFO cmd to the current tracker on the serial monitor @@ -33,7 +21,7 @@ class SerialTrackerGetInfoRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialTrackerGetInfoRequest(_bb: ByteBuffer): SerialTrackerGetInfoRequest = getRootAsSerialTrackerGetInfoRequest(_bb, SerialTrackerGetInfoRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt index 075a56e4..b776857c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerGetWifiScanRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Sends the GET WIFISCAN cmd to the current tracker on the serial monitor @@ -33,7 +21,7 @@ class SerialTrackerGetWifiScanRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialTrackerGetWifiScanRequest(_bb: ByteBuffer): SerialTrackerGetWifiScanRequest = getRootAsSerialTrackerGetWifiScanRequest(_bb, SerialTrackerGetWifiScanRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt index ab20e811..e57da4ce 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialTrackerRebootRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Reboots the tracker connected to the serial monitor @@ -33,7 +21,7 @@ class SerialTrackerRebootRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialTrackerRebootRequest(_bb: ByteBuffer): SerialTrackerRebootRequest = getRootAsSerialTrackerRebootRequest(_bb, SerialTrackerRebootRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt index cb6cd003..c49830e6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SerialUpdateResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SerialUpdateResponse : Table() { @@ -31,11 +19,7 @@ class SerialUpdateResponse : Table() { val log : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val logAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun logInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) @@ -46,7 +30,7 @@ class SerialUpdateResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSerialUpdateResponse(_bb: ByteBuffer): SerialUpdateResponse = getRootAsSerialUpdateResponse(_bb, SerialUpdateResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt index deb0f837..085c63a6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Allows to ask generic infos about the server, @@ -36,7 +24,7 @@ class ServerInfosRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsServerInfosRequest(_bb: ByteBuffer): ServerInfosRequest = getRootAsServerInfosRequest(_bb, ServerInfosRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt index 98bc5a51..f60dbf10 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/ServerInfosResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Holds the Server information, this is a basic table holding various information about the currently running server @@ -37,17 +25,13 @@ class ServerInfosResponse : Table() { val localIp : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val localIpAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun localIpInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsServerInfosResponse(_bb: ByteBuffer): ServerInfosResponse = getRootAsServerInfosResponse(_bb, ServerInfosResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt index 4206545e..20d07f46 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SetPauseTrackingRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SetPauseTrackingRequest : Table() { @@ -38,7 +26,7 @@ class SetPauseTrackingRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSetPauseTrackingRequest(_bb: ByteBuffer): SetPauseTrackingRequest = getRootAsSetPauseTrackingRequest(_bb, SetPauseTrackingRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt index 2b075330..3c5757ff 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SetWifiRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SetWifiRequest : Table() { @@ -31,28 +19,20 @@ class SetWifiRequest : Table() { val ssid : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val ssidAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun ssidInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) val password : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val passwordAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun passwordInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSetWifiRequest(_bb: ByteBuffer): SetWifiRequest = getRootAsSetWifiRequest(_bb, SetWifiRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt index a5e3b9db..796f9c47 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SettingsRequest : Table() { @@ -30,7 +18,7 @@ class SettingsRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSettingsRequest(_bb: ByteBuffer): SettingsRequest = getRootAsSettingsRequest(_bb, SettingsRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt index 9cd5d727..4267c4c3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResetRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SettingsResetRequest : Table() { @@ -30,7 +18,7 @@ class SettingsResetRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSettingsResetRequest(_bb: ByteBuffer): SettingsResetRequest = getRootAsSettingsResetRequest(_bb, SettingsResetRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt index 46ae40e4..b20c86e0 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SettingsResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SettingsResponse : Table() { @@ -129,7 +117,7 @@ class SettingsResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSettingsResponse(_bb: ByteBuffer): SettingsResponse = getRootAsSettingsResponse(_bb, SettingsResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt index def6a6f5..37471a2d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt @@ -9,29 +9,32 @@ class SkeletonBone private constructor() { const val HEAD: UByte = 1u const val NECK: UByte = 2u const val CHEST: UByte = 3u - const val CHEST_OFFSET: UByte = 4u + const val CHESTOFFSET: UByte = 4u const val WAIST: UByte = 5u const val HIP: UByte = 6u - const val HIP_OFFSET: UByte = 7u - const val HIPS_WIDTH: UByte = 8u - const val UPPER_LEG: UByte = 9u - const val LOWER_LEG: UByte = 10u - const val FOOT_LENGTH: UByte = 11u - const val FOOT_SHIFT: UByte = 12u - const val SKELETON_OFFSET: UByte = 13u - const val SHOULDERS_DISTANCE: UByte = 14u - const val SHOULDERS_WIDTH: UByte = 15u - const val UPPER_ARM: UByte = 16u - const val LOWER_ARM: UByte = 17u - const val HAND_Y: UByte = 18u - const val HAND_Z: UByte = 19u - const val ELBOW_OFFSET: UByte = 20u - const val UPPER_CHEST: UByte = 21u - const val LEFT_TOE_1: UByte = 22u - const val LEFT_TOE_2: UByte = 23u - const val LEFT_TOE_3: UByte = 24u - const val RIGHT_TOE_1: UByte = 25u - const val RIGHT_TOE_2: UByte = 26u - const val RIGHT_TOE_3: UByte = 27u + const val HIPOFFSET: UByte = 7u + const val HIPSWIDTH: UByte = 8u + const val UPPERLEG: UByte = 9u + const val LOWERLEG: UByte = 10u + const val FOOTLENGTH: UByte = 11u + const val FOOTSHIFT: UByte = 12u + const val SKELETONOFFSET: UByte = 13u + const val SHOULDERSDISTANCE: UByte = 14u + const val SHOULDERSWIDTH: UByte = 15u + const val UPPERARM: UByte = 16u + const val LOWERARM: UByte = 17u + const val HANDY: UByte = 18u + const val HANDZ: UByte = 19u + const val ELBOWOFFSET: UByte = 20u + const val UPPERCHEST: UByte = 21u + const val LEFTTOE1: UByte = 22u + const val LEFTTOE2: UByte = 23u + const val LEFTTOE3: UByte = 24u + const val RIGHTTOE1: UByte = 25u + const val RIGHTTOE2: UByte = 26u + const val RIGHTTOE3: UByte = 27u + val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt index b4eee691..11f96293 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SkeletonConfigRequest : Table() { @@ -30,7 +18,7 @@ class SkeletonConfigRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSkeletonConfigRequest(_bb: ByteBuffer): SkeletonConfigRequest = getRootAsSkeletonConfigRequest(_bb, SkeletonConfigRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt index c2ffa893..d7938090 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonConfigResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SkeletonConfigResponse : Table() { @@ -48,7 +36,7 @@ class SkeletonConfigResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSkeletonConfigResponse(_bb: ByteBuffer): SkeletonConfigResponse = getRootAsSkeletonConfigResponse(_bb, SkeletonConfigResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt index 32c415a2..5d3f5c47 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonPart.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SkeletonPart : Table() { @@ -40,7 +28,7 @@ class SkeletonPart : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSkeletonPart(_bb: ByteBuffer): SkeletonPart = getRootAsSkeletonPart(_bb, SkeletonPart()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt index dd107a7a..d3324ac7 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonResetAllRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SkeletonResetAllRequest : Table() { @@ -30,7 +18,7 @@ class SkeletonResetAllRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSkeletonResetAllRequest(_bb: ByteBuffer): SkeletonResetAllRequest = getRootAsSkeletonResetAllRequest(_bb, SkeletonResetAllRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt index ed96ad12..8e63d705 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StartWifiProvisioningRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class StartWifiProvisioningRequest : Table() { @@ -31,39 +19,27 @@ class StartWifiProvisioningRequest : Table() { val ssid : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val ssidAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun ssidInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) val password : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val passwordAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun passwordInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) val port : String? get() { val o = __offset(8) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val portAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(8, 1) fun portInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 8, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStartWifiProvisioningRequest(_bb: ByteBuffer): StartWifiProvisioningRequest = getRootAsStartWifiProvisioningRequest(_bb, StartWifiProvisioningRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt index c3a3bc15..d2fecbae 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusData.kt @@ -11,5 +11,8 @@ class StatusData private constructor() { const val StatusSteamVRDisconnected: UByte = 3u const val StatusUnassignedHMD: UByte = 4u const val StatusPublicNetwork: UByte = 5u + val names : Array = arrayOf("NONE", "StatusTrackerReset", "StatusTrackerError", "StatusSteamVRDisconnected", "StatusUnassignedHMD", "StatusPublicNetwork") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt index de4c9d03..66b7858b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusMessage.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * An status is some kind of warning sent by the server, it's mainly made for @@ -58,7 +46,7 @@ class StatusMessage : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusMessage(_bb: ByteBuffer): StatusMessage = getRootAsStatusMessage(_bb, StatusMessage()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt index e8081632..1f47c0c8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusPublicNetwork.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * When the server detects a public network profile @@ -48,7 +36,7 @@ class StatusPublicNetwork : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusPublicNetwork(_bb: ByteBuffer): StatusPublicNetwork = getRootAsStatusPublicNetwork(_bb, StatusPublicNetwork()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt index d061762c..9bd3b565 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSteamVRDisconnected.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * SteamVR bridge is disconnected @@ -37,17 +25,13 @@ class StatusSteamVRDisconnected : Table() { val bridgeSettingsName : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val bridgeSettingsNameAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun bridgeSettingsNameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusSteamVRDisconnected(_bb: ByteBuffer): StatusSteamVRDisconnected = getRootAsStatusSteamVRDisconnected(_bb, StatusSteamVRDisconnected()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt index fe1369e7..91656b15 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemFixed.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * When an status is fixed and it's removed, it's ID is sent @@ -38,7 +26,7 @@ class StatusSystemFixed : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusSystemFixed(_bb: ByteBuffer): StatusSystemFixed = getRootAsStatusSystemFixed(_bb, StatusSystemFixed()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt index 69f9f66b..391449ca 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Request current statuses that we have @@ -33,7 +21,7 @@ class StatusSystemRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusSystemRequest(_bb: ByteBuffer): StatusSystemRequest = getRootAsStatusSystemRequest(_bb, StatusSystemRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt index b23af6c8..ee7d9b04 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Response containing all current valid statuses @@ -46,7 +34,7 @@ class StatusSystemResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusSystemResponse(_bb: ByteBuffer): StatusSystemResponse = getRootAsStatusSystemResponse(_bb, StatusSystemResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt index 93032ec8..57e38593 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusSystemUpdate.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * When a new status appears, it's sent alone @@ -42,7 +30,7 @@ class StatusSystemUpdate : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusSystemUpdate(_bb: ByteBuffer): StatusSystemUpdate = getRootAsStatusSystemUpdate(_bb, StatusSystemUpdate()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt index 7f6b78d1..cf044044 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerError.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Trackers with error state @@ -46,7 +34,7 @@ class StatusTrackerError : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusTrackerError(_bb: ByteBuffer): StatusTrackerError = getRootAsStatusTrackerError(_bb, StatusTrackerError()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt index 6f0a1856..c912d612 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusTrackerReset.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Tracker requires full reset @@ -46,7 +34,7 @@ class StatusTrackerReset : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusTrackerReset(_bb: ByteBuffer): StatusTrackerReset = getRootAsStatusTrackerReset(_bb, StatusTrackerReset()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt index e12c6bab..88bfcba9 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StatusUnassignedHMD.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * There is an available HMD tracker and it's not assigned to head @@ -42,7 +30,7 @@ class StatusUnassignedHMD : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStatusUnassignedHMD(_bb: ByteBuffer): StatusUnassignedHMD = getRootAsStatusUnassignedHMD(_bb, StatusUnassignedHMD()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt index 6f153ab4..31dd3508 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedRelaxedPose.kt @@ -8,5 +8,8 @@ class StayAlignedRelaxedPose private constructor() { const val STANDING: UByte = 0u const val SITTING: UByte = 1u const val FLAT: UByte = 2u + val names : Array = arrayOf("STANDING", "SITTING", "FLAT") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt index 1b8e87b3..fd789e2b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StayAlignedSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class StayAlignedSettings : Table() { @@ -110,7 +98,7 @@ class StayAlignedSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStayAlignedSettings(_bb: ByteBuffer): StayAlignedSettings = getRootAsStayAlignedSettings(_bb, StayAlignedSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt index b5282e3d..5befe9f2 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SteamVRTrackersSetting : Table() { @@ -85,7 +73,7 @@ class SteamVRTrackersSetting : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSteamVRTrackersSetting(_bb: ByteBuffer): SteamVRTrackersSetting = getRootAsSteamVRTrackersSetting(_bb, SteamVRTrackersSetting()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt index 909adf80..287fb99c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/StopWifiProvisioningRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class StopWifiProvisioningRequest : Table() { @@ -30,7 +18,7 @@ class StopWifiProvisioningRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsStopWifiProvisioningRequest(_bb: ByteBuffer): StopWifiProvisioningRequest = getRootAsStopWifiProvisioningRequest(_bb, StopWifiProvisioningRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt index d9737ba2..e3bf7000 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class TapDetectionSettings : Table() { @@ -89,7 +77,7 @@ class TapDetectionSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTapDetectionSettings(_bb: ByteBuffer): TapDetectionSettings = getRootAsTapDetectionSettings(_bb, TapDetectionSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt index b5096010..0d73e6f8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TapDetectionSetupNotification.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * See TapDetectionSettings::setup_mode @@ -42,7 +30,7 @@ class TapDetectionSetupNotification : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTapDetectionSetupNotification(_bb: ByteBuffer): TapDetectionSetupNotification = getRootAsTapDetectionSetupNotification(_bb, TapDetectionSetupNotification()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt index 473bb871..f2aa5eb0 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Requests the current state of tracking pause @@ -33,7 +21,7 @@ class TrackingPauseStateRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTrackingPauseStateRequest(_bb: ByteBuffer): TrackingPauseStateRequest = getRootAsTrackingPauseStateRequest(_bb, TrackingPauseStateRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt index dddb09a1..256c1a3d 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/TrackingPauseStateResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class TrackingPauseStateResponse : Table() { @@ -38,7 +26,7 @@ class TrackingPauseStateResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsTrackingPauseStateResponse(_bb: ByteBuffer): TrackingPauseStateResponse = getRootAsTrackingPauseStateResponse(_bb, TrackingPauseStateResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt b/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt index b918abee..d4fae87f 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/UnknownDeviceHandshakeNotification.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Server notifies connection of an unknown device. @@ -36,17 +24,13 @@ class UnknownDeviceHandshakeNotification : Table() { val macAddress : String? get() { val o = __offset(4) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val macAddressAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(4, 1) fun macAddressInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsUnknownDeviceHandshakeNotification(_bb: ByteBuffer): UnknownDeviceHandshakeNotification = getRootAsUnknownDeviceHandshakeNotification(_bb, UnknownDeviceHandshakeNotification()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt index fbc797ab..22d043b5 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VMCOSCSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * OSC Settings specific to VMC @@ -43,11 +31,7 @@ class VMCOSCSettings : Table() { val vrmJson : String? get() { val o = __offset(6) - return if (o != 0) { - __string(o + bb_pos) - } else { - null - } + return if (o != 0) __string(o + bb_pos) else null } val vrmJsonAsByteBuffer : ByteBuffer get() = __vector_as_bytebuffer(6, 1) fun vrmJsonInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) @@ -63,7 +47,7 @@ class VMCOSCSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsVMCOSCSettings(_bb: ByteBuffer): VMCOSCSettings = getRootAsVMCOSCSettings(_bb, VMCOSCSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt index 687c12f6..68ed8fc8 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCAvatarMeasurementType.kt @@ -7,6 +7,9 @@ class VRCAvatarMeasurementType private constructor() { companion object { const val UNKNOWN: UByte = 0u const val HEIGHT: UByte = 1u - const val ARM_SPAN: UByte = 2u + const val ARMSPAN: UByte = 2u + val names : Array = arrayOf("UNKNOWN", "HEIGHT", "ARM_SPAN") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt index cbc322d3..e8374915 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigRecommendedValues.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class VRCConfigRecommendedValues : Table() { @@ -84,7 +72,7 @@ class VRCConfigRecommendedValues : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsVRCConfigRecommendedValues(_bb: ByteBuffer): VRCConfigRecommendedValues = getRootAsVRCConfigRecommendedValues(_bb, VRCConfigRecommendedValues()) @JvmStatic @@ -122,7 +110,6 @@ class VRCConfigRecommendedValues : Table() { fun addTrackerModel(builder: FlatBufferBuilder, trackerModel: UByte) = builder.addByte(5, trackerModel.toByte(), 0) @JvmStatic fun addSpineMode(builder: FlatBufferBuilder, spineMode: Int) = builder.addOffset(6, spineMode, 0) - @kotlin.ExperimentalUnsignedTypes @JvmStatic fun createSpineModeVector(builder: FlatBufferBuilder, data: UByteArray) : Int { builder.startVector(1, data.size, 1) diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt index d687b66a..63eb3393 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateChangeResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Sent every time the vrchat config state gets updated @@ -78,7 +66,7 @@ class VRCConfigStateChangeResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsVRCConfigStateChangeResponse(_bb: ByteBuffer): VRCConfigStateChangeResponse = getRootAsVRCConfigStateChangeResponse(_bb, VRCConfigStateChangeResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt index eb8f02b8..5911502c 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigStateRequest.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class VRCConfigStateRequest : Table() { @@ -30,7 +18,7 @@ class VRCConfigStateRequest : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsVRCConfigStateRequest(_bb: ByteBuffer): VRCConfigStateRequest = getRootAsVRCConfigStateRequest(_bb, VRCConfigStateRequest()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt index 7c1696cf..bc9add47 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValidity.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class VRCConfigValidity : Table() { @@ -75,7 +63,7 @@ class VRCConfigValidity : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsVRCConfigValidity(_bb: ByteBuffer): VRCConfigValidity = getRootAsVRCConfigValidity(_bb, VRCConfigValidity()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt index ceae9cfb..910a95d6 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCConfigValues.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class VRCConfigValues : Table() { @@ -75,7 +63,7 @@ class VRCConfigValues : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsVRCConfigValues(_bb: ByteBuffer): VRCConfigValues = getRootAsVRCConfigValues(_bb, VRCConfigValues()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt index 45b833c3..27ee96fb 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCOSCSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * OSC Settings specific to VRChat @@ -56,7 +44,7 @@ class VRCOSCSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsVRCOSCSettings(_bb: ByteBuffer): VRCOSCSettings = getRootAsVRCOSCSettings(_bb, VRCOSCSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt index f18e91e6..2d93be4e 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCSpineMode.kt @@ -6,8 +6,11 @@ package solarxr_protocol.rpc class VRCSpineMode private constructor() { companion object { const val UNKNOWN: UByte = 0u - const val LOCK_HIP: UByte = 1u - const val LOCK_HEAD: UByte = 2u - const val LOCK_BOTH: UByte = 3u + const val LOCKHIP: UByte = 1u + const val LOCKHEAD: UByte = 2u + const val LOCKBOTH: UByte = 3u + val names : Array = arrayOf("UNKNOWN", "LOCK_HIP", "LOCK_HEAD", "LOCK_BOTH") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt b/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt index 8d133dfa..ed6183ee 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/VRCTrackerModel.kt @@ -10,5 +10,8 @@ class VRCTrackerModel private constructor() { const val SYSTEM: UByte = 2u const val BOX: UByte = 3u const val AXIS: UByte = 4u + val names : Array = arrayOf("UNKNOWN", "SPHERE", "SYSTEM", "BOX", "AXIS") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt index de61c68a..3189756e 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatus.kt @@ -6,15 +6,18 @@ package solarxr_protocol.rpc class WifiProvisioningStatus private constructor() { companion object { const val NONE: UByte = 0u - const val SERIAL_INIT: UByte = 1u + const val SERIALINIT: UByte = 1u const val PROVISIONING: UByte = 2u const val CONNECTING: UByte = 3u - const val CONNECTION_ERROR: UByte = 4u - const val LOOKING_FOR_SERVER: UByte = 5u - const val COULD_NOT_FIND_SERVER: UByte = 6u + const val CONNECTIONERROR: UByte = 4u + const val LOOKINGFORSERVER: UByte = 5u + const val COULDNOTFINDSERVER: UByte = 6u const val DONE: UByte = 7u - const val OBTAINING_MAC_ADDRESS: UByte = 8u - const val NO_SERIAL_LOGS_ERROR: UByte = 9u - const val NO_SERIAL_DEVICE_FOUND: UByte = 10u + const val OBTAININGMACADDRESS: UByte = 8u + const val NOSERIALLOGSERROR: UByte = 9u + const val NOSERIALDEVICEFOUND: UByte = 10u + val names : Array = arrayOf("NONE", "SERIAL_INIT", "PROVISIONING", "CONNECTING", "CONNECTION_ERROR", "LOOKING_FOR_SERVER", "COULD_NOT_FIND_SERVER", "DONE", "OBTAINING_MAC_ADDRESS", "NO_SERIAL_LOGS_ERROR", "NO_SERIAL_DEVICE_FOUND") + @JvmStatic + fun name(e: Int) : String = names[e] } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt index 97472e95..b8d62428 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/WifiProvisioningStatusResponse.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class WifiProvisioningStatusResponse : Table() { @@ -35,7 +23,7 @@ class WifiProvisioningStatusResponse : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsWifiProvisioningStatusResponse(_bb: ByteBuffer): WifiProvisioningStatusResponse = getRootAsWifiProvisioningStatusResponse(_bb, WifiProvisioningStatusResponse()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt index 4c6d36f8..dc6758ce 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/LegTweaksSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc.settings -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class LegTweaksSettings : Table() { @@ -35,7 +23,7 @@ class LegTweaksSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsLegTweaksSettings(_bb: ByteBuffer): LegTweaksSettings = getRootAsLegTweaksSettings(_bb, LegTweaksSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt index f907c908..452c0be5 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelRatios.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc.settings -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Settings for the skeletal model that are ratios. @@ -78,7 +66,7 @@ class ModelRatios : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsModelRatios(_bb: ByteBuffer): ModelRatios = getRootAsModelRatios(_bb, ModelRatios()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt index 4de6d9ca..618c437b 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelSettings.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc.settings -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Settings for the skeletal model. @@ -69,7 +57,7 @@ class ModelSettings : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsModelSettings(_bb: ByteBuffer): ModelSettings = getRootAsModelSettings(_bb, ModelSettings()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt index cca8d30e..e5508fa3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/ModelToggles.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc.settings -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* /** * Settings for the skeletal model that are toggles. @@ -93,7 +81,7 @@ class ModelToggles : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsModelToggles(_bb: ByteBuffer): ModelToggles = getRootAsModelToggles(_bb, ModelToggles()) @JvmStatic diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt b/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt index 2630893a..51d7d790 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/settings/SkeletonHeight.kt @@ -2,21 +2,9 @@ package solarxr_protocol.rpc.settings -import com.google.flatbuffers.BaseVector -import com.google.flatbuffers.BooleanVector -import com.google.flatbuffers.ByteVector -import com.google.flatbuffers.Constants -import com.google.flatbuffers.DoubleVector -import com.google.flatbuffers.FlatBufferBuilder -import com.google.flatbuffers.FloatVector -import com.google.flatbuffers.LongVector -import com.google.flatbuffers.StringVector -import com.google.flatbuffers.Struct -import com.google.flatbuffers.Table -import com.google.flatbuffers.UnionVector -import java.nio.ByteBuffer -import java.nio.ByteOrder +import java.nio.* import kotlin.math.sign +import com.google.flatbuffers.* @Suppress("unused") class SkeletonHeight : Table() { @@ -40,7 +28,7 @@ class SkeletonHeight : Table() { } companion object { @JvmStatic - fun validateVersion() = Constants.FLATBUFFERS_25_9_23() + fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @JvmStatic fun getRootAsSkeletonHeight(_bb: ByteBuffer): SkeletonHeight = getRootAsSkeletonHeight(_bb, SkeletonHeight()) @JvmStatic diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs index 40298f23..3f33e766 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/bone_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for Bone<'a> { type Inner = Bone<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -35,8 +35,8 @@ impl<'a> Bone<'a> { Bone { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args BoneArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = BoneBuilder::new(_fbb); @@ -119,11 +119,11 @@ impl<'a> Default for BoneArgs<'a> { } } -pub struct BoneBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct BoneBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> BoneBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> BoneBuilder<'a, 'b> { #[inline] pub fn add_body_part(&mut self, body_part: super::datatypes::BodyPart) { self.fbb_.push_slot::(Bone::VT_BODY_PART, body_part, super::datatypes::BodyPart::NONE); @@ -141,7 +141,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> BoneBuilder<'a, 'b, A> { self.fbb_.push_slot_always::<&super::datatypes::math::Vec3f>(Bone::VT_HEAD_POSITION_G, head_position_g); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> BoneBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> BoneBuilder<'a, 'b> { let start = _fbb.start_table(); BoneBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs index 5bbe00a0..d77d7a12 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_config_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedConfig<'a> { type Inner = DataFeedConfig<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -39,8 +39,8 @@ impl<'a> DataFeedConfig<'a> { DataFeedConfig { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DataFeedConfigArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DataFeedConfigBuilder::new(_fbb); @@ -139,11 +139,11 @@ impl<'a> Default for DataFeedConfigArgs<'a> { } } -pub struct DataFeedConfigBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DataFeedConfigBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DataFeedConfigBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DataFeedConfigBuilder<'a, 'b> { #[inline] pub fn add_minimum_time_since_last(&mut self, minimum_time_since_last: u16) { self.fbb_.push_slot::(DataFeedConfig::VT_MINIMUM_TIME_SINCE_LAST, minimum_time_since_last, 0); diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs index b122ec5e..d54aadcf 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedMessage { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for DataFeedMessage { type Output = DataFeedMessage; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs index d00a7fb4..d9dfb67e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_message_header_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedMessageHeader<'a> { type Inner = DataFeedMessageHeader<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> DataFeedMessageHeader<'a> { DataFeedMessageHeader { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DataFeedMessageHeaderArgs ) -> flatbuffers::WIPOffset> { let mut builder = DataFeedMessageHeaderBuilder::new(_fbb); @@ -154,11 +154,11 @@ impl<'a> Default for DataFeedMessageHeaderArgs { } } -pub struct DataFeedMessageHeaderBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DataFeedMessageHeaderBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DataFeedMessageHeaderBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DataFeedMessageHeaderBuilder<'a, 'b> { #[inline] pub fn add_message_type(&mut self, message_type: DataFeedMessage) { self.fbb_.push_slot::(DataFeedMessageHeader::VT_MESSAGE_TYPE, message_type, DataFeedMessage::NONE); @@ -168,7 +168,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DataFeedMessageHeaderBuilder<'a self.fbb_.push_slot_always::>(DataFeedMessageHeader::VT_MESSAGE, message); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DataFeedMessageHeaderBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DataFeedMessageHeaderBuilder<'a, 'b> { let start = _fbb.start_table(); DataFeedMessageHeaderBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs index db0d8633..63062213 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/data_feed_update_generated.rs @@ -27,7 +27,7 @@ impl<'a> flatbuffers::Follow<'a> for DataFeedUpdate<'a> { type Inner = DataFeedUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -44,8 +44,8 @@ impl<'a> DataFeedUpdate<'a> { DataFeedUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DataFeedUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DataFeedUpdateBuilder::new(_fbb); @@ -143,11 +143,11 @@ impl<'a> Default for DataFeedUpdateArgs<'a> { } } -pub struct DataFeedUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DataFeedUpdateBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DataFeedUpdateBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DataFeedUpdateBuilder<'a, 'b> { #[inline] pub fn add_devices(&mut self, devices: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(DataFeedUpdate::VT_DEVICES, devices); diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs index df8d3a4c..af9a830a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_generated.rs @@ -23,7 +23,7 @@ impl<'a> flatbuffers::Follow<'a> for DeviceData<'a> { type Inner = DeviceData<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -39,8 +39,8 @@ impl<'a> DeviceData<'a> { DeviceData { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DeviceDataArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DeviceDataBuilder::new(_fbb); @@ -131,11 +131,11 @@ impl<'a> Default for DeviceDataArgs<'a> { } } -pub struct DeviceDataBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DeviceDataBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceDataBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DeviceDataBuilder<'a, 'b> { #[inline] pub fn add_id(&mut self, id: &super::super::datatypes::DeviceId) { self.fbb_.push_slot_always::<&super::super::datatypes::DeviceId>(DeviceData::VT_ID, id); @@ -157,7 +157,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceDataBuilder<'a, 'b, A> { self.fbb_.push_slot_always::>(DeviceData::VT_TRACKERS, trackers); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DeviceDataBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DeviceDataBuilder<'a, 'b> { let start = _fbb.start_table(); DeviceDataBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs index 1d137538..392426af 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/device_data/device_data_mask_generated.rs @@ -26,7 +26,7 @@ impl<'a> flatbuffers::Follow<'a> for DeviceDataMask<'a> { type Inner = DeviceDataMask<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -39,8 +39,8 @@ impl<'a> DeviceDataMask<'a> { DeviceDataMask { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DeviceDataMaskArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DeviceDataMaskBuilder::new(_fbb); @@ -95,11 +95,11 @@ impl<'a> Default for DeviceDataMaskArgs<'a> { } } -pub struct DeviceDataMaskBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DeviceDataMaskBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceDataMaskBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DeviceDataMaskBuilder<'a, 'b> { #[inline] pub fn add_tracker_data(&mut self, tracker_data: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(DeviceDataMask::VT_TRACKER_DATA, tracker_data); @@ -109,7 +109,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceDataMaskBuilder<'a, 'b, A self.fbb_.push_slot::(DeviceDataMask::VT_DEVICE_DATA, device_data, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DeviceDataMaskBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DeviceDataMaskBuilder<'a, 'b> { let start = _fbb.start_table(); DeviceDataMaskBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs index 81ffc645..aaa1713c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/poll_data_feed_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for PollDataFeed<'a> { type Inner = PollDataFeed<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> PollDataFeed<'a> { PollDataFeed { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args PollDataFeedArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = PollDataFeedBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for PollDataFeedArgs<'a> { } } -pub struct PollDataFeedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct PollDataFeedBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> PollDataFeedBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> PollDataFeedBuilder<'a, 'b> { #[inline] pub fn add_config(&mut self, config: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(PollDataFeed::VT_CONFIG, config); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> PollDataFeedBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> PollDataFeedBuilder<'a, 'b> { let start = _fbb.start_table(); PollDataFeedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs index 536e84ed..4e8357f9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/start_data_feed_generated.rs @@ -28,7 +28,7 @@ impl<'a> flatbuffers::Follow<'a> for StartDataFeed<'a> { type Inner = StartDataFeed<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -40,8 +40,8 @@ impl<'a> StartDataFeed<'a> { StartDataFeed { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StartDataFeedArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StartDataFeedBuilder::new(_fbb); @@ -83,17 +83,17 @@ impl<'a> Default for StartDataFeedArgs<'a> { } } -pub struct StartDataFeedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StartDataFeedBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StartDataFeedBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StartDataFeedBuilder<'a, 'b> { #[inline] pub fn add_data_feeds(&mut self, data_feeds: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StartDataFeed::VT_DATA_FEEDS, data_feeds); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StartDataFeedBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StartDataFeedBuilder<'a, 'b> { let start = _fbb.start_table(); StartDataFeedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs index 6ac55421..639e73bc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_pose_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedPose<'a> { type Inner = StayAlignedPose<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> StayAlignedPose<'a> { StayAlignedPose { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StayAlignedPoseArgs ) -> flatbuffers::WIPOffset> { let mut builder = StayAlignedPoseBuilder::new(_fbb); @@ -99,11 +99,11 @@ impl<'a> Default for StayAlignedPoseArgs { } } -pub struct StayAlignedPoseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StayAlignedPoseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedPoseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StayAlignedPoseBuilder<'a, 'b> { #[inline] pub fn add_upper_leg_angle_in_deg(&mut self, upper_leg_angle_in_deg: f32) { self.fbb_.push_slot::(StayAlignedPose::VT_UPPER_LEG_ANGLE_IN_DEG, upper_leg_angle_in_deg, 0.0); @@ -117,7 +117,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedPoseBuilder<'a, 'b, self.fbb_.push_slot::(StayAlignedPose::VT_FOOT_ANGLE_IN_DEG, foot_angle_in_deg, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StayAlignedPoseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StayAlignedPoseBuilder<'a, 'b> { let start = _fbb.start_table(); StayAlignedPoseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs index 95fe8e76..ce70c51c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/stay_aligned/stay_aligned_tracker_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedTracker<'a> { type Inner = StayAlignedTracker<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> StayAlignedTracker<'a> { StayAlignedTracker { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StayAlignedTrackerArgs ) -> flatbuffers::WIPOffset> { let mut builder = StayAlignedTrackerBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for StayAlignedTrackerArgs { } } -pub struct StayAlignedTrackerBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StayAlignedTrackerBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedTrackerBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StayAlignedTrackerBuilder<'a, 'b> { #[inline] pub fn add_yaw_correction_in_deg(&mut self, yaw_correction_in_deg: f32) { self.fbb_.push_slot::(StayAlignedTracker::VT_YAW_CORRECTION_IN_DEG, yaw_correction_in_deg, 0.0); @@ -149,7 +149,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedTrackerBuilder<'a, ' self.fbb_.push_slot::(StayAlignedTracker::VT_LOCKED, locked, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StayAlignedTrackerBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StayAlignedTrackerBuilder<'a, 'b> { let start = _fbb.start_table(); StayAlignedTrackerBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs index 238b143f..8e8d355c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_generated.rs @@ -25,7 +25,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerData<'a> { type Inner = TrackerData<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -50,8 +50,8 @@ impl<'a> TrackerData<'a> { TrackerData { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TrackerDataArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TrackerDataBuilder::new(_fbb); @@ -257,11 +257,11 @@ impl<'a> Default for TrackerDataArgs<'a> { } } -pub struct TrackerDataBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TrackerDataBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerDataBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TrackerDataBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TrackerData::VT_TRACKER_ID, tracker_id); @@ -319,7 +319,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerDataBuilder<'a, 'b, A> { self.fbb_.push_slot_always::>(TrackerData::VT_STAY_ALIGNED, stay_aligned); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerDataBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerDataBuilder<'a, 'b> { let start = _fbb.start_table(); TrackerDataBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs index e21887ba..21729ee6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_data_mask_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerDataMask<'a> { type Inner = TrackerDataMask<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -45,8 +45,8 @@ impl<'a> TrackerDataMask<'a> { TrackerDataMask { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TrackerDataMaskArgs ) -> flatbuffers::WIPOffset> { let mut builder = TrackerDataMaskBuilder::new(_fbb); @@ -220,11 +220,11 @@ impl<'a> Default for TrackerDataMaskArgs { } } -pub struct TrackerDataMaskBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TrackerDataMaskBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerDataMaskBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TrackerDataMaskBuilder<'a, 'b> { #[inline] pub fn add_info(&mut self, info: bool) { self.fbb_.push_slot::(TrackerDataMask::VT_INFO, info, false); @@ -278,7 +278,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerDataMaskBuilder<'a, 'b, self.fbb_.push_slot::(TrackerDataMask::VT_STAY_ALIGNED, stay_aligned, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerDataMaskBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerDataMaskBuilder<'a, 'b> { let start = _fbb.start_table(); TrackerDataMaskBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs index 9fa0ff21..a96f44ae 100644 --- a/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/data_feed/tracker/tracker_info_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerInfo<'a> { type Inner = TrackerInfo<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -47,8 +47,8 @@ impl<'a> TrackerInfo<'a> { TrackerInfo { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TrackerInfoArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TrackerInfoBuilder::new(_fbb); @@ -258,11 +258,11 @@ impl<'a> Default for TrackerInfoArgs<'a> { } } -pub struct TrackerInfoBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TrackerInfoBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerInfoBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TrackerInfoBuilder<'a, 'b> { #[inline] pub fn add_imu_type(&mut self, imu_type: super::super::datatypes::hardware_info::ImuType) { self.fbb_.push_slot::(TrackerInfo::VT_IMU_TYPE, imu_type, super::super::datatypes::hardware_info::ImuType::Other); @@ -324,7 +324,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerInfoBuilder<'a, 'b, A> { self.fbb_.push_slot::(TrackerInfo::VT_REST_CALIBRATION_STATUS, rest_calibration_status, super::super::datatypes::RestCalibrationStatus::NOT_SUPPORTED); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerInfoBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerInfoBuilder<'a, 'b> { let start = _fbb.start_table(); TrackerInfoBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs index a8e79429..d8dcd6fc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs @@ -286,7 +286,7 @@ impl<'a> flatbuffers::Follow<'a> for BodyPart { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -295,7 +295,7 @@ impl flatbuffers::Push for BodyPart { type Output = BodyPart; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs index 74d62b64..e0ddb063 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/bytes_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for Bytes<'a> { type Inner = Bytes<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> Bytes<'a> { Bytes { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args BytesArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = BytesBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for BytesArgs<'a> { } } -pub struct BytesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct BytesBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> BytesBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> BytesBuilder<'a, 'b> { #[inline] pub fn add_b(&mut self, b: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(Bytes::VT_B, b); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> BytesBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> BytesBuilder<'a, 'b> { let start = _fbb.start_table(); BytesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs index 09a9f431..6333a53e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_generated.rs @@ -33,27 +33,23 @@ impl<'a> flatbuffers::Follow<'a> for DeviceId { type Inner = &'a DeviceId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a DeviceId>::follow(buf, loc) } + <&'a DeviceId>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a DeviceId { type Inner = &'a DeviceId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for DeviceId { type Output = DeviceId; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const DeviceId as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const DeviceId as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(1) - } } impl<'a> flatbuffers::Verifiable for DeviceId { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs index 2b3cb606..0cae1ae4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/device_id_table_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for DeviceIdTable<'a> { type Inner = DeviceIdTable<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> DeviceIdTable<'a> { DeviceIdTable { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DeviceIdTableArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = DeviceIdTableBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for DeviceIdTableArgs<'a> { } } -pub struct DeviceIdTableBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DeviceIdTableBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DeviceIdTableBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DeviceIdTableBuilder<'a, 'b> { #[inline] pub fn add_id(&mut self, id: &DeviceId) { self.fbb_.push_slot_always::<&DeviceId>(DeviceIdTable::VT_ID, id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DeviceIdTableBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DeviceIdTableBuilder<'a, 'b> { let start = _fbb.start_table(); DeviceIdTableBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs index 293ab743..cebb78b0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/filtering_type_generated.rs @@ -61,7 +61,7 @@ impl<'a> flatbuffers::Follow<'a> for FilteringType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -70,7 +70,7 @@ impl flatbuffers::Push for FilteringType { type Output = FilteringType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs index db17f677..6b55c965 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/firmware_error_code_generated.rs @@ -65,7 +65,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareErrorCode { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -74,7 +74,7 @@ impl flatbuffers::Push for FirmwareErrorCode { type Output = FirmwareErrorCode; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs index 3a2f5021..acf86d10 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/board_type_generated.rs @@ -148,7 +148,7 @@ impl<'a> flatbuffers::Follow<'a> for BoardType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -157,7 +157,7 @@ impl flatbuffers::Push for BoardType { type Output = BoardType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs index cf1f567d..f60e3cf0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/firmware_status_mask_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareStatusMask<'a> { type Inner = FirmwareStatusMask<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -39,8 +39,8 @@ impl<'a> FirmwareStatusMask<'a> { FirmwareStatusMask { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args FirmwareStatusMaskArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareStatusMaskBuilder::new(_fbb); @@ -148,11 +148,11 @@ impl<'a> Default for FirmwareStatusMaskArgs { } } -pub struct FirmwareStatusMaskBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct FirmwareStatusMaskBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareStatusMaskBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> FirmwareStatusMaskBuilder<'a, 'b> { #[inline] pub fn add_error_status(&mut self, error_status: bool) { self.fbb_.push_slot::(FirmwareStatusMask::VT_ERROR_STATUS, error_status, false); @@ -182,7 +182,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareStatusMaskBuilder<'a, ' self.fbb_.push_slot::(FirmwareStatusMask::VT_BATTERY_PCT_ESTIMATE, battery_pct_estimate, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareStatusMaskBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareStatusMaskBuilder<'a, 'b> { let start = _fbb.start_table(); FirmwareStatusMaskBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs index b5a2c485..94033091 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_address_generated.rs @@ -34,27 +34,23 @@ impl<'a> flatbuffers::Follow<'a> for HardwareAddress { type Inner = &'a HardwareAddress; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a HardwareAddress>::follow(buf, loc) } + <&'a HardwareAddress>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a HardwareAddress { type Inner = &'a HardwareAddress; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for HardwareAddress { type Output = HardwareAddress; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const HardwareAddress as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const HardwareAddress as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(8) - } } impl<'a> flatbuffers::Verifiable for HardwareAddress { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs index 3216c529..3602e793 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_info_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for HardwareInfo<'a> { type Inner = HardwareInfo<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -44,8 +44,8 @@ impl<'a> HardwareInfo<'a> { HardwareInfo { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args HardwareInfoArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = HardwareInfoBuilder::new(_fbb); @@ -218,11 +218,11 @@ impl<'a> Default for HardwareInfoArgs<'a> { } } -pub struct HardwareInfoBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct HardwareInfoBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HardwareInfoBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> HardwareInfoBuilder<'a, 'b> { #[inline] pub fn add_mcu_id(&mut self, mcu_id: McuType) { self.fbb_.push_slot::(HardwareInfo::VT_MCU_ID, mcu_id, McuType::Other); @@ -272,7 +272,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HardwareInfoBuilder<'a, 'b, A> self.fbb_.push_slot_always::(HardwareInfo::VT_NETWORK_PROTOCOL_VERSION, network_protocol_version); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HardwareInfoBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HardwareInfoBuilder<'a, 'b> { let start = _fbb.start_table(); HardwareInfoBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs index 8ee3919e..5012668d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/hardware_status_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for HardwareStatus<'a> { type Inner = HardwareStatus<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -39,8 +39,8 @@ impl<'a> HardwareStatus<'a> { HardwareStatus { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args HardwareStatusArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = HardwareStatusBuilder::new(_fbb); @@ -150,11 +150,11 @@ impl<'a> Default for HardwareStatusArgs<'a> { } } -pub struct HardwareStatusBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct HardwareStatusBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HardwareStatusBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> HardwareStatusBuilder<'a, 'b> { #[inline] pub fn add_error_status(&mut self, error_status: super::FirmwareErrorCode) { self.fbb_.push_slot_always::(HardwareStatus::VT_ERROR_STATUS, error_status); @@ -184,7 +184,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HardwareStatusBuilder<'a, 'b, A self.fbb_.push_slot_always::>(HardwareStatus::VT_LOG_DATA, log_data); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HardwareStatusBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HardwareStatusBuilder<'a, 'b> { let start = _fbb.start_table(); HardwareStatusBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs index 2baedf07..b48d0a4a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/imu_type_generated.rs @@ -128,7 +128,7 @@ impl<'a> flatbuffers::Follow<'a> for ImuType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -137,7 +137,7 @@ impl flatbuffers::Push for ImuType { type Output = ImuType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs index e00c3316..4a6d4ae3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/mcu_type_generated.rs @@ -88,7 +88,7 @@ impl<'a> flatbuffers::Follow<'a> for McuType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -97,7 +97,7 @@ impl flatbuffers::Push for McuType { type Output = McuType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs index 00b60e9a..87bb0fd0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hardware_info/tracker_data_type_generated.rs @@ -64,7 +64,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerDataType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -73,7 +73,7 @@ impl flatbuffers::Push for TrackerDataType { type Output = TrackerDataType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs index cd8c7dcf..fd9ce8dd 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/hz_f32_generated.rs @@ -32,27 +32,23 @@ impl<'a> flatbuffers::Follow<'a> for HzF32 { type Inner = &'a HzF32; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a HzF32>::follow(buf, loc) } + <&'a HzF32>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a HzF32 { type Inner = &'a HzF32; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for HzF32 { type Output = HzF32; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const HzF32 as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const HzF32 as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(4) - } } impl<'a> flatbuffers::Verifiable for HzF32 { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs index a7af43d9..8bbb3755 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/ipv_4_address_generated.rs @@ -33,27 +33,23 @@ impl<'a> flatbuffers::Follow<'a> for Ipv4Address { type Inner = &'a Ipv4Address; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a Ipv4Address>::follow(buf, loc) } + <&'a Ipv4Address>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a Ipv4Address { type Inner = &'a Ipv4Address; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for Ipv4Address { type Output = Ipv4Address; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const Ipv4Address as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const Ipv4Address as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(4) - } } impl<'a> flatbuffers::Verifiable for Ipv4Address { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs index 07a2e93b..c0ef94cf 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/log_data_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for LogData<'a> { type Inner = LogData<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> LogData<'a> { LogData { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args LogDataArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = LogDataBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for LogDataArgs<'a> { } } -pub struct LogDataBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct LogDataBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LogDataBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> LogDataBuilder<'a, 'b> { #[inline] pub fn add_message(&mut self, message: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(LogData::VT_MESSAGE, message); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LogDataBuilder<'a, 'b, A> { self.fbb_.push_slot_always::>(LogData::VT_DATA, data); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LogDataBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LogDataBuilder<'a, 'b> { let start = _fbb.start_table(); LogDataBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs index 23058be4..f2a08f15 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/magnetometer_status_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for MagnetometerStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for MagnetometerStatus { type Output = MagnetometerStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs index 8635f7e9..af935e99 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/quat_generated.rs @@ -34,27 +34,23 @@ impl<'a> flatbuffers::Follow<'a> for Quat { type Inner = &'a Quat; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a Quat>::follow(buf, loc) } + <&'a Quat>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a Quat { type Inner = &'a Quat; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for Quat { type Output = Quat; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const Quat as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const Quat as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(4) - } } impl<'a> flatbuffers::Verifiable for Quat { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs index 108508d4..f8aaab72 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/math/vec_3f_generated.rs @@ -33,27 +33,23 @@ impl<'a> flatbuffers::Follow<'a> for Vec3f { type Inner = &'a Vec3f; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a Vec3f>::follow(buf, loc) } + <&'a Vec3f>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a Vec3f { type Inner = &'a Vec3f; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for Vec3f { type Output = Vec3f; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const Vec3f as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const Vec3f as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(4) - } } impl<'a> flatbuffers::Verifiable for Vec3f { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs index 3feb16df..717b88e3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/rest_calibration_status_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for RestCalibrationStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for RestCalibrationStatus { type Output = RestCalibrationStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs index 02aa7eb0..6c0d76e8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/string_table_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StringTable<'a> { type Inner = StringTable<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> StringTable<'a> { StringTable { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StringTableArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StringTableBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for StringTableArgs<'a> { } } -pub struct StringTableBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StringTableBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StringTableBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StringTableBuilder<'a, 'b> { #[inline] pub fn add_s(&mut self, s: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(StringTable::VT_S, s); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StringTableBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StringTableBuilder<'a, 'b> { let start = _fbb.start_table(); StringTableBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs index 3ecdcecf..ad22688e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/temperature_generated.rs @@ -32,27 +32,23 @@ impl<'a> flatbuffers::Follow<'a> for Temperature { type Inner = &'a Temperature; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a Temperature>::follow(buf, loc) } + <&'a Temperature>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a Temperature { type Inner = &'a Temperature; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for Temperature { type Output = Temperature; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const Temperature as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const Temperature as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(4) - } } impl<'a> flatbuffers::Verifiable for Temperature { diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs index ee816320..79d8f080 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_id_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerId<'a> { type Inner = TrackerId<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> TrackerId<'a> { TrackerId { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TrackerIdArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TrackerIdBuilder::new(_fbb); @@ -90,11 +90,11 @@ impl<'a> Default for TrackerIdArgs<'a> { } } -pub struct TrackerIdBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TrackerIdBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerIdBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TrackerIdBuilder<'a, 'b> { #[inline] pub fn add_device_id(&mut self, device_id: &DeviceId) { self.fbb_.push_slot_always::<&DeviceId>(TrackerId::VT_DEVICE_ID, device_id); @@ -104,7 +104,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackerIdBuilder<'a, 'b, A> { self.fbb_.push_slot::(TrackerId::VT_TRACKER_NUM, tracker_num, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackerIdBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackerIdBuilder<'a, 'b> { let start = _fbb.start_table(); TrackerIdBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs index bca1a9f6..bc21a9b9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs @@ -164,7 +164,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerRole { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -173,7 +173,7 @@ impl flatbuffers::Push for TrackerRole { type Output = TrackerRole; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs index ca5426de..5ca956de 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_status_generated.rs @@ -76,7 +76,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackerStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -85,7 +85,7 @@ impl flatbuffers::Push for TrackerStatus { type Output = TrackerStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs index 14ca026f..0db9dd7e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/transaction_id_generated.rs @@ -31,27 +31,23 @@ impl<'a> flatbuffers::Follow<'a> for TransactionId { type Inner = &'a TransactionId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { <&'a TransactionId>::follow(buf, loc) } + <&'a TransactionId>::follow(buf, loc) } } impl<'a> flatbuffers::Follow<'a> for &'a TransactionId { type Inner = &'a TransactionId; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - unsafe { flatbuffers::follow_cast_ref::(buf, loc) } + flatbuffers::follow_cast_ref::(buf, loc) } } impl<'b> flatbuffers::Push for TransactionId { type Output = TransactionId; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - let src = unsafe { ::core::slice::from_raw_parts(self as *const TransactionId as *const u8, ::size()) }; + let src = ::core::slice::from_raw_parts(self as *const TransactionId as *const u8, Self::size()); dst.copy_from_slice(src); } - #[inline] - fn alignment() -> flatbuffers::PushAlignment { - flatbuffers::PushAlignment::new(4) - } } impl<'a> flatbuffers::Verifiable for TransactionId { diff --git a/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs b/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs index e430e1c6..81d45889 100644 --- a/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/message_bundle_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for MessageBundle<'a> { type Inner = MessageBundle<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> MessageBundle<'a> { MessageBundle { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args MessageBundleArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = MessageBundleBuilder::new(_fbb); @@ -101,11 +101,11 @@ impl<'a> Default for MessageBundleArgs<'a> { } } -pub struct MessageBundleBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct MessageBundleBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MessageBundleBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> MessageBundleBuilder<'a, 'b> { #[inline] pub fn add_data_feed_msgs(&mut self, data_feed_msgs: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(MessageBundle::VT_DATA_FEED_MSGS, data_feed_msgs); @@ -119,7 +119,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MessageBundleBuilder<'a, 'b, A> self.fbb_.push_slot_always::>(MessageBundle::VT_PUB_SUB_MSGS, pub_sub_msgs); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MessageBundleBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MessageBundleBuilder<'a, 'b> { let start = _fbb.start_table(); MessageBundleBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs index f2ed68a2..f5d15e4a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/key_values_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for KeyValues<'a> { type Inner = KeyValues<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> KeyValues<'a> { KeyValues { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args KeyValuesArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = KeyValuesBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for KeyValuesArgs<'a> { } } -pub struct KeyValuesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct KeyValuesBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> KeyValuesBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> KeyValuesBuilder<'a, 'b> { #[inline] pub fn add_keys(&mut self, keys: flatbuffers::WIPOffset>>) { self.fbb_.push_slot_always::>(KeyValues::VT_KEYS, keys); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> KeyValuesBuilder<'a, 'b, A> { self.fbb_.push_slot_always::>(KeyValues::VT_VALUES, values); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> KeyValuesBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> KeyValuesBuilder<'a, 'b> { let start = _fbb.start_table(); KeyValuesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs index bec04d80..24af74f5 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/message_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for Message<'a> { type Inner = Message<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> Message<'a> { Message { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args MessageArgs ) -> flatbuffers::WIPOffset> { let mut builder = MessageBuilder::new(_fbb); @@ -198,11 +198,11 @@ impl<'a> Default for MessageArgs { } } -pub struct MessageBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct MessageBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MessageBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> MessageBuilder<'a, 'b> { #[inline] pub fn add_topic_type(&mut self, topic_type: Topic) { self.fbb_.push_slot::(Message::VT_TOPIC_TYPE, topic_type, Topic::NONE); @@ -220,7 +220,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MessageBuilder<'a, 'b, A> { self.fbb_.push_slot_always::>(Message::VT_PAYLOAD, payload); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MessageBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MessageBuilder<'a, 'b> { let start = _fbb.start_table(); MessageBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs index 72d34fea..3c631193 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/payload_generated.rs @@ -64,7 +64,7 @@ impl<'a> flatbuffers::Follow<'a> for Payload { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -73,7 +73,7 @@ impl flatbuffers::Push for Payload { type Output = Payload; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs index 48d8f774..aa418431 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_header_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for PubSubHeader<'a> { type Inner = PubSubHeader<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> PubSubHeader<'a> { PubSubHeader { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args PubSubHeaderArgs ) -> flatbuffers::WIPOffset> { let mut builder = PubSubHeaderBuilder::new(_fbb); @@ -154,11 +154,11 @@ impl<'a> Default for PubSubHeaderArgs { } } -pub struct PubSubHeaderBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct PubSubHeaderBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> PubSubHeaderBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> PubSubHeaderBuilder<'a, 'b> { #[inline] pub fn add_u_type(&mut self, u_type: PubSubUnion) { self.fbb_.push_slot::(PubSubHeader::VT_U_TYPE, u_type, PubSubUnion::NONE); @@ -168,7 +168,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> PubSubHeaderBuilder<'a, 'b, A> self.fbb_.push_slot_always::>(PubSubHeader::VT_U, u); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> PubSubHeaderBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> PubSubHeaderBuilder<'a, 'b> { let start = _fbb.start_table(); PubSubHeaderBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs index 958b1502..e419b8da 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/pub_sub_union_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for PubSubUnion { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for PubSubUnion { type Output = PubSubUnion; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs index fe71f49d..6ca3428f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/subscription_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SubscriptionRequest<'a> { type Inner = SubscriptionRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> SubscriptionRequest<'a> { SubscriptionRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SubscriptionRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SubscriptionRequestBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for SubscriptionRequestArgs { } } -pub struct SubscriptionRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SubscriptionRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SubscriptionRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SubscriptionRequestBuilder<'a, 'b> { #[inline] pub fn add_topic_type(&mut self, topic_type: Topic) { self.fbb_.push_slot::(SubscriptionRequest::VT_TOPIC_TYPE, topic_type, Topic::NONE); @@ -137,7 +137,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SubscriptionRequestBuilder<'a, self.fbb_.push_slot_always::>(SubscriptionRequest::VT_TOPIC, topic); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SubscriptionRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SubscriptionRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SubscriptionRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs index 874a77cb..e81d9bf0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for Topic { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for Topic { type Output = Topic; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs index a5cd28ec..e9e07f6f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicHandle<'a> { type Inner = TopicHandle<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> TopicHandle<'a> { TopicHandle { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TopicHandleArgs ) -> flatbuffers::WIPOffset> { let mut builder = TopicHandleBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for TopicHandleArgs { } } -pub struct TopicHandleBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TopicHandleBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicHandleBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TopicHandleBuilder<'a, 'b> { #[inline] pub fn add_id(&mut self, id: u16) { self.fbb_.push_slot::(TopicHandle::VT_ID, id, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicHandleBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicHandleBuilder<'a, 'b> { let start = _fbb.start_table(); TopicHandleBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs index 24d9fb74..c9184a4f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_handle_request_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicHandleRequest<'a> { type Inner = TopicHandleRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> TopicHandleRequest<'a> { TopicHandleRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TopicHandleRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TopicHandleRequestBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for TopicHandleRequestArgs<'a> { } } -pub struct TopicHandleRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TopicHandleRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicHandleRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TopicHandleRequestBuilder<'a, 'b> { #[inline] pub fn add_id(&mut self, id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TopicHandleRequest::VT_ID, id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicHandleRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicHandleRequestBuilder<'a, 'b> { let start = _fbb.start_table(); TopicHandleRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs index b2338ad4..0220472a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_id_generated.rs @@ -27,7 +27,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicId<'a> { type Inner = TopicId<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -41,8 +41,8 @@ impl<'a> TopicId<'a> { TopicId { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TopicIdArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TopicIdBuilder::new(_fbb); @@ -110,11 +110,11 @@ impl<'a> Default for TopicIdArgs<'a> { } } -pub struct TopicIdBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TopicIdBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicIdBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TopicIdBuilder<'a, 'b> { #[inline] pub fn add_organization(&mut self, organization: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(TopicId::VT_ORGANIZATION, organization); @@ -128,7 +128,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicIdBuilder<'a, 'b, A> { self.fbb_.push_slot_always::>(TopicId::VT_TOPIC, topic); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicIdBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicIdBuilder<'a, 'b> { let start = _fbb.start_table(); TopicIdBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs index 752b1328..48a84930 100644 --- a/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/pub_sub/topic_mapping_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TopicMapping<'a> { type Inner = TopicMapping<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> TopicMapping<'a> { TopicMapping { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TopicMappingArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TopicMappingBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for TopicMappingArgs<'a> { } } -pub struct TopicMappingBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TopicMappingBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicMappingBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TopicMappingBuilder<'a, 'b> { #[inline] pub fn add_id(&mut self, id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TopicMapping::VT_ID, id); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TopicMappingBuilder<'a, 'b, A> self.fbb_.push_slot_always::>(TopicMapping::VT_HANDLE, handle); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TopicMappingBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TopicMappingBuilder<'a, 'b> { let start = _fbb.start_table(); TopicMappingBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs index 1869a12d..22d6fb7f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/add_unknown_device_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AddUnknownDeviceRequest<'a> { type Inner = AddUnknownDeviceRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> AddUnknownDeviceRequest<'a> { AddUnknownDeviceRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args AddUnknownDeviceRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = AddUnknownDeviceRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for AddUnknownDeviceRequestArgs<'a> { } } -pub struct AddUnknownDeviceRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AddUnknownDeviceRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AddUnknownDeviceRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AddUnknownDeviceRequestBuilder<'a, 'b> { #[inline] pub fn add_mac_address(&mut self, mac_address: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(AddUnknownDeviceRequest::VT_MAC_ADDRESS, mac_address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AddUnknownDeviceRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AddUnknownDeviceRequestBuilder<'a, 'b> { let start = _fbb.start_table(); AddUnknownDeviceRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs index 9ccb3205..694b1046 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/arms_mounting_reset_mode_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for ArmsMountingResetMode { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for ArmsMountingResetMode { type Output = ArmsMountingResetMode; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs index fd61a367..603a9965 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/assign_tracker_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AssignTrackerRequest<'a> { type Inner = AssignTrackerRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> AssignTrackerRequest<'a> { AssignTrackerRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args AssignTrackerRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = AssignTrackerRequestBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for AssignTrackerRequestArgs<'a> { } } -pub struct AssignTrackerRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AssignTrackerRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AssignTrackerRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AssignTrackerRequestBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(AssignTrackerRequest::VT_TRACKER_ID, tracker_id); @@ -149,7 +149,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AssignTrackerRequestBuilder<'a, self.fbb_.push_slot::(AssignTrackerRequest::VT_ALLOW_DRIFT_COMPENSATION, allow_drift_compensation, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AssignTrackerRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AssignTrackerRequestBuilder<'a, 'b> { let start = _fbb.start_table(); AssignTrackerRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs index 5972dfaa..a192f782 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_apply_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneApplyRequest<'a> { type Inner = AutoBoneApplyRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneApplyRequest<'a> { AutoBoneApplyRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args AutoBoneApplyRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneApplyRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for AutoBoneApplyRequestArgs { } } -pub struct AutoBoneApplyRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AutoBoneApplyRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneApplyRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AutoBoneApplyRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneApplyRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneApplyRequestBuilder<'a, 'b> { let start = _fbb.start_table(); AutoBoneApplyRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs index f5aa9a99..ee2b36e0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_cancel_recording_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneCancelRecordingRequest<'a> { type Inner = AutoBoneCancelRecordingRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneCancelRecordingRequest<'a> { AutoBoneCancelRecordingRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args AutoBoneCancelRecordingRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneCancelRecordingRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for AutoBoneCancelRecordingRequestArgs { } } -pub struct AutoBoneCancelRecordingRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AutoBoneCancelRecordingRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneCancelRecordingRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AutoBoneCancelRecordingRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneCancelRecordingRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneCancelRecordingRequestBuilder<'a, 'b> { let start = _fbb.start_table(); AutoBoneCancelRecordingRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs index 4e0a4267..6577433c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_epoch_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneEpochResponse<'a> { type Inner = AutoBoneEpochResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -35,8 +35,8 @@ impl<'a> AutoBoneEpochResponse<'a> { AutoBoneEpochResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args AutoBoneEpochResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneEpochResponseBuilder::new(_fbb); @@ -113,11 +113,11 @@ impl<'a> Default for AutoBoneEpochResponseArgs<'a> { } } -pub struct AutoBoneEpochResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AutoBoneEpochResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneEpochResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AutoBoneEpochResponseBuilder<'a, 'b> { #[inline] pub fn add_current_epoch(&mut self, current_epoch: u32) { self.fbb_.push_slot::(AutoBoneEpochResponse::VT_CURRENT_EPOCH, current_epoch, 0); @@ -135,7 +135,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneEpochResponseBuilder<'a self.fbb_.push_slot_always::>(AutoBoneEpochResponse::VT_ADJUSTED_SKELETON_PARTS, adjusted_skeleton_parts); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneEpochResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneEpochResponseBuilder<'a, 'b> { let start = _fbb.start_table(); AutoBoneEpochResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs index d82ccb32..d4489c60 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneProcessRequest<'a> { type Inner = AutoBoneProcessRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneProcessRequest<'a> { AutoBoneProcessRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args AutoBoneProcessRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneProcessRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for AutoBoneProcessRequestArgs { } } -pub struct AutoBoneProcessRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AutoBoneProcessRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneProcessRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AutoBoneProcessRequestBuilder<'a, 'b> { #[inline] pub fn add_process_type(&mut self, process_type: AutoBoneProcessType) { self.fbb_.push_slot::(AutoBoneProcessRequest::VT_PROCESS_TYPE, process_type, AutoBoneProcessType::NONE); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneProcessRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneProcessRequestBuilder<'a, 'b> { let start = _fbb.start_table(); AutoBoneProcessRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs index caad7a92..d3d1cf3e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_status_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneProcessStatusResponse<'a> { type Inner = AutoBoneProcessStatusResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -37,8 +37,8 @@ impl<'a> AutoBoneProcessStatusResponse<'a> { AutoBoneProcessStatusResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args AutoBoneProcessStatusResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneProcessStatusResponseBuilder::new(_fbb); @@ -140,11 +140,11 @@ impl<'a> Default for AutoBoneProcessStatusResponseArgs { } } -pub struct AutoBoneProcessStatusResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AutoBoneProcessStatusResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneProcessStatusResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AutoBoneProcessStatusResponseBuilder<'a, 'b> { #[inline] pub fn add_process_type(&mut self, process_type: AutoBoneProcessType) { self.fbb_.push_slot::(AutoBoneProcessStatusResponse::VT_PROCESS_TYPE, process_type, AutoBoneProcessType::NONE); @@ -170,7 +170,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneProcessStatusResponseBu self.fbb_.push_slot::(AutoBoneProcessStatusResponse::VT_ETA, eta, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneProcessStatusResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneProcessStatusResponseBuilder<'a, 'b> { let start = _fbb.start_table(); AutoBoneProcessStatusResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs index 14460dd8..6e0a0002 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_process_type_generated.rs @@ -70,7 +70,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneProcessType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -79,7 +79,7 @@ impl flatbuffers::Push for AutoBoneProcessType { type Output = AutoBoneProcessType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs index 2c602305..52123cfb 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneSettings<'a> { type Inner = AutoBoneSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -54,8 +54,8 @@ impl<'a> AutoBoneSettings<'a> { AutoBoneSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args AutoBoneSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneSettingsBuilder::new(_fbb); @@ -328,11 +328,11 @@ impl<'a> Default for AutoBoneSettingsArgs { } } -pub struct AutoBoneSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AutoBoneSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AutoBoneSettingsBuilder<'a, 'b> { #[inline] pub fn add_cursor_increment(&mut self, cursor_increment: i32) { self.fbb_.push_slot_always::(AutoBoneSettings::VT_CURSOR_INCREMENT, cursor_increment); @@ -422,7 +422,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneSettingsBuilder<'a, 'b, self.fbb_.push_slot_always::(AutoBoneSettings::VT_RAND_SEED, rand_seed); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); AutoBoneSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs index 12c001e1..a5582ce8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/auto_bone_stop_recording_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for AutoBoneStopRecordingRequest<'a> { type Inner = AutoBoneStopRecordingRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> AutoBoneStopRecordingRequest<'a> { AutoBoneStopRecordingRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args AutoBoneStopRecordingRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = AutoBoneStopRecordingRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for AutoBoneStopRecordingRequestArgs { } } -pub struct AutoBoneStopRecordingRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct AutoBoneStopRecordingRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> AutoBoneStopRecordingRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> AutoBoneStopRecordingRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> AutoBoneStopRecordingRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> AutoBoneStopRecordingRequestBuilder<'a, 'b> { let start = _fbb.start_table(); AutoBoneStopRecordingRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs index d94d5053..3299ff1a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/change_mag_toggle_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ChangeMagToggleRequest<'a> { type Inner = ChangeMagToggleRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> ChangeMagToggleRequest<'a> { ChangeMagToggleRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ChangeMagToggleRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ChangeMagToggleRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for ChangeMagToggleRequestArgs<'a> { } } -pub struct ChangeMagToggleRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ChangeMagToggleRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeMagToggleRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ChangeMagToggleRequestBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(ChangeMagToggleRequest::VT_TRACKER_ID, tracker_id); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeMagToggleRequestBuilder<' self.fbb_.push_slot::(ChangeMagToggleRequest::VT_ENABLE, enable, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ChangeMagToggleRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ChangeMagToggleRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ChangeMagToggleRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs index cd642627..a2b65df0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/change_settings_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ChangeSettingsRequest<'a> { type Inner = ChangeSettingsRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -42,8 +42,8 @@ impl<'a> ChangeSettingsRequest<'a> { ChangeSettingsRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ChangeSettingsRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ChangeSettingsRequestBuilder::new(_fbb); @@ -195,11 +195,11 @@ impl<'a> Default for ChangeSettingsRequestArgs<'a> { } } -pub struct ChangeSettingsRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ChangeSettingsRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeSettingsRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ChangeSettingsRequestBuilder<'a, 'b> { #[inline] pub fn add_steam_vr_trackers(&mut self, steam_vr_trackers: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(ChangeSettingsRequest::VT_STEAM_VR_TRACKERS, steam_vr_trackers); @@ -245,7 +245,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeSettingsRequestBuilder<'a self.fbb_.push_slot_always::>(ChangeSettingsRequest::VT_STAY_ALIGNED, stay_aligned); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ChangeSettingsRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ChangeSettingsRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ChangeSettingsRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs index fcca799b..1cbb7256 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/change_skeleton_config_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ChangeSkeletonConfigRequest<'a> { type Inner = ChangeSkeletonConfigRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> ChangeSkeletonConfigRequest<'a> { ChangeSkeletonConfigRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ChangeSkeletonConfigRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ChangeSkeletonConfigRequestBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for ChangeSkeletonConfigRequestArgs { } } -pub struct ChangeSkeletonConfigRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ChangeSkeletonConfigRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeSkeletonConfigRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ChangeSkeletonConfigRequestBuilder<'a, 'b> { #[inline] pub fn add_bone(&mut self, bone: SkeletonBone) { self.fbb_.push_slot::(ChangeSkeletonConfigRequest::VT_BONE, bone, SkeletonBone::NONE); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ChangeSkeletonConfigRequestBuil self.fbb_.push_slot::(ChangeSkeletonConfigRequest::VT_VALUE, value, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ChangeSkeletonConfigRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ChangeSkeletonConfigRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ChangeSkeletonConfigRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs index 6aec823f..9f058130 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_drift_compensation_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ClearDriftCompensationRequest<'a> { type Inner = ClearDriftCompensationRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> ClearDriftCompensationRequest<'a> { ClearDriftCompensationRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args ClearDriftCompensationRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ClearDriftCompensationRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for ClearDriftCompensationRequestArgs { } } -pub struct ClearDriftCompensationRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ClearDriftCompensationRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ClearDriftCompensationRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ClearDriftCompensationRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ClearDriftCompensationRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ClearDriftCompensationRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ClearDriftCompensationRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs index 5d3e888e..3113687d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/clear_mounting_reset_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ClearMountingResetRequest<'a> { type Inner = ClearMountingResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> ClearMountingResetRequest<'a> { ClearMountingResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args ClearMountingResetRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ClearMountingResetRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for ClearMountingResetRequestArgs { } } -pub struct ClearMountingResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ClearMountingResetRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ClearMountingResetRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ClearMountingResetRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ClearMountingResetRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ClearMountingResetRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ClearMountingResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs index a92d6514..c62602b0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/close_serial_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for CloseSerialRequest<'a> { type Inner = CloseSerialRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> CloseSerialRequest<'a> { CloseSerialRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args CloseSerialRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = CloseSerialRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for CloseSerialRequestArgs { } } -pub struct CloseSerialRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct CloseSerialRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> CloseSerialRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> CloseSerialRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> CloseSerialRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> CloseSerialRequestBuilder<'a, 'b> { let start = _fbb.start_table(); CloseSerialRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs index e20fc0a2..77e30ac3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/computer_directory_generated.rs @@ -53,7 +53,7 @@ impl<'a> flatbuffers::Follow<'a> for ComputerDirectory { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -62,7 +62,7 @@ impl flatbuffers::Push for ComputerDirectory { type Output = ComputerDirectory; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs index 325f8b3a..8ef3d6fc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/detect_stay_aligned_relaxed_pose_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for DetectStayAlignedRelaxedPoseRequest<'a> { type Inner = DetectStayAlignedRelaxedPoseRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> DetectStayAlignedRelaxedPoseRequest<'a> { DetectStayAlignedRelaxedPoseRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DetectStayAlignedRelaxedPoseRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = DetectStayAlignedRelaxedPoseRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for DetectStayAlignedRelaxedPoseRequestArgs { } } -pub struct DetectStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DetectStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { #[inline] pub fn add_pose(&mut self, pose: StayAlignedRelaxedPose) { self.fbb_.push_slot::(DetectStayAlignedRelaxedPoseRequest::VT_POSE, pose, StayAlignedRelaxedPose::STANDING); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DetectStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { let start = _fbb.start_table(); DetectStayAlignedRelaxedPoseRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs index 33458952..3a5e1840 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/drift_compensation_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for DriftCompensationSettings<'a> { type Inner = DriftCompensationSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> DriftCompensationSettings<'a> { DriftCompensationSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args DriftCompensationSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = DriftCompensationSettingsBuilder::new(_fbb); @@ -114,11 +114,11 @@ impl<'a> Default for DriftCompensationSettingsArgs { } } -pub struct DriftCompensationSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct DriftCompensationSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DriftCompensationSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> DriftCompensationSettingsBuilder<'a, 'b> { #[inline] pub fn add_enabled(&mut self, enabled: bool) { self.fbb_.push_slot::(DriftCompensationSettings::VT_ENABLED, enabled, false); @@ -136,7 +136,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> DriftCompensationSettingsBuilde self.fbb_.push_slot::(DriftCompensationSettings::VT_MAX_RESETS, max_resets, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> DriftCompensationSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> DriftCompensationSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); DriftCompensationSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs index 0e154b0f..a0288973 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/enable_stay_aligned_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for EnableStayAlignedRequest<'a> { type Inner = EnableStayAlignedRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> EnableStayAlignedRequest<'a> { EnableStayAlignedRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args EnableStayAlignedRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = EnableStayAlignedRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for EnableStayAlignedRequestArgs { } } -pub struct EnableStayAlignedRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct EnableStayAlignedRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> EnableStayAlignedRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> EnableStayAlignedRequestBuilder<'a, 'b> { #[inline] pub fn add_enable(&mut self, enable: bool) { self.fbb_.push_slot::(EnableStayAlignedRequest::VT_ENABLE, enable, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> EnableStayAlignedRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> EnableStayAlignedRequestBuilder<'a, 'b> { let start = _fbb.start_table(); EnableStayAlignedRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs index cdac0492..15054562 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/filtering_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FilteringSettings<'a> { type Inner = FilteringSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> FilteringSettings<'a> { FilteringSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args FilteringSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = FilteringSettingsBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for FilteringSettingsArgs { } } -pub struct FilteringSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct FilteringSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FilteringSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> FilteringSettingsBuilder<'a, 'b> { #[inline] pub fn add_type_(&mut self, type_: super::datatypes::FilteringType) { self.fbb_.push_slot::(FilteringSettings::VT_TYPE_, type_, super::datatypes::FilteringType::NONE); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FilteringSettingsBuilder<'a, 'b self.fbb_.push_slot::(FilteringSettings::VT_AMOUNT, amount, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FilteringSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FilteringSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); FilteringSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs index ca5fbcf2..3b69f636 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_part_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwarePart<'a> { type Inner = FirmwarePart<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> FirmwarePart<'a> { FirmwarePart { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args FirmwarePartArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = FirmwarePartBuilder::new(_fbb); @@ -103,11 +103,11 @@ impl<'a> Default for FirmwarePartArgs<'a> { } } -pub struct FirmwarePartBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct FirmwarePartBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwarePartBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> FirmwarePartBuilder<'a, 'b> { #[inline] pub fn add_url(&mut self, url: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(FirmwarePart::VT_URL, url); diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs index 14418ee3..28a68f79 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_device_id_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateDeviceId { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for FirmwareUpdateDeviceId { type Output = FirmwareUpdateDeviceId; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs index c122f812..f6cdfde1 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_method_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateMethod { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for FirmwareUpdateMethod { type Output = FirmwareUpdateMethod; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs index e95e13ed..b5cc8e16 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateRequest<'a> { type Inner = FirmwareUpdateRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> FirmwareUpdateRequest<'a> { FirmwareUpdateRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args FirmwareUpdateRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareUpdateRequestBuilder::new(_fbb); @@ -122,11 +122,11 @@ impl<'a> Default for FirmwareUpdateRequestArgs { } } -pub struct FirmwareUpdateRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct FirmwareUpdateRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> FirmwareUpdateRequestBuilder<'a, 'b> { #[inline] pub fn add_method_type(&mut self, method_type: FirmwareUpdateMethod) { self.fbb_.push_slot::(FirmwareUpdateRequest::VT_METHOD_TYPE, method_type, FirmwareUpdateMethod::NONE); @@ -136,7 +136,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateRequestBuilder<'a self.fbb_.push_slot_always::>(FirmwareUpdateRequest::VT_METHOD, method); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareUpdateRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareUpdateRequestBuilder<'a, 'b> { let start = _fbb.start_table(); FirmwareUpdateRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs index da70f7fc..fedb4dbe 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_generated.rs @@ -128,7 +128,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -137,7 +137,7 @@ impl flatbuffers::Push for FirmwareUpdateStatus { type Output = FirmwareUpdateStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs index 32f8d735..64a60c7e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_status_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateStatusResponse<'a> { type Inner = FirmwareUpdateStatusResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -35,8 +35,8 @@ impl<'a> FirmwareUpdateStatusResponse<'a> { FirmwareUpdateStatusResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args FirmwareUpdateStatusResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareUpdateStatusResponseBuilder::new(_fbb); @@ -147,11 +147,11 @@ impl<'a> Default for FirmwareUpdateStatusResponseArgs { } } -pub struct FirmwareUpdateStatusResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct FirmwareUpdateStatusResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateStatusResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> FirmwareUpdateStatusResponseBuilder<'a, 'b> { #[inline] pub fn add_device_id_type(&mut self, device_id_type: FirmwareUpdateDeviceId) { self.fbb_.push_slot::(FirmwareUpdateStatusResponse::VT_DEVICE_ID_TYPE, device_id_type, FirmwareUpdateDeviceId::NONE); @@ -169,7 +169,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateStatusResponseBui self.fbb_.push_slot::(FirmwareUpdateStatusResponse::VT_PROGRESS, progress, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareUpdateStatusResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareUpdateStatusResponseBuilder<'a, 'b> { let start = _fbb.start_table(); FirmwareUpdateStatusResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs index 9a9ef7bc..02ab34aa 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/firmware_update_stop_queues_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for FirmwareUpdateStopQueuesRequest<'a> { type Inner = FirmwareUpdateStopQueuesRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> FirmwareUpdateStopQueuesRequest<'a> { FirmwareUpdateStopQueuesRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args FirmwareUpdateStopQueuesRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = FirmwareUpdateStopQueuesRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for FirmwareUpdateStopQueuesRequestArgs { } } -pub struct FirmwareUpdateStopQueuesRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct FirmwareUpdateStopQueuesRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> FirmwareUpdateStopQueuesRequestBuilder<'a, 'b> { let start = _fbb.start_table(); FirmwareUpdateStopQueuesRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs index 5c76f396..ef85aafb 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/forget_device_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ForgetDeviceRequest<'a> { type Inner = ForgetDeviceRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> ForgetDeviceRequest<'a> { ForgetDeviceRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ForgetDeviceRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ForgetDeviceRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for ForgetDeviceRequestArgs<'a> { } } -pub struct ForgetDeviceRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ForgetDeviceRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ForgetDeviceRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ForgetDeviceRequestBuilder<'a, 'b> { #[inline] pub fn add_mac_address(&mut self, mac_address: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(ForgetDeviceRequest::VT_MAC_ADDRESS, mac_address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ForgetDeviceRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ForgetDeviceRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ForgetDeviceRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs index 47c80860..44c96c44 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for HeartbeatRequest<'a> { type Inner = HeartbeatRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> HeartbeatRequest<'a> { HeartbeatRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args HeartbeatRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeartbeatRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for HeartbeatRequestArgs { } } -pub struct HeartbeatRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct HeartbeatRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeartbeatRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> HeartbeatRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeartbeatRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeartbeatRequestBuilder<'a, 'b> { let start = _fbb.start_table(); HeartbeatRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs index c74c0f92..c0dcbe16 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/heartbeat_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for HeartbeatResponse<'a> { type Inner = HeartbeatResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> HeartbeatResponse<'a> { HeartbeatResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args HeartbeatResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeartbeatResponseBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for HeartbeatResponseArgs { } } -pub struct HeartbeatResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct HeartbeatResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeartbeatResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> HeartbeatResponseBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeartbeatResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeartbeatResponseBuilder<'a, 'b> { let start = _fbb.start_table(); HeartbeatResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs index dcb54c82..2679cab3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/height_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for HeightRequest<'a> { type Inner = HeightRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> HeightRequest<'a> { HeightRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args HeightRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeightRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for HeightRequestArgs { } } -pub struct HeightRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct HeightRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeightRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> HeightRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeightRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeightRequestBuilder<'a, 'b> { let start = _fbb.start_table(); HeightRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs index 0384010a..ff0c23a2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/height_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for HeightResponse<'a> { type Inner = HeightResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> HeightResponse<'a> { HeightResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args HeightResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = HeightResponseBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for HeightResponseArgs { } } -pub struct HeightResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct HeightResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeightResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> HeightResponseBuilder<'a, 'b> { #[inline] pub fn add_min_height(&mut self, min_height: f32) { self.fbb_.push_slot::(HeightResponse::VT_MIN_HEIGHT, min_height, 0.0); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> HeightResponseBuilder<'a, 'b, A self.fbb_.push_slot::(HeightResponse::VT_MAX_HEIGHT, max_height, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> HeightResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> HeightResponseBuilder<'a, 'b> { let start = _fbb.start_table(); HeightResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs index 71f45ac5..7f4dee62 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_change_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for LegTweaksTmpChange<'a> { type Inner = LegTweaksTmpChange<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -37,8 +37,8 @@ impl<'a> LegTweaksTmpChange<'a> { LegTweaksTmpChange { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args LegTweaksTmpChangeArgs ) -> flatbuffers::WIPOffset> { let mut builder = LegTweaksTmpChangeBuilder::new(_fbb); @@ -113,11 +113,11 @@ impl<'a> Default for LegTweaksTmpChangeArgs { } } -pub struct LegTweaksTmpChangeBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct LegTweaksTmpChangeBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksTmpChangeBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> LegTweaksTmpChangeBuilder<'a, 'b> { #[inline] pub fn add_floor_clip(&mut self, floor_clip: bool) { self.fbb_.push_slot_always::(LegTweaksTmpChange::VT_FLOOR_CLIP, floor_clip); @@ -135,7 +135,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksTmpChangeBuilder<'a, ' self.fbb_.push_slot_always::(LegTweaksTmpChange::VT_FOOT_PLANT, foot_plant); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LegTweaksTmpChangeBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LegTweaksTmpChangeBuilder<'a, 'b> { let start = _fbb.start_table(); LegTweaksTmpChangeBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs index f01ba06a..e163b6a2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/leg_tweaks_tmp_clear_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for LegTweaksTmpClear<'a> { type Inner = LegTweaksTmpClear<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -37,8 +37,8 @@ impl<'a> LegTweaksTmpClear<'a> { LegTweaksTmpClear { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args LegTweaksTmpClearArgs ) -> flatbuffers::WIPOffset> { let mut builder = LegTweaksTmpClearBuilder::new(_fbb); @@ -113,11 +113,11 @@ impl<'a> Default for LegTweaksTmpClearArgs { } } -pub struct LegTweaksTmpClearBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct LegTweaksTmpClearBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksTmpClearBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> LegTweaksTmpClearBuilder<'a, 'b> { #[inline] pub fn add_floor_clip(&mut self, floor_clip: bool) { self.fbb_.push_slot::(LegTweaksTmpClear::VT_FLOOR_CLIP, floor_clip, false); @@ -135,7 +135,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksTmpClearBuilder<'a, 'b self.fbb_.push_slot::(LegTweaksTmpClear::VT_FOOT_PLANT, foot_plant, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LegTweaksTmpClearBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LegTweaksTmpClearBuilder<'a, 'b> { let start = _fbb.start_table(); LegTweaksTmpClearBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs index 9fcb01a4..2cd913fe 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for MagToggleRequest<'a> { type Inner = MagToggleRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> MagToggleRequest<'a> { MagToggleRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args MagToggleRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = MagToggleRequestBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for MagToggleRequestArgs<'a> { } } -pub struct MagToggleRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct MagToggleRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MagToggleRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> MagToggleRequestBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(MagToggleRequest::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MagToggleRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MagToggleRequestBuilder<'a, 'b> { let start = _fbb.start_table(); MagToggleRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs index 27186576..2cb5bfad 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/mag_toggle_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for MagToggleResponse<'a> { type Inner = MagToggleResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> MagToggleResponse<'a> { MagToggleResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args MagToggleResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = MagToggleResponseBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for MagToggleResponseArgs<'a> { } } -pub struct MagToggleResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct MagToggleResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MagToggleResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> MagToggleResponseBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(MagToggleResponse::VT_TRACKER_ID, tracker_id); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> MagToggleResponseBuilder<'a, 'b self.fbb_.push_slot::(MagToggleResponse::VT_ENABLE, enable, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> MagToggleResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> MagToggleResponseBuilder<'a, 'b> { let start = _fbb.start_table(); MagToggleResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs index ac547fc6..989cfa82 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/new_serial_device_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for NewSerialDeviceResponse<'a> { type Inner = NewSerialDeviceResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> NewSerialDeviceResponse<'a> { NewSerialDeviceResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args NewSerialDeviceResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = NewSerialDeviceResponseBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for NewSerialDeviceResponseArgs<'a> { } } -pub struct NewSerialDeviceResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct NewSerialDeviceResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> NewSerialDeviceResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> NewSerialDeviceResponseBuilder<'a, 'b> { #[inline] pub fn add_device(&mut self, device: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(NewSerialDeviceResponse::VT_DEVICE, device); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> NewSerialDeviceResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> NewSerialDeviceResponseBuilder<'a, 'b> { let start = _fbb.start_table(); NewSerialDeviceResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs index c29de6a4..c94bbd38 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/open_serial_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for OpenSerialRequest<'a> { type Inner = OpenSerialRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> OpenSerialRequest<'a> { OpenSerialRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args OpenSerialRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OpenSerialRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for OpenSerialRequestArgs<'a> { } } -pub struct OpenSerialRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OpenSerialRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OpenSerialRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OpenSerialRequestBuilder<'a, 'b> { #[inline] pub fn add_auto(&mut self, auto: bool) { self.fbb_.push_slot::(OpenSerialRequest::VT_AUTO, auto, false); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OpenSerialRequestBuilder<'a, 'b self.fbb_.push_slot_always::>(OpenSerialRequest::VT_PORT, port); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OpenSerialRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OpenSerialRequestBuilder<'a, 'b> { let start = _fbb.start_table(); OpenSerialRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs index d990ba9d..b21029c2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/oscrouter_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OSCRouterSettings<'a> { type Inner = OSCRouterSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> OSCRouterSettings<'a> { OSCRouterSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args OSCRouterSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OSCRouterSettingsBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for OSCRouterSettingsArgs<'a> { } } -pub struct OSCRouterSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OSCRouterSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCRouterSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OSCRouterSettingsBuilder<'a, 'b> { #[inline] pub fn add_osc_settings(&mut self, osc_settings: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(OSCRouterSettings::VT_OSC_SETTINGS, osc_settings); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OSCRouterSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OSCRouterSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); OSCRouterSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs index d0b380ad..a8a8c28f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/oscsettings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OSCSettings<'a> { type Inner = OSCSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> OSCSettings<'a> { OSCSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args OSCSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OSCSettingsBuilder::new(_fbb); @@ -112,11 +112,11 @@ impl<'a> Default for OSCSettingsArgs<'a> { } } -pub struct OSCSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OSCSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OSCSettingsBuilder<'a, 'b> { #[inline] pub fn add_enabled(&mut self, enabled: bool) { self.fbb_.push_slot::(OSCSettings::VT_ENABLED, enabled, false); @@ -134,7 +134,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCSettingsBuilder<'a, 'b, A> { self.fbb_.push_slot_always::>(OSCSettings::VT_ADDRESS, address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OSCSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OSCSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); OSCSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs index 3039e357..21543dcc 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for OSCTrackersSetting<'a> { type Inner = OSCTrackersSetting<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -38,8 +38,8 @@ impl<'a> OSCTrackersSetting<'a> { OSCTrackersSetting { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args OSCTrackersSettingArgs ) -> flatbuffers::WIPOffset> { let mut builder = OSCTrackersSettingBuilder::new(_fbb); @@ -147,11 +147,11 @@ impl<'a> Default for OSCTrackersSettingArgs { } } -pub struct OSCTrackersSettingBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OSCTrackersSettingBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCTrackersSettingBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OSCTrackersSettingBuilder<'a, 'b> { #[inline] pub fn add_head(&mut self, head: bool) { self.fbb_.push_slot::(OSCTrackersSetting::VT_HEAD, head, false); @@ -181,7 +181,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OSCTrackersSettingBuilder<'a, ' self.fbb_.push_slot::(OSCTrackersSetting::VT_HANDS, hands, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OSCTrackersSettingBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OSCTrackersSettingBuilder<'a, 'b> { let start = _fbb.start_table(); OSCTrackersSettingBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs index a6ce44da..31f16021 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/otafirmware_update_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for OTAFirmwareUpdate<'a> { type Inner = OTAFirmwareUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> OTAFirmwareUpdate<'a> { OTAFirmwareUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args OTAFirmwareUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = OTAFirmwareUpdateBuilder::new(_fbb); @@ -89,11 +89,11 @@ impl<'a> Default for OTAFirmwareUpdateArgs<'a> { } } -pub struct OTAFirmwareUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OTAFirmwareUpdateBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OTAFirmwareUpdateBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OTAFirmwareUpdateBuilder<'a, 'b> { #[inline] pub fn add_device_id(&mut self, device_id: &super::datatypes::DeviceId) { self.fbb_.push_slot_always::<&super::datatypes::DeviceId>(OTAFirmwareUpdate::VT_DEVICE_ID, device_id); @@ -103,7 +103,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OTAFirmwareUpdateBuilder<'a, 'b self.fbb_.push_slot_always::>(OTAFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OTAFirmwareUpdateBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OTAFirmwareUpdateBuilder<'a, 'b> { let start = _fbb.start_table(); OTAFirmwareUpdateBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs index 6f12dec2..231dd39f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_change_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OverlayDisplayModeChangeRequest<'a> { type Inner = OverlayDisplayModeChangeRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> OverlayDisplayModeChangeRequest<'a> { OverlayDisplayModeChangeRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args OverlayDisplayModeChangeRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = OverlayDisplayModeChangeRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for OverlayDisplayModeChangeRequestArgs { } } -pub struct OverlayDisplayModeChangeRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OverlayDisplayModeChangeRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeChangeRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OverlayDisplayModeChangeRequestBuilder<'a, 'b> { #[inline] pub fn add_is_visible(&mut self, is_visible: bool) { self.fbb_.push_slot_always::(OverlayDisplayModeChangeRequest::VT_IS_VISIBLE, is_visible); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeChangeRequest self.fbb_.push_slot_always::(OverlayDisplayModeChangeRequest::VT_IS_MIRRORED, is_mirrored); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OverlayDisplayModeChangeRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OverlayDisplayModeChangeRequestBuilder<'a, 'b> { let start = _fbb.start_table(); OverlayDisplayModeChangeRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs index 78f666e8..1d5c3e8a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OverlayDisplayModeRequest<'a> { type Inner = OverlayDisplayModeRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> OverlayDisplayModeRequest<'a> { OverlayDisplayModeRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args OverlayDisplayModeRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = OverlayDisplayModeRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for OverlayDisplayModeRequestArgs { } } -pub struct OverlayDisplayModeRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OverlayDisplayModeRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OverlayDisplayModeRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OverlayDisplayModeRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OverlayDisplayModeRequestBuilder<'a, 'b> { let start = _fbb.start_table(); OverlayDisplayModeRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs index 505724ca..ba364109 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/overlay_display_mode_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for OverlayDisplayModeResponse<'a> { type Inner = OverlayDisplayModeResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> OverlayDisplayModeResponse<'a> { OverlayDisplayModeResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args OverlayDisplayModeResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = OverlayDisplayModeResponseBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for OverlayDisplayModeResponseArgs { } } -pub struct OverlayDisplayModeResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct OverlayDisplayModeResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> OverlayDisplayModeResponseBuilder<'a, 'b> { #[inline] pub fn add_is_visible(&mut self, is_visible: bool) { self.fbb_.push_slot::(OverlayDisplayModeResponse::VT_IS_VISIBLE, is_visible, false); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> OverlayDisplayModeResponseBuild self.fbb_.push_slot::(OverlayDisplayModeResponse::VT_IS_MIRRORED, is_mirrored, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> OverlayDisplayModeResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OverlayDisplayModeResponseBuilder<'a, 'b> { let start = _fbb.start_table(); OverlayDisplayModeResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs index 7b543018..0e55cac1 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhrequest_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RecordBVHRequest<'a> { type Inner = RecordBVHRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> RecordBVHRequest<'a> { RecordBVHRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args RecordBVHRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = RecordBVHRequestBuilder::new(_fbb); @@ -89,11 +89,11 @@ impl<'a> Default for RecordBVHRequestArgs<'a> { } } -pub struct RecordBVHRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct RecordBVHRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RecordBVHRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> RecordBVHRequestBuilder<'a, 'b> { #[inline] pub fn add_stop(&mut self, stop: bool) { self.fbb_.push_slot::(RecordBVHRequest::VT_STOP, stop, false); @@ -103,7 +103,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RecordBVHRequestBuilder<'a, 'b, self.fbb_.push_slot_always::>(RecordBVHRequest::VT_PATH, path); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RecordBVHRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RecordBVHRequestBuilder<'a, 'b> { let start = _fbb.start_table(); RecordBVHRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs index 6b4935bb..771df08d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RecordBVHStatus<'a> { type Inner = RecordBVHStatus<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> RecordBVHStatus<'a> { RecordBVHStatus { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args RecordBVHStatusArgs ) -> flatbuffers::WIPOffset> { let mut builder = RecordBVHStatusBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for RecordBVHStatusArgs { } } -pub struct RecordBVHStatusBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct RecordBVHStatusBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RecordBVHStatusBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> RecordBVHStatusBuilder<'a, 'b> { #[inline] pub fn add_recording(&mut self, recording: bool) { self.fbb_.push_slot::(RecordBVHStatus::VT_RECORDING, recording, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RecordBVHStatusBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RecordBVHStatusBuilder<'a, 'b> { let start = _fbb.start_table(); RecordBVHStatusBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs index 5242960e..610de8c7 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/record_bvhstatus_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RecordBVHStatusRequest<'a> { type Inner = RecordBVHStatusRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> RecordBVHStatusRequest<'a> { RecordBVHStatusRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args RecordBVHStatusRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = RecordBVHStatusRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for RecordBVHStatusRequestArgs { } } -pub struct RecordBVHStatusRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct RecordBVHStatusRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RecordBVHStatusRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> RecordBVHStatusRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RecordBVHStatusRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RecordBVHStatusRequestBuilder<'a, 'b> { let start = _fbb.start_table(); RecordBVHStatusRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs index dfa76825..e474370d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetRequest<'a> { type Inner = ResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> ResetRequest<'a> { ResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ResetRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ResetRequestBuilder::new(_fbb); @@ -88,11 +88,11 @@ impl<'a> Default for ResetRequestArgs<'a> { } } -pub struct ResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ResetRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ResetRequestBuilder<'a, 'b> { #[inline] pub fn add_reset_type(&mut self, reset_type: ResetType) { self.fbb_.push_slot::(ResetRequest::VT_RESET_TYPE, reset_type, ResetType::Yaw); @@ -102,7 +102,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetRequestBuilder<'a, 'b, A> self.fbb_.push_slot_always::>(ResetRequest::VT_BODY_PARTS, body_parts); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ResetRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ResetRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs index 19401f9f..b8a5ff87 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetResponse<'a> { type Inner = ResetResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -127,11 +127,11 @@ impl<'a> Default for ResetResponseArgs<'a> { } } -pub struct ResetResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ResetResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ResetResponseBuilder<'a, 'b> { #[inline] pub fn add_reset_type(&mut self, reset_type: ResetType) { self.fbb_.push_slot::(ResetResponse::VT_RESET_TYPE, reset_type, ResetType::Yaw); diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs index f5a82b92..ff968be5 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_status_generated.rs @@ -56,7 +56,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -65,7 +65,7 @@ impl flatbuffers::Push for ResetStatus { type Output = ResetStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs index 643fede6..ea94a902 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_stay_aligned_relaxed_pose_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetStayAlignedRelaxedPoseRequest<'a> { type Inner = ResetStayAlignedRelaxedPoseRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> ResetStayAlignedRelaxedPoseRequest<'a> { ResetStayAlignedRelaxedPoseRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ResetStayAlignedRelaxedPoseRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ResetStayAlignedRelaxedPoseRequestBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for ResetStayAlignedRelaxedPoseRequestArgs { } } -pub struct ResetStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ResetStayAlignedRelaxedPoseRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { #[inline] pub fn add_pose(&mut self, pose: StayAlignedRelaxedPose) { self.fbb_.push_slot::(ResetStayAlignedRelaxedPoseRequest::VT_POSE, pose, StayAlignedRelaxedPose::STANDING); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ResetStayAlignedRelaxedPoseRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ResetStayAlignedRelaxedPoseRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs index b84b2a70..e2cad5f5 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/reset_type_generated.rs @@ -61,7 +61,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -70,7 +70,7 @@ impl flatbuffers::Push for ResetType { type Output = ResetType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs index ad50edb0..4d66e0bd 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/resets_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for ResetsSettings<'a> { type Inner = ResetsSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> ResetsSettings<'a> { ResetsSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ResetsSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = ResetsSettingsBuilder::new(_fbb); @@ -123,11 +123,11 @@ impl<'a> Default for ResetsSettingsArgs { } } -pub struct ResetsSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ResetsSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetsSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ResetsSettingsBuilder<'a, 'b> { #[inline] pub fn add_reset_mounting_feet(&mut self, reset_mounting_feet: bool) { self.fbb_.push_slot::(ResetsSettings::VT_RESET_MOUNTING_FEET, reset_mounting_feet, false); @@ -149,7 +149,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ResetsSettingsBuilder<'a, 'b, A self.fbb_.push_slot::(ResetsSettings::VT_RESET_HMD_PITCH, reset_hmd_pitch, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ResetsSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ResetsSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); ResetsSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs index c63823e2..f056f10c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_generated.rs @@ -364,7 +364,7 @@ impl<'a> flatbuffers::Follow<'a> for RpcMessage { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -373,7 +373,7 @@ impl flatbuffers::Push for RpcMessage { type Output = RpcMessage; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs index 559d53e0..5302176d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/rpc_message_header_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for RpcMessageHeader<'a> { type Inner = RpcMessageHeader<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> RpcMessageHeader<'a> { RpcMessageHeader { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args RpcMessageHeaderArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = RpcMessageHeaderBuilder::new(_fbb); @@ -1352,11 +1352,11 @@ impl<'a> Default for RpcMessageHeaderArgs<'a> { } } -pub struct RpcMessageHeaderBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct RpcMessageHeaderBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RpcMessageHeaderBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> RpcMessageHeaderBuilder<'a, 'b> { #[inline] pub fn add_tx_id(&mut self, tx_id: &super::datatypes::TransactionId) { self.fbb_.push_slot_always::<&super::datatypes::TransactionId>(RpcMessageHeader::VT_TX_ID, tx_id); @@ -1370,7 +1370,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> RpcMessageHeaderBuilder<'a, 'b, self.fbb_.push_slot_always::>(RpcMessageHeader::VT_MESSAGE, message); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> RpcMessageHeaderBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> RpcMessageHeaderBuilder<'a, 'b> { let start = _fbb.start_table(); RpcMessageHeaderBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs index 590910a3..d3b2204f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/save_file_notification_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SaveFileNotification<'a> { type Inner = SaveFileNotification<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -37,8 +37,8 @@ impl<'a> SaveFileNotification<'a> { SaveFileNotification { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SaveFileNotificationArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SaveFileNotificationBuilder::new(_fbb); @@ -129,11 +129,11 @@ impl<'a> Default for SaveFileNotificationArgs<'a> { } } -pub struct SaveFileNotificationBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SaveFileNotificationBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SaveFileNotificationBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SaveFileNotificationBuilder<'a, 'b> { #[inline] pub fn add_data(&mut self, data: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(SaveFileNotification::VT_DATA, data); @@ -155,7 +155,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SaveFileNotificationBuilder<'a, self.fbb_.push_slot_always::>(SaveFileNotification::VT_EXPECTED_FILENAME, expected_filename); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SaveFileNotificationBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SaveFileNotificationBuilder<'a, 'b> { let start = _fbb.start_table(); SaveFileNotificationBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs index 2a3967ec..bf9ec9c9 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevice<'a> { type Inner = SerialDevice<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> SerialDevice<'a> { SerialDevice { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SerialDeviceArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialDeviceBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SerialDeviceArgs<'a> { } } -pub struct SerialDeviceBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialDeviceBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDeviceBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialDeviceBuilder<'a, 'b> { #[inline] pub fn add_port(&mut self, port: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialDevice::VT_PORT, port); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDeviceBuilder<'a, 'b, A> self.fbb_.push_slot_always::>(SerialDevice::VT_NAME, name); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDeviceBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDeviceBuilder<'a, 'b> { let start = _fbb.start_table(); SerialDeviceBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs index 425484a5..3693e35a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_device_port_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevicePort<'a> { type Inner = SerialDevicePort<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> SerialDevicePort<'a> { SerialDevicePort { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SerialDevicePortArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialDevicePortBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for SerialDevicePortArgs<'a> { } } -pub struct SerialDevicePortBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialDevicePortBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDevicePortBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialDevicePortBuilder<'a, 'b> { #[inline] pub fn add_port(&mut self, port: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialDevicePort::VT_PORT, port); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDevicePortBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDevicePortBuilder<'a, 'b> { let start = _fbb.start_table(); SerialDevicePortBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs index 4246bcf4..79267f3b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevicesRequest<'a> { type Inner = SerialDevicesRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> SerialDevicesRequest<'a> { SerialDevicesRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SerialDevicesRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialDevicesRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SerialDevicesRequestArgs { } } -pub struct SerialDevicesRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialDevicesRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDevicesRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialDevicesRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDevicesRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDevicesRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SerialDevicesRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs index 59556ce8..40fbf980 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_devices_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialDevicesResponse<'a> { type Inner = SerialDevicesResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> SerialDevicesResponse<'a> { SerialDevicesResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SerialDevicesResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialDevicesResponseBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for SerialDevicesResponseArgs<'a> { } } -pub struct SerialDevicesResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialDevicesResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialDevicesResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialDevicesResponseBuilder<'a, 'b> { #[inline] pub fn add_devices(&mut self, devices: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(SerialDevicesResponse::VT_DEVICES, devices); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialDevicesResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialDevicesResponseBuilder<'a, 'b> { let start = _fbb.start_table(); SerialDevicesResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs index cb702619..70b3e599 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_firmware_update_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialFirmwareUpdate<'a> { type Inner = SerialFirmwareUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> SerialFirmwareUpdate<'a> { SerialFirmwareUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SerialFirmwareUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialFirmwareUpdateBuilder::new(_fbb); @@ -129,11 +129,11 @@ impl<'a> Default for SerialFirmwareUpdateArgs<'a> { } } -pub struct SerialFirmwareUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialFirmwareUpdateBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialFirmwareUpdateBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialFirmwareUpdateBuilder<'a, 'b> { #[inline] pub fn add_device_id(&mut self, device_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(SerialFirmwareUpdate::VT_DEVICE_ID, device_id); @@ -155,7 +155,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialFirmwareUpdateBuilder<'a, self.fbb_.push_slot_always::>(SerialFirmwareUpdate::VT_FIRMWARE_PART, firmware_part); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialFirmwareUpdateBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialFirmwareUpdateBuilder<'a, 'b> { let start = _fbb.start_table(); SerialFirmwareUpdateBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs index 21550ba9..69e988a3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_custom_command_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerCustomCommandRequest<'a> { type Inner = SerialTrackerCustomCommandRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> SerialTrackerCustomCommandRequest<'a> { SerialTrackerCustomCommandRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SerialTrackerCustomCommandRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerCustomCommandRequestBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for SerialTrackerCustomCommandRequestArgs<'a> { } } -pub struct SerialTrackerCustomCommandRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialTrackerCustomCommandRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerCustomCommandRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialTrackerCustomCommandRequestBuilder<'a, 'b> { #[inline] pub fn add_command(&mut self, command: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialTrackerCustomCommandRequest::VT_COMMAND, command); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerCustomCommandRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerCustomCommandRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SerialTrackerCustomCommandRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs index e99b4ec8..7630bab0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_factory_reset_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerFactoryResetRequest<'a> { type Inner = SerialTrackerFactoryResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerFactoryResetRequest<'a> { SerialTrackerFactoryResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SerialTrackerFactoryResetRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerFactoryResetRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerFactoryResetRequestArgs { } } -pub struct SerialTrackerFactoryResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialTrackerFactoryResetRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerFactoryResetRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialTrackerFactoryResetRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerFactoryResetRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerFactoryResetRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SerialTrackerFactoryResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs index 30e9064b..04cee22d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_info_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerGetInfoRequest<'a> { type Inner = SerialTrackerGetInfoRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerGetInfoRequest<'a> { SerialTrackerGetInfoRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SerialTrackerGetInfoRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerGetInfoRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerGetInfoRequestArgs { } } -pub struct SerialTrackerGetInfoRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialTrackerGetInfoRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerGetInfoRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialTrackerGetInfoRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerGetInfoRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerGetInfoRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SerialTrackerGetInfoRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs index f790cf35..044b54d2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_get_wifi_scan_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerGetWifiScanRequest<'a> { type Inner = SerialTrackerGetWifiScanRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerGetWifiScanRequest<'a> { SerialTrackerGetWifiScanRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SerialTrackerGetWifiScanRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerGetWifiScanRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerGetWifiScanRequestArgs { } } -pub struct SerialTrackerGetWifiScanRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialTrackerGetWifiScanRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerGetWifiScanRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialTrackerGetWifiScanRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerGetWifiScanRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerGetWifiScanRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SerialTrackerGetWifiScanRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs index 514e57fc..0c0c059f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_tracker_reboot_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialTrackerRebootRequest<'a> { type Inner = SerialTrackerRebootRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> SerialTrackerRebootRequest<'a> { SerialTrackerRebootRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SerialTrackerRebootRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SerialTrackerRebootRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for SerialTrackerRebootRequestArgs { } } -pub struct SerialTrackerRebootRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialTrackerRebootRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialTrackerRebootRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialTrackerRebootRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialTrackerRebootRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialTrackerRebootRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SerialTrackerRebootRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs index b79a3e1b..cf9dfec0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/serial_update_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SerialUpdateResponse<'a> { type Inner = SerialUpdateResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> SerialUpdateResponse<'a> { SerialUpdateResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SerialUpdateResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SerialUpdateResponseBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SerialUpdateResponseArgs<'a> { } } -pub struct SerialUpdateResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SerialUpdateResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialUpdateResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SerialUpdateResponseBuilder<'a, 'b> { #[inline] pub fn add_log(&mut self, log: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SerialUpdateResponse::VT_LOG, log); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SerialUpdateResponseBuilder<'a, self.fbb_.push_slot::(SerialUpdateResponse::VT_CLOSED, closed, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SerialUpdateResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SerialUpdateResponseBuilder<'a, 'b> { let start = _fbb.start_table(); SerialUpdateResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs index cb04d05d..92d95f94 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_request_generated.rs @@ -24,7 +24,7 @@ impl<'a> flatbuffers::Follow<'a> for ServerInfosRequest<'a> { type Inner = ServerInfosRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -35,8 +35,8 @@ impl<'a> ServerInfosRequest<'a> { ServerInfosRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args ServerInfosRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = ServerInfosRequestBuilder::new(_fbb); @@ -66,13 +66,13 @@ impl<'a> Default for ServerInfosRequestArgs { } } -pub struct ServerInfosRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ServerInfosRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ServerInfosRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ServerInfosRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ServerInfosRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ServerInfosRequestBuilder<'a, 'b> { let start = _fbb.start_table(); ServerInfosRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs index 40a258b8..c3610f72 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/server_infos_response_generated.rs @@ -24,7 +24,7 @@ impl<'a> flatbuffers::Follow<'a> for ServerInfosResponse<'a> { type Inner = ServerInfosResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> ServerInfosResponse<'a> { ServerInfosResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ServerInfosResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ServerInfosResponseBuilder::new(_fbb); @@ -79,17 +79,17 @@ impl<'a> Default for ServerInfosResponseArgs<'a> { } } -pub struct ServerInfosResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ServerInfosResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ServerInfosResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ServerInfosResponseBuilder<'a, 'b> { #[inline] pub fn add_localIp(&mut self, localIp: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(ServerInfosResponse::VT_LOCALIP, localIp); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ServerInfosResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ServerInfosResponseBuilder<'a, 'b> { let start = _fbb.start_table(); ServerInfosResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs index 05ff1612..9a62544b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/set_pause_tracking_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SetPauseTrackingRequest<'a> { type Inner = SetPauseTrackingRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> SetPauseTrackingRequest<'a> { SetPauseTrackingRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SetPauseTrackingRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SetPauseTrackingRequestBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for SetPauseTrackingRequestArgs { } } -pub struct SetPauseTrackingRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SetPauseTrackingRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SetPauseTrackingRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SetPauseTrackingRequestBuilder<'a, 'b> { #[inline] pub fn add_pauseTracking(&mut self, pauseTracking: bool) { self.fbb_.push_slot::(SetPauseTrackingRequest::VT_PAUSETRACKING, pauseTracking, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SetPauseTrackingRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SetPauseTrackingRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SetPauseTrackingRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs index 8bc79998..0e0bee60 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/set_wifi_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SetWifiRequest<'a> { type Inner = SetWifiRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> SetWifiRequest<'a> { SetWifiRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SetWifiRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SetWifiRequestBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SetWifiRequestArgs<'a> { } } -pub struct SetWifiRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SetWifiRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SetWifiRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SetWifiRequestBuilder<'a, 'b> { #[inline] pub fn add_ssid(&mut self, ssid: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(SetWifiRequest::VT_SSID, ssid); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SetWifiRequestBuilder<'a, 'b, A self.fbb_.push_slot_always::>(SetWifiRequest::VT_PASSWORD, password); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SetWifiRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SetWifiRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SetWifiRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs index 9f0b0cba..39a24c5c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/leg_tweaks_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for LegTweaksSettings<'a> { type Inner = LegTweaksSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> LegTweaksSettings<'a> { LegTweaksSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args LegTweaksSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = LegTweaksSettingsBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for LegTweaksSettingsArgs { } } -pub struct LegTweaksSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct LegTweaksSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> LegTweaksSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> LegTweaksSettingsBuilder<'a, 'b> { #[inline] pub fn add_correction_strength(&mut self, correction_strength: f32) { self.fbb_.push_slot_always::(LegTweaksSettings::VT_CORRECTION_STRENGTH, correction_strength); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> LegTweaksSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> LegTweaksSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); LegTweaksSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs index d572a824..6af21232 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_ratios_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for ModelRatios<'a> { type Inner = ModelRatios<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -40,8 +40,8 @@ impl<'a> ModelRatios<'a> { ModelRatios { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ModelRatiosArgs ) -> flatbuffers::WIPOffset> { let mut builder = ModelRatiosBuilder::new(_fbb); @@ -152,11 +152,11 @@ impl<'a> Default for ModelRatiosArgs { } } -pub struct ModelRatiosBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ModelRatiosBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelRatiosBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ModelRatiosBuilder<'a, 'b> { #[inline] pub fn add_impute_waist_from_chest_hip(&mut self, impute_waist_from_chest_hip: f32) { self.fbb_.push_slot_always::(ModelRatios::VT_IMPUTE_WAIST_FROM_CHEST_HIP, impute_waist_from_chest_hip); @@ -186,7 +186,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelRatiosBuilder<'a, 'b, A> { self.fbb_.push_slot_always::(ModelRatios::VT_INTERP_KNEE_ANKLE, interp_knee_ankle); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ModelRatiosBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ModelRatiosBuilder<'a, 'b> { let start = _fbb.start_table(); ModelRatiosBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs index b0229c85..fed1b713 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_settings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ModelSettings<'a> { type Inner = ModelSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> ModelSettings<'a> { ModelSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ModelSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = ModelSettingsBuilder::new(_fbb); @@ -112,11 +112,11 @@ impl<'a> Default for ModelSettingsArgs<'a> { } } -pub struct ModelSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ModelSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ModelSettingsBuilder<'a, 'b> { #[inline] pub fn add_toggles(&mut self, toggles: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(ModelSettings::VT_TOGGLES, toggles); @@ -134,7 +134,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelSettingsBuilder<'a, 'b, A> self.fbb_.push_slot_always::>(ModelSettings::VT_SKELETON_HEIGHT, skeleton_height); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ModelSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ModelSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); ModelSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs index fb2a105e..b04b7eb4 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/model_toggles_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for ModelToggles<'a> { type Inner = ModelToggles<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -44,8 +44,8 @@ impl<'a> ModelToggles<'a> { ModelToggles { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args ModelTogglesArgs ) -> flatbuffers::WIPOffset> { let mut builder = ModelTogglesBuilder::new(_fbb); @@ -208,11 +208,11 @@ impl<'a> Default for ModelTogglesArgs { } } -pub struct ModelTogglesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct ModelTogglesBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelTogglesBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> ModelTogglesBuilder<'a, 'b> { #[inline] pub fn add_extended_spine(&mut self, extended_spine: bool) { self.fbb_.push_slot_always::(ModelToggles::VT_EXTENDED_SPINE, extended_spine); @@ -262,7 +262,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> ModelTogglesBuilder<'a, 'b, A> self.fbb_.push_slot_always::(ModelToggles::VT_CORRECT_CONSTRAINTS, correct_constraints); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ModelTogglesBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> ModelTogglesBuilder<'a, 'b> { let start = _fbb.start_table(); ModelTogglesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs index 18945e63..9bd87f27 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings/skeleton_height_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonHeight<'a> { type Inner = SkeletonHeight<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> SkeletonHeight<'a> { SkeletonHeight { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SkeletonHeightArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonHeightBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SkeletonHeightArgs { } } -pub struct SkeletonHeightBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SkeletonHeightBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonHeightBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SkeletonHeightBuilder<'a, 'b> { #[inline] pub fn add_hmd_height(&mut self, hmd_height: f32) { self.fbb_.push_slot_always::(SkeletonHeight::VT_HMD_HEIGHT, hmd_height); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonHeightBuilder<'a, 'b, A self.fbb_.push_slot_always::(SkeletonHeight::VT_FLOOR_HEIGHT, floor_height); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonHeightBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonHeightBuilder<'a, 'b> { let start = _fbb.start_table(); SkeletonHeightBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs index 3226e1b7..23376956 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SettingsRequest<'a> { type Inner = SettingsRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> SettingsRequest<'a> { SettingsRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SettingsRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SettingsRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SettingsRequestArgs { } } -pub struct SettingsRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SettingsRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SettingsRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SettingsRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SettingsRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SettingsRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SettingsRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs index f69e68a9..d90f8c93 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_reset_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SettingsResetRequest<'a> { type Inner = SettingsResetRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> SettingsResetRequest<'a> { SettingsResetRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SettingsResetRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SettingsResetRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SettingsResetRequestArgs { } } -pub struct SettingsResetRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SettingsResetRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SettingsResetRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SettingsResetRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SettingsResetRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SettingsResetRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SettingsResetRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs index ecca2524..d903d098 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/settings_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SettingsResponse<'a> { type Inner = SettingsResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -42,8 +42,8 @@ impl<'a> SettingsResponse<'a> { SettingsResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SettingsResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SettingsResponseBuilder::new(_fbb); @@ -195,11 +195,11 @@ impl<'a> Default for SettingsResponseArgs<'a> { } } -pub struct SettingsResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SettingsResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SettingsResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SettingsResponseBuilder<'a, 'b> { #[inline] pub fn add_steam_vr_trackers(&mut self, steam_vr_trackers: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(SettingsResponse::VT_STEAM_VR_TRACKERS, steam_vr_trackers); @@ -245,7 +245,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SettingsResponseBuilder<'a, 'b, self.fbb_.push_slot_always::>(SettingsResponse::VT_STAY_ALIGNED, stay_aligned); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SettingsResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SettingsResponseBuilder<'a, 'b> { let start = _fbb.start_table(); SettingsResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs index dbba86db..3ea4c310 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs @@ -160,7 +160,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonBone { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -169,7 +169,7 @@ impl flatbuffers::Push for SkeletonBone { type Output = SkeletonBone; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs index 9088a128..08d9c43a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonConfigRequest<'a> { type Inner = SkeletonConfigRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> SkeletonConfigRequest<'a> { SkeletonConfigRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SkeletonConfigRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonConfigRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SkeletonConfigRequestArgs { } } -pub struct SkeletonConfigRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SkeletonConfigRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonConfigRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SkeletonConfigRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonConfigRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonConfigRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SkeletonConfigRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs index 89cf70ac..086e3b13 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_config_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonConfigResponse<'a> { type Inner = SkeletonConfigResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> SkeletonConfigResponse<'a> { SkeletonConfigResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SkeletonConfigResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonConfigResponseBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SkeletonConfigResponseArgs<'a> { } } -pub struct SkeletonConfigResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SkeletonConfigResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonConfigResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SkeletonConfigResponseBuilder<'a, 'b> { #[inline] pub fn add_skeleton_parts(&mut self, skeleton_parts: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(SkeletonConfigResponse::VT_SKELETON_PARTS, skeleton_parts); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonConfigResponseBuilder<' self.fbb_.push_slot::(SkeletonConfigResponse::VT_USER_HEIGHT, user_height, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonConfigResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonConfigResponseBuilder<'a, 'b> { let start = _fbb.start_table(); SkeletonConfigResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs index e0ba2c06..774f117d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_part_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonPart<'a> { type Inner = SkeletonPart<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> SkeletonPart<'a> { SkeletonPart { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SkeletonPartArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonPartBuilder::new(_fbb); @@ -87,11 +87,11 @@ impl<'a> Default for SkeletonPartArgs { } } -pub struct SkeletonPartBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SkeletonPartBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonPartBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SkeletonPartBuilder<'a, 'b> { #[inline] pub fn add_bone(&mut self, bone: SkeletonBone) { self.fbb_.push_slot::(SkeletonPart::VT_BONE, bone, SkeletonBone::NONE); @@ -101,7 +101,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonPartBuilder<'a, 'b, A> self.fbb_.push_slot::(SkeletonPart::VT_VALUE, value, 0.0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonPartBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonPartBuilder<'a, 'b> { let start = _fbb.start_table(); SkeletonPartBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs index d8c2b911..4a3328bd 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_reset_all_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SkeletonResetAllRequest<'a> { type Inner = SkeletonResetAllRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> SkeletonResetAllRequest<'a> { SkeletonResetAllRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args SkeletonResetAllRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = SkeletonResetAllRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for SkeletonResetAllRequestArgs { } } -pub struct SkeletonResetAllRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SkeletonResetAllRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SkeletonResetAllRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SkeletonResetAllRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SkeletonResetAllRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SkeletonResetAllRequestBuilder<'a, 'b> { let start = _fbb.start_table(); SkeletonResetAllRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs index ccd0fbe6..020fc4bb 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/start_wifi_provisioning_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StartWifiProvisioningRequest<'a> { type Inner = StartWifiProvisioningRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -34,8 +34,8 @@ impl<'a> StartWifiProvisioningRequest<'a> { StartWifiProvisioningRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StartWifiProvisioningRequestArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StartWifiProvisioningRequestBuilder::new(_fbb); @@ -99,11 +99,11 @@ impl<'a> Default for StartWifiProvisioningRequestArgs<'a> { } } -pub struct StartWifiProvisioningRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StartWifiProvisioningRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StartWifiProvisioningRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StartWifiProvisioningRequestBuilder<'a, 'b> { #[inline] pub fn add_ssid(&mut self, ssid: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(StartWifiProvisioningRequest::VT_SSID, ssid); @@ -117,7 +117,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StartWifiProvisioningRequestBui self.fbb_.push_slot_always::>(StartWifiProvisioningRequest::VT_PORT, port); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StartWifiProvisioningRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StartWifiProvisioningRequestBuilder<'a, 'b> { let start = _fbb.start_table(); StartWifiProvisioningRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs index e5645a9b..641ced84 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_data_generated.rs @@ -72,7 +72,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusData { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -81,7 +81,7 @@ impl flatbuffers::Push for StatusData { type Output = StatusData; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs index 7ff8741e..3427a5b7 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_message_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusMessage<'a> { type Inner = StatusMessage<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -37,8 +37,8 @@ impl<'a> StatusMessage<'a> { StatusMessage { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusMessageArgs ) -> flatbuffers::WIPOffset> { let mut builder = StatusMessageBuilder::new(_fbb); @@ -198,11 +198,11 @@ impl<'a> Default for StatusMessageArgs { } } -pub struct StatusMessageBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusMessageBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusMessageBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusMessageBuilder<'a, 'b> { #[inline] pub fn add_id(&mut self, id: u32) { self.fbb_.push_slot::(StatusMessage::VT_ID, id, 0); @@ -220,7 +220,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusMessageBuilder<'a, 'b, A> self.fbb_.push_slot_always::>(StatusMessage::VT_DATA, data); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusMessageBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusMessageBuilder<'a, 'b> { let start = _fbb.start_table(); StatusMessageBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs index 9c19bbd1..23d6fb2f 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_public_network_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusPublicNetwork<'a> { type Inner = StatusPublicNetwork<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusPublicNetwork<'a> { StatusPublicNetwork { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusPublicNetworkArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusPublicNetworkBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for StatusPublicNetworkArgs<'a> { } } -pub struct StatusPublicNetworkBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusPublicNetworkBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusPublicNetworkBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusPublicNetworkBuilder<'a, 'b> { #[inline] pub fn add_adapters(&mut self, adapters: flatbuffers::WIPOffset>>) { self.fbb_.push_slot_always::>(StatusPublicNetwork::VT_ADAPTERS, adapters); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusPublicNetworkBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusPublicNetworkBuilder<'a, 'b> { let start = _fbb.start_table(); StatusPublicNetworkBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs index 4467e7e0..875e14f0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_steam_vrdisconnected_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSteamVRDisconnected<'a> { type Inner = StatusSteamVRDisconnected<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusSteamVRDisconnected<'a> { StatusSteamVRDisconnected { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusSteamVRDisconnectedArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusSteamVRDisconnectedBuilder::new(_fbb); @@ -77,17 +77,17 @@ impl<'a> Default for StatusSteamVRDisconnectedArgs<'a> { } } -pub struct StatusSteamVRDisconnectedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusSteamVRDisconnectedBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSteamVRDisconnectedBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusSteamVRDisconnectedBuilder<'a, 'b> { #[inline] pub fn add_bridge_settings_name(&mut self, bridge_settings_name: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(StatusSteamVRDisconnected::VT_BRIDGE_SETTINGS_NAME, bridge_settings_name); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSteamVRDisconnectedBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSteamVRDisconnectedBuilder<'a, 'b> { let start = _fbb.start_table(); StatusSteamVRDisconnectedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs index d451afe7..748d2348 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_fixed_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemFixed<'a> { type Inner = StatusSystemFixed<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusSystemFixed<'a> { StatusSystemFixed { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusSystemFixedArgs ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemFixedBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusSystemFixedArgs { } } -pub struct StatusSystemFixedBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusSystemFixedBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemFixedBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusSystemFixedBuilder<'a, 'b> { #[inline] pub fn add_fixed_status_id(&mut self, fixed_status_id: u32) { self.fbb_.push_slot::(StatusSystemFixed::VT_FIXED_STATUS_ID, fixed_status_id, 0); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemFixedBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemFixedBuilder<'a, 'b> { let start = _fbb.start_table(); StatusSystemFixedBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs index 88b0b017..a11ddb75 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemRequest<'a> { type Inner = StatusSystemRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> StatusSystemRequest<'a> { StatusSystemRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args StatusSystemRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for StatusSystemRequestArgs { } } -pub struct StatusSystemRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusSystemRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusSystemRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemRequestBuilder<'a, 'b> { let start = _fbb.start_table(); StatusSystemRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs index dac56a4e..c656f3f7 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_response_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemResponse<'a> { type Inner = StatusSystemResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusSystemResponse<'a> { StatusSystemResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusSystemResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemResponseBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusSystemResponseArgs<'a> { } } -pub struct StatusSystemResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusSystemResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusSystemResponseBuilder<'a, 'b> { #[inline] pub fn add_current_statuses(&mut self, current_statuses: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StatusSystemResponse::VT_CURRENT_STATUSES, current_statuses); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemResponseBuilder<'a, 'b> { let start = _fbb.start_table(); StatusSystemResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs index 1661b5eb..d4639465 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_system_update_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusSystemUpdate<'a> { type Inner = StatusSystemUpdate<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusSystemUpdate<'a> { StatusSystemUpdate { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusSystemUpdateArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusSystemUpdateBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusSystemUpdateArgs<'a> { } } -pub struct StatusSystemUpdateBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusSystemUpdateBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusSystemUpdateBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusSystemUpdateBuilder<'a, 'b> { #[inline] pub fn add_new_status(&mut self, new_status: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(StatusSystemUpdate::VT_NEW_STATUS, new_status); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusSystemUpdateBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusSystemUpdateBuilder<'a, 'b> { let start = _fbb.start_table(); StatusSystemUpdateBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs index dad413a5..18bc87f1 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_error_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusTrackerError<'a> { type Inner = StatusTrackerError<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusTrackerError<'a> { StatusTrackerError { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusTrackerErrorArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusTrackerErrorBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusTrackerErrorArgs<'a> { } } -pub struct StatusTrackerErrorBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusTrackerErrorBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusTrackerErrorBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusTrackerErrorBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StatusTrackerError::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusTrackerErrorBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusTrackerErrorBuilder<'a, 'b> { let start = _fbb.start_table(); StatusTrackerErrorBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs index bf018982..a1a125cd 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_tracker_reset_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusTrackerReset<'a> { type Inner = StatusTrackerReset<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusTrackerReset<'a> { StatusTrackerReset { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusTrackerResetArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusTrackerResetBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusTrackerResetArgs<'a> { } } -pub struct StatusTrackerResetBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusTrackerResetBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusTrackerResetBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusTrackerResetBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>>>) { self.fbb_.push_slot_always::>(StatusTrackerReset::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusTrackerResetBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusTrackerResetBuilder<'a, 'b> { let start = _fbb.start_table(); StatusTrackerResetBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs index 43726d83..3e728c0e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/status_unassigned_hmd_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for StatusUnassignedHMD<'a> { type Inner = StatusUnassignedHMD<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> StatusUnassignedHMD<'a> { StatusUnassignedHMD { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StatusUnassignedHMDArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = StatusUnassignedHMDBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for StatusUnassignedHMDArgs<'a> { } } -pub struct StatusUnassignedHMDBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StatusUnassignedHMDBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StatusUnassignedHMDBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StatusUnassignedHMDBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(StatusUnassignedHMD::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StatusUnassignedHMDBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StatusUnassignedHMDBuilder<'a, 'b> { let start = _fbb.start_table(); StatusUnassignedHMDBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs index 11a3ba27..7386b63c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_relaxed_pose_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedRelaxedPose { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for StayAlignedRelaxedPose { type Output = StayAlignedRelaxedPose; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs index 03dff9a7..fb2d5408 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/stay_aligned_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StayAlignedSettings<'a> { type Inner = StayAlignedSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -47,8 +47,8 @@ impl<'a> StayAlignedSettings<'a> { StayAlignedSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args StayAlignedSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = StayAlignedSettingsBuilder::new(_fbb); @@ -255,11 +255,11 @@ impl<'a> Default for StayAlignedSettingsArgs { } } -pub struct StayAlignedSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StayAlignedSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StayAlignedSettingsBuilder<'a, 'b> { #[inline] pub fn add_enabled(&mut self, enabled: bool) { self.fbb_.push_slot::(StayAlignedSettings::VT_ENABLED, enabled, false); @@ -325,7 +325,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StayAlignedSettingsBuilder<'a, self.fbb_.push_slot::(StayAlignedSettings::VT_SETUPCOMPLETE, setupComplete, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StayAlignedSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StayAlignedSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); StayAlignedSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs index fa3ea27a..77165e29 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for SteamVRTrackersSetting<'a> { type Inner = SteamVRTrackersSetting<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -42,8 +42,8 @@ impl<'a> SteamVRTrackersSetting<'a> { SteamVRTrackersSetting { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args SteamVRTrackersSettingArgs ) -> flatbuffers::WIPOffset> { let mut builder = SteamVRTrackersSettingBuilder::new(_fbb); @@ -195,11 +195,11 @@ impl<'a> Default for SteamVRTrackersSettingArgs { } } -pub struct SteamVRTrackersSettingBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct SteamVRTrackersSettingBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SteamVRTrackersSettingBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> SteamVRTrackersSettingBuilder<'a, 'b> { #[inline] pub fn add_waist(&mut self, waist: bool) { self.fbb_.push_slot::(SteamVRTrackersSetting::VT_WAIST, waist, false); @@ -245,7 +245,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> SteamVRTrackersSettingBuilder<' self.fbb_.push_slot::(SteamVRTrackersSetting::VT_RIGHT_HAND, right_hand, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> SteamVRTrackersSettingBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SteamVRTrackersSettingBuilder<'a, 'b> { let start = _fbb.start_table(); SteamVRTrackersSettingBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs index 870624fa..cb902718 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/stop_wifi_provisioning_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for StopWifiProvisioningRequest<'a> { type Inner = StopWifiProvisioningRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> StopWifiProvisioningRequest<'a> { StopWifiProvisioningRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args StopWifiProvisioningRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = StopWifiProvisioningRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for StopWifiProvisioningRequestArgs { } } -pub struct StopWifiProvisioningRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct StopWifiProvisioningRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> StopWifiProvisioningRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> StopWifiProvisioningRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> StopWifiProvisioningRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> StopWifiProvisioningRequestBuilder<'a, 'b> { let start = _fbb.start_table(); StopWifiProvisioningRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs index d42d93c9..79052ba2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_settings_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for TapDetectionSettings<'a> { type Inner = TapDetectionSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -42,8 +42,8 @@ impl<'a> TapDetectionSettings<'a> { TapDetectionSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TapDetectionSettingsArgs ) -> flatbuffers::WIPOffset> { let mut builder = TapDetectionSettingsBuilder::new(_fbb); @@ -197,11 +197,11 @@ impl<'a> Default for TapDetectionSettingsArgs { } } -pub struct TapDetectionSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TapDetectionSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TapDetectionSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TapDetectionSettingsBuilder<'a, 'b> { #[inline] pub fn add_full_reset_delay(&mut self, full_reset_delay: f32) { self.fbb_.push_slot_always::(TapDetectionSettings::VT_FULL_RESET_DELAY, full_reset_delay); @@ -247,7 +247,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TapDetectionSettingsBuilder<'a, self.fbb_.push_slot_always::(TapDetectionSettings::VT_NUMBER_TRACKERS_OVER_THRESHOLD, number_trackers_over_threshold); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TapDetectionSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TapDetectionSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); TapDetectionSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs index 75f881ec..d0fe0c48 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tap_detection_setup_notification_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TapDetectionSetupNotification<'a> { type Inner = TapDetectionSetupNotification<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -33,8 +33,8 @@ impl<'a> TapDetectionSetupNotification<'a> { TapDetectionSetupNotification { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TapDetectionSetupNotificationArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = TapDetectionSetupNotificationBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for TapDetectionSetupNotificationArgs<'a> { } } -pub struct TapDetectionSetupNotificationBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TapDetectionSetupNotificationBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TapDetectionSetupNotificationBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TapDetectionSetupNotificationBuilder<'a, 'b> { #[inline] pub fn add_tracker_id(&mut self, tracker_id: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(TapDetectionSetupNotification::VT_TRACKER_ID, tracker_id); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TapDetectionSetupNotificationBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TapDetectionSetupNotificationBuilder<'a, 'b> { let start = _fbb.start_table(); TapDetectionSetupNotificationBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs index 987c8ad1..f1ba88e0 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_request_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackingPauseStateRequest<'a> { type Inner = TrackingPauseStateRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> TrackingPauseStateRequest<'a> { TrackingPauseStateRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args TrackingPauseStateRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = TrackingPauseStateRequestBuilder::new(_fbb); @@ -63,13 +63,13 @@ impl<'a> Default for TrackingPauseStateRequestArgs { } } -pub struct TrackingPauseStateRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TrackingPauseStateRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackingPauseStateRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TrackingPauseStateRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackingPauseStateRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackingPauseStateRequestBuilder<'a, 'b> { let start = _fbb.start_table(); TrackingPauseStateRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs index a501b675..210e6b35 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/tracking_pause_state_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for TrackingPauseStateResponse<'a> { type Inner = TrackingPauseStateResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> TrackingPauseStateResponse<'a> { TrackingPauseStateResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args TrackingPauseStateResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = TrackingPauseStateResponseBuilder::new(_fbb); @@ -76,17 +76,17 @@ impl<'a> Default for TrackingPauseStateResponseArgs { } } -pub struct TrackingPauseStateResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct TrackingPauseStateResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> TrackingPauseStateResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> TrackingPauseStateResponseBuilder<'a, 'b> { #[inline] pub fn add_trackingPaused(&mut self, trackingPaused: bool) { self.fbb_.push_slot::(TrackingPauseStateResponse::VT_TRACKINGPAUSED, trackingPaused, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> TrackingPauseStateResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> TrackingPauseStateResponseBuilder<'a, 'b> { let start = _fbb.start_table(); TrackingPauseStateResponseBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs index 15e3b6a9..99ba50df 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/unknown_device_handshake_notification_generated.rs @@ -23,7 +23,7 @@ impl<'a> flatbuffers::Follow<'a> for UnknownDeviceHandshakeNotification<'a> { type Inner = UnknownDeviceHandshakeNotification<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -35,8 +35,8 @@ impl<'a> UnknownDeviceHandshakeNotification<'a> { UnknownDeviceHandshakeNotification { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args UnknownDeviceHandshakeNotificationArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = UnknownDeviceHandshakeNotificationBuilder::new(_fbb); @@ -78,17 +78,17 @@ impl<'a> Default for UnknownDeviceHandshakeNotificationArgs<'a> { } } -pub struct UnknownDeviceHandshakeNotificationBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct UnknownDeviceHandshakeNotificationBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> UnknownDeviceHandshakeNotificationBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> UnknownDeviceHandshakeNotificationBuilder<'a, 'b> { #[inline] pub fn add_mac_address(&mut self, mac_address: flatbuffers::WIPOffset<&'b str>) { self.fbb_.push_slot_always::>(UnknownDeviceHandshakeNotification::VT_MAC_ADDRESS, mac_address); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> UnknownDeviceHandshakeNotificationBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> UnknownDeviceHandshakeNotificationBuilder<'a, 'b> { let start = _fbb.start_table(); UnknownDeviceHandshakeNotificationBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs index fce78f6f..7002828c 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vmcoscsettings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for VMCOSCSettings<'a> { type Inner = VMCOSCSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -36,8 +36,8 @@ impl<'a> VMCOSCSettings<'a> { VMCOSCSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args VMCOSCSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VMCOSCSettingsBuilder::new(_fbb); @@ -112,11 +112,11 @@ impl<'a> Default for VMCOSCSettingsArgs<'a> { } } -pub struct VMCOSCSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct VMCOSCSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VMCOSCSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> VMCOSCSettingsBuilder<'a, 'b> { #[inline] pub fn add_osc_settings(&mut self, osc_settings: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(VMCOSCSettings::VT_OSC_SETTINGS, osc_settings); @@ -134,7 +134,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VMCOSCSettingsBuilder<'a, 'b, A self.fbb_.push_slot::(VMCOSCSettings::VT_MIRROR_TRACKING, mirror_tracking, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VMCOSCSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VMCOSCSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); VMCOSCSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs index 18f08df8..707848b6 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcavatar_measurement_type_generated.rs @@ -60,7 +60,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCAvatarMeasurementType { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -69,7 +69,7 @@ impl flatbuffers::Push for VRCAvatarMeasurementType { type Output = VRCAvatarMeasurementType; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs index 90123849..cfc5c76a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_recommended_values_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigRecommendedValues<'a> { type Inner = VRCConfigRecommendedValues<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -40,8 +40,8 @@ impl<'a> VRCConfigRecommendedValues<'a> { VRCConfigRecommendedValues { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args VRCConfigRecommendedValuesArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigRecommendedValuesBuilder::new(_fbb); @@ -171,11 +171,11 @@ impl<'a> Default for VRCConfigRecommendedValuesArgs<'a> { } } -pub struct VRCConfigRecommendedValuesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct VRCConfigRecommendedValuesBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigRecommendedValuesBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> VRCConfigRecommendedValuesBuilder<'a, 'b> { #[inline] pub fn add_legacy_mode(&mut self, legacy_mode: bool) { self.fbb_.push_slot::(VRCConfigRecommendedValues::VT_LEGACY_MODE, legacy_mode, false); @@ -213,7 +213,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigRecommendedValuesBuild self.fbb_.push_slot::(VRCConfigRecommendedValues::VT_SHOULDER_WIDTH_COMPENSATION, shoulder_width_compensation, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigRecommendedValuesBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigRecommendedValuesBuilder<'a, 'b> { let start = _fbb.start_table(); VRCConfigRecommendedValuesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs index 28bec8bc..eb78c06b 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_change_response_generated.rs @@ -22,7 +22,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigStateChangeResponse<'a> { type Inner = VRCConfigStateChangeResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -38,8 +38,8 @@ impl<'a> VRCConfigStateChangeResponse<'a> { VRCConfigStateChangeResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args VRCConfigStateChangeResponseArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigStateChangeResponseBuilder::new(_fbb); @@ -125,11 +125,11 @@ impl<'a> Default for VRCConfigStateChangeResponseArgs<'a> { } } -pub struct VRCConfigStateChangeResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct VRCConfigStateChangeResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigStateChangeResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> VRCConfigStateChangeResponseBuilder<'a, 'b> { #[inline] pub fn add_is_supported(&mut self, is_supported: bool) { self.fbb_.push_slot::(VRCConfigStateChangeResponse::VT_IS_SUPPORTED, is_supported, false); diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs index aa2cbead..dc91b371 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_state_request_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigStateRequest<'a> { type Inner = VRCConfigStateRequest<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -31,8 +31,8 @@ impl<'a> VRCConfigStateRequest<'a> { VRCConfigStateRequest { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, _args: &'args VRCConfigStateRequestArgs ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigStateRequestBuilder::new(_fbb); @@ -62,13 +62,13 @@ impl<'a> Default for VRCConfigStateRequestArgs { } } -pub struct VRCConfigStateRequestBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct VRCConfigStateRequestBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigStateRequestBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> VRCConfigStateRequestBuilder<'a, 'b> { #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigStateRequestBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigStateRequestBuilder<'a, 'b> { let start = _fbb.start_table(); VRCConfigStateRequestBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs index 0240cd0d..2627c578 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_validity_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigValidity<'a> { type Inner = VRCConfigValidity<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -40,8 +40,8 @@ impl<'a> VRCConfigValidity<'a> { VRCConfigValidity { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args VRCConfigValidityArgs ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigValidityBuilder::new(_fbb); @@ -171,11 +171,11 @@ impl<'a> Default for VRCConfigValidityArgs { } } -pub struct VRCConfigValidityBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct VRCConfigValidityBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigValidityBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> VRCConfigValidityBuilder<'a, 'b> { #[inline] pub fn add_legacy_mode_ok(&mut self, legacy_mode_ok: bool) { self.fbb_.push_slot::(VRCConfigValidity::VT_LEGACY_MODE_OK, legacy_mode_ok, false); @@ -213,7 +213,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigValidityBuilder<'a, 'b self.fbb_.push_slot::(VRCConfigValidity::VT_SHOULDER_WIDTH_COMPENSATION_OK, shoulder_width_compensation_ok, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigValidityBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigValidityBuilder<'a, 'b> { let start = _fbb.start_table(); VRCConfigValidityBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs index 9178dc47..2610c40a 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcconfig_values_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCConfigValues<'a> { type Inner = VRCConfigValues<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -40,8 +40,8 @@ impl<'a> VRCConfigValues<'a> { VRCConfigValues { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args VRCConfigValuesArgs ) -> flatbuffers::WIPOffset> { let mut builder = VRCConfigValuesBuilder::new(_fbb); @@ -171,11 +171,11 @@ impl<'a> Default for VRCConfigValuesArgs { } } -pub struct VRCConfigValuesBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct VRCConfigValuesBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigValuesBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> VRCConfigValuesBuilder<'a, 'b> { #[inline] pub fn add_legacy_mode(&mut self, legacy_mode: bool) { self.fbb_.push_slot::(VRCConfigValues::VT_LEGACY_MODE, legacy_mode, false); @@ -213,7 +213,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCConfigValuesBuilder<'a, 'b, self.fbb_.push_slot::(VRCConfigValues::VT_SHOULDER_WIDTH_COMPENSATION, shoulder_width_compensation, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCConfigValuesBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCConfigValuesBuilder<'a, 'b> { let start = _fbb.start_table(); VRCConfigValuesBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs index f54bd9d6..f7efc54e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcoscsettings_generated.rs @@ -21,7 +21,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCOSCSettings<'a> { type Inner = VRCOSCSettings<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -35,8 +35,8 @@ impl<'a> VRCOSCSettings<'a> { VRCOSCSettings { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args VRCOSCSettingsArgs<'args> ) -> flatbuffers::WIPOffset> { let mut builder = VRCOSCSettingsBuilder::new(_fbb); @@ -100,11 +100,11 @@ impl<'a> Default for VRCOSCSettingsArgs<'a> { } } -pub struct VRCOSCSettingsBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct VRCOSCSettingsBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCOSCSettingsBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> VRCOSCSettingsBuilder<'a, 'b> { #[inline] pub fn add_osc_settings(&mut self, osc_settings: flatbuffers::WIPOffset>) { self.fbb_.push_slot_always::>(VRCOSCSettings::VT_OSC_SETTINGS, osc_settings); @@ -118,7 +118,7 @@ impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> VRCOSCSettingsBuilder<'a, 'b, A self.fbb_.push_slot::(VRCOSCSettings::VT_OSCQUERY_ENABLED, oscquery_enabled, false); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> VRCOSCSettingsBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> VRCOSCSettingsBuilder<'a, 'b> { let start = _fbb.start_table(); VRCOSCSettingsBuilder { fbb_: _fbb, diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs index 6ecd5703..7bd20071 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrcspine_mode_generated.rs @@ -64,7 +64,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCSpineMode { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -73,7 +73,7 @@ impl flatbuffers::Push for VRCSpineMode { type Output = VRCSpineMode; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs index d49da564..f6d89aa7 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/vrctracker_model_generated.rs @@ -68,7 +68,7 @@ impl<'a> flatbuffers::Follow<'a> for VRCTrackerModel { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -77,7 +77,7 @@ impl flatbuffers::Push for VRCTrackerModel { type Output = VRCTrackerModel; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs index 7cac5961..9279f93e 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_generated.rs @@ -92,7 +92,7 @@ impl<'a> flatbuffers::Follow<'a> for WifiProvisioningStatus { type Inner = Self; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - let b = unsafe { flatbuffers::read_scalar_at::(buf, loc) }; + let b = flatbuffers::read_scalar_at::(buf, loc); Self(b) } } @@ -101,7 +101,7 @@ impl flatbuffers::Push for WifiProvisioningStatus { type Output = WifiProvisioningStatus; #[inline] unsafe fn push(&self, dst: &mut [u8], _written_len: usize) { - unsafe { flatbuffers::emplace_scalar::(dst, self.0); } + flatbuffers::emplace_scalar::(dst, self.0); } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs index 64a1b5b0..9621a878 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/wifi_provisioning_status_response_generated.rs @@ -20,7 +20,7 @@ impl<'a> flatbuffers::Follow<'a> for WifiProvisioningStatusResponse<'a> { type Inner = WifiProvisioningStatusResponse<'a>; #[inline] unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { - Self { _tab: unsafe { flatbuffers::Table::new(buf, loc) } } + Self { _tab: flatbuffers::Table::new(buf, loc) } } } @@ -32,8 +32,8 @@ impl<'a> WifiProvisioningStatusResponse<'a> { WifiProvisioningStatusResponse { _tab: table } } #[allow(unused_mut)] - pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: flatbuffers::Allocator + 'bldr>( - _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr, A>, + pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( + _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, args: &'args WifiProvisioningStatusResponseArgs ) -> flatbuffers::WIPOffset> { let mut builder = WifiProvisioningStatusResponseBuilder::new(_fbb); @@ -75,17 +75,17 @@ impl<'a> Default for WifiProvisioningStatusResponseArgs { } } -pub struct WifiProvisioningStatusResponseBuilder<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> { - fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, +pub struct WifiProvisioningStatusResponseBuilder<'a: 'b, 'b> { + fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, start_: flatbuffers::WIPOffset, } -impl<'a: 'b, 'b, A: flatbuffers::Allocator + 'a> WifiProvisioningStatusResponseBuilder<'a, 'b, A> { +impl<'a: 'b, 'b> WifiProvisioningStatusResponseBuilder<'a, 'b> { #[inline] pub fn add_status(&mut self, status: WifiProvisioningStatus) { self.fbb_.push_slot::(WifiProvisioningStatusResponse::VT_STATUS, status, WifiProvisioningStatus::NONE); } #[inline] - pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> WifiProvisioningStatusResponseBuilder<'a, 'b, A> { + pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> WifiProvisioningStatusResponseBuilder<'a, 'b> { let start = _fbb.start_table(); WifiProvisioningStatusResponseBuilder { fbb_: _fbb, diff --git a/protocol/typescript/src/all.ts b/protocol/typescript/src/all.ts deleted file mode 100644 index 9a862fe3..00000000 --- a/protocol/typescript/src/all.ts +++ /dev/null @@ -1,5 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export * as solarxr_protocol from './solarxr-protocol.js'; diff --git a/protocol/typescript/src/solarxr-protocol.ts b/protocol/typescript/src/solarxr-protocol.ts deleted file mode 100644 index 43d18868..00000000 --- a/protocol/typescript/src/solarxr-protocol.ts +++ /dev/null @@ -1,9 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { MessageBundle, MessageBundleT } from './solarxr-protocol/message-bundle.js'; -export * as data_feed from './solarxr-protocol/data-feed.js'; -export * as datatypes from './solarxr-protocol/datatypes.js'; -export * as pub_sub from './solarxr-protocol/pub-sub.js'; -export * as rpc from './solarxr-protocol/rpc.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed.ts b/protocol/typescript/src/solarxr-protocol/data-feed.ts deleted file mode 100644 index 0eed1896..00000000 --- a/protocol/typescript/src/solarxr-protocol/data-feed.ts +++ /dev/null @@ -1,17 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { Bone, BoneT } from './data-feed/bone.js'; -export { DataFeedConfig, DataFeedConfigT } from './data-feed/data-feed-config.js'; -export { DataFeedMessage } from './data-feed/data-feed-message.js'; -export { DataFeedMessageHeader, DataFeedMessageHeaderT } from './data-feed/data-feed-message-header.js'; -export { DataFeedUpdate, DataFeedUpdateT } from './data-feed/data-feed-update.js'; -export { PollDataFeed, PollDataFeedT } from './data-feed/poll-data-feed.js'; -export { StartDataFeed, StartDataFeedT } from './data-feed/start-data-feed.js'; -export * as device_data from './data-feed/device-data.js'; -export * as stay_aligned from './data-feed/stay-aligned.js'; -export * as tracker from './data-feed/tracker.js'; -export * as hardware_info from './datatypes/hardware-info.js'; -export * as math from './datatypes/math.js'; -export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts b/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts index c26c21f4..5f89f173 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/bone.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts index 8b7a8362..043a8da5 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-config.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DeviceDataMask, DeviceDataMaskT } from '../../solarxr-protocol/data-feed/device-data/device-data-mask.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts index a74ebdb8..b2094a6d 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message-header.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts index efdaf755..e7236d71 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-message.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; import { DataFeedUpdate, DataFeedUpdateT } from '../../solarxr-protocol/data-feed/data-feed-update.js'; import { PollDataFeed, PollDataFeedT } from '../../solarxr-protocol/data-feed/poll-data-feed.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts index aafe7394..5c2fd13c 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/data-feed-update.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { Bone, BoneT } from '../../solarxr-protocol/data-feed/bone.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts b/protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts deleted file mode 100644 index 60a6f99e..00000000 --- a/protocol/typescript/src/solarxr-protocol/data-feed/device-data.ts +++ /dev/null @@ -1,6 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { DeviceData, DeviceDataT } from './device-data/device-data.js'; -export { DeviceDataMask, DeviceDataMaskT } from './device-data/device-data-mask.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts index 4a6678c4..2f18870c 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data-mask.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerDataMask, TrackerDataMaskT } from '../../../solarxr-protocol/data-feed/tracker/tracker-data-mask.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts index 97718720..cf35b8de 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/device-data/device-data.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerData, TrackerDataT } from '../../../solarxr-protocol/data-feed/tracker/tracker-data.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts b/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts index 9f68a1ee..f03b966f 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/poll-data-feed.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts b/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts index d5020db7..c1107acc 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/start-data-feed.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DataFeedConfig, DataFeedConfigT } from '../../solarxr-protocol/data-feed/data-feed-config.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts deleted file mode 100644 index c59bdb5d..00000000 --- a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned.ts +++ /dev/null @@ -1,6 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { StayAlignedPose, StayAlignedPoseT } from './stay-aligned/stay-aligned-pose.js'; -export { StayAlignedTracker, StayAlignedTrackerT } from './stay-aligned/stay-aligned-tracker.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts index 5848c05e..9ef4f1d4 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-pose.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts index c0b06e8b..915e20b2 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts deleted file mode 100644 index d0c155df..00000000 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker.ts +++ /dev/null @@ -1,7 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { TrackerData, TrackerDataT } from './tracker/tracker-data.js'; -export { TrackerDataMask, TrackerDataMaskT } from './tracker/tracker-data-mask.js'; -export { TrackerInfo, TrackerInfoT } from './tracker/tracker-info.js'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts index e8c13c0e..e69a7991 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data-mask.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts index 066c6d60..41de3014 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-data.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { StayAlignedTracker, StayAlignedTrackerT } from '../../../solarxr-protocol/data-feed/stay-aligned/stay-aligned-tracker.js'; @@ -200,7 +198,7 @@ static addRotationIdentityAdjusted(builder:flatbuffers.Builder, rotationIdentity } static addTps(builder:flatbuffers.Builder, tps:number) { - builder.addFieldInt16(11, tps, null); + builder.addFieldInt16(11, tps, 0); } static addRawMagneticVector(builder:flatbuffers.Builder, rawMagneticVectorOffset:flatbuffers.Offset) { diff --git a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts index 1ccd161c..fdc18316 100644 --- a/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts +++ b/protocol/typescript/src/solarxr-protocol/data-feed/tracker/tracker-info.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes.ts b/protocol/typescript/src/solarxr-protocol/datatypes.ts deleted file mode 100644 index 2db371b6..00000000 --- a/protocol/typescript/src/solarxr-protocol/datatypes.ts +++ /dev/null @@ -1,27 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { BodyPart } from './datatypes/body-part.js'; -export { Bytes, BytesT } from './datatypes/bytes.js'; -export { DeviceId, DeviceIdT } from './datatypes/device-id.js'; -export { DeviceIdTable, DeviceIdTableT } from './datatypes/device-id-table.js'; -export { FilteringType } from './datatypes/filtering-type.js'; -export { FirmwareErrorCode } from './datatypes/firmware-error-code.js'; -export { HzF32, HzF32T } from './datatypes/hz-f32.js'; -export { Ipv4Address, Ipv4AddressT } from './datatypes/ipv4-address.js'; -export { LogData, LogDataT } from './datatypes/log-data.js'; -export { MagnetometerStatus } from './datatypes/magnetometer-status.js'; -export { RestCalibrationStatus } from './datatypes/rest-calibration-status.js'; -export { StringTable, StringTableT } from './datatypes/string-table.js'; -export { Temperature, TemperatureT } from './datatypes/temperature.js'; -export { TrackerId, TrackerIdT } from './datatypes/tracker-id.js'; -export { TrackerRole } from './datatypes/tracker-role.js'; -export { TrackerStatus } from './datatypes/tracker-status.js'; -export { TransactionId, TransactionIdT } from './datatypes/transaction-id.js'; -export * as device_data from './data-feed/device-data.js'; -export * as stay_aligned from './data-feed/stay-aligned.js'; -export * as tracker from './data-feed/tracker.js'; -export * as hardware_info from './datatypes/hardware-info.js'; -export * as math from './datatypes/math.js'; -export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts index 47193723..4d3ddfea 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - /** * Different parts of the body. Maps to each possible non-tracker bone in the skeleton. * These are *NOT* the trackers. diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts b/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts index 1745420b..0e6eb939 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/bytes.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts b/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts index 85e3ed34..e036d3b0 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/device-id-table.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DeviceId, DeviceIdT } from '../../solarxr-protocol/datatypes/device-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts b/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts index b9b38442..f39f2cbe 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/device-id.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts index 3f6083d6..06d506b8 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/filtering-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - /** * Used for filtering tracker rotations in software */ diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts b/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts index 7b196275..bacf1a51 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/firmware-error-code.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - /** * A list of error codes for error conditions on the device */ diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts deleted file mode 100644 index ee960a17..00000000 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info.ts +++ /dev/null @@ -1,12 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { BoardType } from './hardware-info/board-type.js'; -export { FirmwareStatusMask, FirmwareStatusMaskT } from './hardware-info/firmware-status-mask.js'; -export { HardwareAddress, HardwareAddressT } from './hardware-info/hardware-address.js'; -export { HardwareInfo, HardwareInfoT } from './hardware-info/hardware-info.js'; -export { HardwareStatus, HardwareStatusT } from './hardware-info/hardware-status.js'; -export { ImuType } from './hardware-info/imu-type.js'; -export { McuType } from './hardware-info/mcu-type.js'; -export { TrackerDataType } from './hardware-info/tracker-data-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts index e4c73f96..fb4786b9 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/board-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum BoardType { UNKNOWN = 0, SLIMEVR_LEGACY = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts index 65f6e974..88ae7de2 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/firmware-status-mask.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts index 989ba295..0bcbf4cf 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-address.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -30,7 +28,7 @@ static sizeOf():number { static createHardwareAddress(builder:flatbuffers.Builder, addr: bigint):flatbuffers.Offset { builder.prep(8, 8); - builder.writeInt64(BigInt(addr ?? 0)); + builder.writeInt64(addr); return builder.offset(); } diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts index ad36e4ce..b7066f4a 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-info.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { Ipv4Address, Ipv4AddressT } from '../../../solarxr-protocol/datatypes/ipv4-address.js'; @@ -182,7 +180,7 @@ static addHardwareIdentifier(builder:flatbuffers.Builder, hardwareIdentifierOffs } static addNetworkProtocolVersion(builder:flatbuffers.Builder, networkProtocolVersion:number) { - builder.addFieldInt16(11, networkProtocolVersion, null); + builder.addFieldInt16(11, networkProtocolVersion, 0); } static endHardwareInfo(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts index 744173bf..0890b859 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/hardware-status.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { FirmwareErrorCode } from '../../../solarxr-protocol/datatypes/firmware-error-code.js'; @@ -75,27 +73,27 @@ static startHardwareStatus(builder:flatbuffers.Builder) { } static addErrorStatus(builder:flatbuffers.Builder, errorStatus:FirmwareErrorCode) { - builder.addFieldInt8(0, errorStatus, null); + builder.addFieldInt8(0, errorStatus, 0); } static addPing(builder:flatbuffers.Builder, ping:number) { - builder.addFieldInt16(2, ping, null); + builder.addFieldInt16(2, ping, 0); } static addRssi(builder:flatbuffers.Builder, rssi:number) { - builder.addFieldInt16(3, rssi, null); + builder.addFieldInt16(3, rssi, 0); } static addMcuTemp(builder:flatbuffers.Builder, mcuTemp:number) { - builder.addFieldFloat32(4, mcuTemp, null); + builder.addFieldFloat32(4, mcuTemp, 0); } static addBatteryVoltage(builder:flatbuffers.Builder, batteryVoltage:number) { - builder.addFieldFloat32(5, batteryVoltage, null); + builder.addFieldFloat32(5, batteryVoltage, 0); } static addBatteryPctEstimate(builder:flatbuffers.Builder, batteryPctEstimate:number) { - builder.addFieldInt8(6, batteryPctEstimate, null); + builder.addFieldInt8(6, batteryPctEstimate, 0); } static addLogData(builder:flatbuffers.Builder, logDataOffset:flatbuffers.Offset) { diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts index f738c8ad..496e80b3 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/imu-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum ImuType { Other = 0, MPU9250 = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts index e0cf2902..48389c65 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/mcu-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum McuType { Other = 0, ESP8266 = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts index 1542c6af..7bf934ad 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hardware-info/tracker-data-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - /** * What kind of data the tracker supports.The received data gets computed into a Quaternion rotation in any case. */ diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts b/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts index 24b20368..f3432e1c 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/hz-f32.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts b/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts index 44b541e2..bf11110e 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/ipv4-address.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts b/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts index 5128589f..213172aa 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/log-data.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts index c80e25f4..4d8dbe4d 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/magnetometer-status.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum MagnetometerStatus { NOT_SUPPORTED = 0, DISABLED = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/math.ts b/protocol/typescript/src/solarxr-protocol/datatypes/math.ts deleted file mode 100644 index 13c9800f..00000000 --- a/protocol/typescript/src/solarxr-protocol/datatypes/math.ts +++ /dev/null @@ -1,6 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { Quat, QuatT } from './math/quat.js'; -export { Vec3f, Vec3fT } from './math/vec3f.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts b/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts index d6c78f1a..7f8677ce 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/math/quat.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts b/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts index 4996323d..56a84948 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/math/vec3f.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts index 1d4bbca6..32a654d7 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/rest-calibration-status.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum RestCalibrationStatus { NOT_SUPPORTED = 0, NOT_CALIBRATED = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts b/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts index e10c004d..e6548a07 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/string-table.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts b/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts index c8b4872e..456f5306 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/temperature.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts index 4b139a80..c662e32d 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-id.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DeviceId, DeviceIdT } from '../../solarxr-protocol/datatypes/device-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts index 9390fd44..14755fd7 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - /** * Possible tracker roles * They're not perfect match for SteamVR tracker roles, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts index ce0587ec..a283b659 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-status.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum TrackerStatus { NONE = 0, DISCONNECTED = 1, diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts b/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts index 281f41a9..77c9be33 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/transaction-id.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/message-bundle.ts b/protocol/typescript/src/solarxr-protocol/message-bundle.ts index e1700dec..3eb8c51c 100644 --- a/protocol/typescript/src/solarxr-protocol/message-bundle.ts +++ b/protocol/typescript/src/solarxr-protocol/message-bundle.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DataFeedMessageHeader, DataFeedMessageHeaderT } from '../solarxr-protocol/data-feed/data-feed-message-header.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub.ts b/protocol/typescript/src/solarxr-protocol/pub-sub.ts deleted file mode 100644 index 52190da8..00000000 --- a/protocol/typescript/src/solarxr-protocol/pub-sub.ts +++ /dev/null @@ -1,21 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { KeyValues, KeyValuesT } from './pub-sub/key-values.js'; -export { Message, MessageT } from './pub-sub/message.js'; -export { Payload } from './pub-sub/payload.js'; -export { PubSubHeader, PubSubHeaderT } from './pub-sub/pub-sub-header.js'; -export { PubSubUnion } from './pub-sub/pub-sub-union.js'; -export { SubscriptionRequest, SubscriptionRequestT } from './pub-sub/subscription-request.js'; -export { Topic } from './pub-sub/topic.js'; -export { TopicHandle, TopicHandleT } from './pub-sub/topic-handle.js'; -export { TopicHandleRequest, TopicHandleRequestT } from './pub-sub/topic-handle-request.js'; -export { TopicId, TopicIdT } from './pub-sub/topic-id.js'; -export { TopicMapping, TopicMappingT } from './pub-sub/topic-mapping.js'; -export * as device_data from './data-feed/device-data.js'; -export * as stay_aligned from './data-feed/stay-aligned.js'; -export * as tracker from './data-feed/tracker.js'; -export * as hardware_info from './datatypes/hardware-info.js'; -export * as math from './datatypes/math.js'; -export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts index 59092535..62457ada 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/key-values.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts index d938d1ea..39356746 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/message.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { Bytes, BytesT } from '../../solarxr-protocol/datatypes/bytes.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts index ce4017d7..621e9125 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/payload.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { Bytes, BytesT } from '../../solarxr-protocol/datatypes/bytes.js'; import { StringTable, StringTableT } from '../../solarxr-protocol/datatypes/string-table.js'; import { KeyValues, KeyValuesT } from '../../solarxr-protocol/pub-sub/key-values.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts index 81a27ec0..c5fc22ea 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-header.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { Message, MessageT } from '../../solarxr-protocol/pub-sub/message.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts index 85401dd2..03214a95 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/pub-sub-union.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { Message, MessageT } from '../../solarxr-protocol/pub-sub/message.js'; import { SubscriptionRequest, SubscriptionRequestT } from '../../solarxr-protocol/pub-sub/subscription-request.js'; import { TopicHandleRequest, TopicHandleRequestT } from '../../solarxr-protocol/pub-sub/topic-handle-request.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts index 0e21dce7..2ad82e78 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/subscription-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { Topic, unionToTopic, unionListToTopic } from '../../solarxr-protocol/pub-sub/topic.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts index c00c169a..5d1bfaa7 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TopicId, TopicIdT } from '../../solarxr-protocol/pub-sub/topic-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts index 10c79ef8..2044b5c2 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-handle.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts index 78a876fb..fda5d7b9 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-id.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts index dc8ea663..6d7769f4 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic-mapping.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TopicHandle, TopicHandleT } from '../../solarxr-protocol/pub-sub/topic-handle.js'; diff --git a/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts b/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts index 99edf708..697121e9 100644 --- a/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts +++ b/protocol/typescript/src/solarxr-protocol/pub-sub/topic.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { TopicHandle, TopicHandleT } from '../../solarxr-protocol/pub-sub/topic-handle.js'; import { TopicId, TopicIdT } from '../../solarxr-protocol/pub-sub/topic-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc.ts b/protocol/typescript/src/solarxr-protocol/rpc.ts deleted file mode 100644 index 7aeb5f75..00000000 --- a/protocol/typescript/src/solarxr-protocol/rpc.ts +++ /dev/null @@ -1,125 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { AddUnknownDeviceRequest, AddUnknownDeviceRequestT } from './rpc/add-unknown-device-request.js'; -export { ArmsMountingResetMode } from './rpc/arms-mounting-reset-mode.js'; -export { AssignTrackerRequest, AssignTrackerRequestT } from './rpc/assign-tracker-request.js'; -export { AutoBoneApplyRequest, AutoBoneApplyRequestT } from './rpc/auto-bone-apply-request.js'; -export { AutoBoneCancelRecordingRequest, AutoBoneCancelRecordingRequestT } from './rpc/auto-bone-cancel-recording-request.js'; -export { AutoBoneEpochResponse, AutoBoneEpochResponseT } from './rpc/auto-bone-epoch-response.js'; -export { AutoBoneProcessRequest, AutoBoneProcessRequestT } from './rpc/auto-bone-process-request.js'; -export { AutoBoneProcessStatusResponse, AutoBoneProcessStatusResponseT } from './rpc/auto-bone-process-status-response.js'; -export { AutoBoneProcessType } from './rpc/auto-bone-process-type.js'; -export { AutoBoneSettings, AutoBoneSettingsT } from './rpc/auto-bone-settings.js'; -export { AutoBoneStopRecordingRequest, AutoBoneStopRecordingRequestT } from './rpc/auto-bone-stop-recording-request.js'; -export { ChangeMagToggleRequest, ChangeMagToggleRequestT } from './rpc/change-mag-toggle-request.js'; -export { ChangeSettingsRequest, ChangeSettingsRequestT } from './rpc/change-settings-request.js'; -export { ChangeSkeletonConfigRequest, ChangeSkeletonConfigRequestT } from './rpc/change-skeleton-config-request.js'; -export { ClearDriftCompensationRequest, ClearDriftCompensationRequestT } from './rpc/clear-drift-compensation-request.js'; -export { ClearMountingResetRequest, ClearMountingResetRequestT } from './rpc/clear-mounting-reset-request.js'; -export { CloseSerialRequest, CloseSerialRequestT } from './rpc/close-serial-request.js'; -export { ComputerDirectory } from './rpc/computer-directory.js'; -export { DetectStayAlignedRelaxedPoseRequest, DetectStayAlignedRelaxedPoseRequestT } from './rpc/detect-stay-aligned-relaxed-pose-request.js'; -export { DriftCompensationSettings, DriftCompensationSettingsT } from './rpc/drift-compensation-settings.js'; -export { EnableStayAlignedRequest, EnableStayAlignedRequestT } from './rpc/enable-stay-aligned-request.js'; -export { FilteringSettings, FilteringSettingsT } from './rpc/filtering-settings.js'; -export { FirmwarePart, FirmwarePartT } from './rpc/firmware-part.js'; -export { FirmwareUpdateDeviceId } from './rpc/firmware-update-device-id.js'; -export { FirmwareUpdateMethod } from './rpc/firmware-update-method.js'; -export { FirmwareUpdateRequest, FirmwareUpdateRequestT } from './rpc/firmware-update-request.js'; -export { FirmwareUpdateStatus } from './rpc/firmware-update-status.js'; -export { FirmwareUpdateStatusResponse, FirmwareUpdateStatusResponseT } from './rpc/firmware-update-status-response.js'; -export { FirmwareUpdateStopQueuesRequest, FirmwareUpdateStopQueuesRequestT } from './rpc/firmware-update-stop-queues-request.js'; -export { ForgetDeviceRequest, ForgetDeviceRequestT } from './rpc/forget-device-request.js'; -export { HeartbeatRequest, HeartbeatRequestT } from './rpc/heartbeat-request.js'; -export { HeartbeatResponse, HeartbeatResponseT } from './rpc/heartbeat-response.js'; -export { HeightRequest, HeightRequestT } from './rpc/height-request.js'; -export { HeightResponse, HeightResponseT } from './rpc/height-response.js'; -export { LegTweaksTmpChange, LegTweaksTmpChangeT } from './rpc/leg-tweaks-tmp-change.js'; -export { LegTweaksTmpClear, LegTweaksTmpClearT } from './rpc/leg-tweaks-tmp-clear.js'; -export { MagToggleRequest, MagToggleRequestT } from './rpc/mag-toggle-request.js'; -export { MagToggleResponse, MagToggleResponseT } from './rpc/mag-toggle-response.js'; -export { NewSerialDeviceResponse, NewSerialDeviceResponseT } from './rpc/new-serial-device-response.js'; -export { OSCRouterSettings, OSCRouterSettingsT } from './rpc/oscrouter-settings.js'; -export { OSCSettings, OSCSettingsT } from './rpc/oscsettings.js'; -export { OSCTrackersSetting, OSCTrackersSettingT } from './rpc/osctrackers-setting.js'; -export { OTAFirmwareUpdate, OTAFirmwareUpdateT } from './rpc/otafirmware-update.js'; -export { OpenSerialRequest, OpenSerialRequestT } from './rpc/open-serial-request.js'; -export { OverlayDisplayModeChangeRequest, OverlayDisplayModeChangeRequestT } from './rpc/overlay-display-mode-change-request.js'; -export { OverlayDisplayModeRequest, OverlayDisplayModeRequestT } from './rpc/overlay-display-mode-request.js'; -export { OverlayDisplayModeResponse, OverlayDisplayModeResponseT } from './rpc/overlay-display-mode-response.js'; -export { RecordBVHRequest, RecordBVHRequestT } from './rpc/record-bvhrequest.js'; -export { RecordBVHStatus, RecordBVHStatusT } from './rpc/record-bvhstatus.js'; -export { RecordBVHStatusRequest, RecordBVHStatusRequestT } from './rpc/record-bvhstatus-request.js'; -export { ResetRequest, ResetRequestT } from './rpc/reset-request.js'; -export { ResetResponse, ResetResponseT } from './rpc/reset-response.js'; -export { ResetStatus } from './rpc/reset-status.js'; -export { ResetStayAlignedRelaxedPoseRequest, ResetStayAlignedRelaxedPoseRequestT } from './rpc/reset-stay-aligned-relaxed-pose-request.js'; -export { ResetType } from './rpc/reset-type.js'; -export { ResetsSettings, ResetsSettingsT } from './rpc/resets-settings.js'; -export { RpcMessage } from './rpc/rpc-message.js'; -export { RpcMessageHeader, RpcMessageHeaderT } from './rpc/rpc-message-header.js'; -export { SaveFileNotification, SaveFileNotificationT } from './rpc/save-file-notification.js'; -export { SerialDevice, SerialDeviceT } from './rpc/serial-device.js'; -export { SerialDevicePort, SerialDevicePortT } from './rpc/serial-device-port.js'; -export { SerialDevicesRequest, SerialDevicesRequestT } from './rpc/serial-devices-request.js'; -export { SerialDevicesResponse, SerialDevicesResponseT } from './rpc/serial-devices-response.js'; -export { SerialFirmwareUpdate, SerialFirmwareUpdateT } from './rpc/serial-firmware-update.js'; -export { SerialTrackerCustomCommandRequest, SerialTrackerCustomCommandRequestT } from './rpc/serial-tracker-custom-command-request.js'; -export { SerialTrackerFactoryResetRequest, SerialTrackerFactoryResetRequestT } from './rpc/serial-tracker-factory-reset-request.js'; -export { SerialTrackerGetInfoRequest, SerialTrackerGetInfoRequestT } from './rpc/serial-tracker-get-info-request.js'; -export { SerialTrackerGetWifiScanRequest, SerialTrackerGetWifiScanRequestT } from './rpc/serial-tracker-get-wifi-scan-request.js'; -export { SerialTrackerRebootRequest, SerialTrackerRebootRequestT } from './rpc/serial-tracker-reboot-request.js'; -export { SerialUpdateResponse, SerialUpdateResponseT } from './rpc/serial-update-response.js'; -export { ServerInfosRequest, ServerInfosRequestT } from './rpc/server-infos-request.js'; -export { ServerInfosResponse, ServerInfosResponseT } from './rpc/server-infos-response.js'; -export { SetPauseTrackingRequest, SetPauseTrackingRequestT } from './rpc/set-pause-tracking-request.js'; -export { SetWifiRequest, SetWifiRequestT } from './rpc/set-wifi-request.js'; -export { SettingsRequest, SettingsRequestT } from './rpc/settings-request.js'; -export { SettingsResetRequest, SettingsResetRequestT } from './rpc/settings-reset-request.js'; -export { SettingsResponse, SettingsResponseT } from './rpc/settings-response.js'; -export { SkeletonBone } from './rpc/skeleton-bone.js'; -export { SkeletonConfigRequest, SkeletonConfigRequestT } from './rpc/skeleton-config-request.js'; -export { SkeletonConfigResponse, SkeletonConfigResponseT } from './rpc/skeleton-config-response.js'; -export { SkeletonPart, SkeletonPartT } from './rpc/skeleton-part.js'; -export { SkeletonResetAllRequest, SkeletonResetAllRequestT } from './rpc/skeleton-reset-all-request.js'; -export { StartWifiProvisioningRequest, StartWifiProvisioningRequestT } from './rpc/start-wifi-provisioning-request.js'; -export { StatusData } from './rpc/status-data.js'; -export { StatusMessage, StatusMessageT } from './rpc/status-message.js'; -export { StatusPublicNetwork, StatusPublicNetworkT } from './rpc/status-public-network.js'; -export { StatusSteamVRDisconnected, StatusSteamVRDisconnectedT } from './rpc/status-steam-vrdisconnected.js'; -export { StatusSystemFixed, StatusSystemFixedT } from './rpc/status-system-fixed.js'; -export { StatusSystemRequest, StatusSystemRequestT } from './rpc/status-system-request.js'; -export { StatusSystemResponse, StatusSystemResponseT } from './rpc/status-system-response.js'; -export { StatusSystemUpdate, StatusSystemUpdateT } from './rpc/status-system-update.js'; -export { StatusTrackerError, StatusTrackerErrorT } from './rpc/status-tracker-error.js'; -export { StatusTrackerReset, StatusTrackerResetT } from './rpc/status-tracker-reset.js'; -export { StatusUnassignedHMD, StatusUnassignedHMDT } from './rpc/status-unassigned-hmd.js'; -export { StayAlignedRelaxedPose } from './rpc/stay-aligned-relaxed-pose.js'; -export { StayAlignedSettings, StayAlignedSettingsT } from './rpc/stay-aligned-settings.js'; -export { SteamVRTrackersSetting, SteamVRTrackersSettingT } from './rpc/steam-vrtrackers-setting.js'; -export { StopWifiProvisioningRequest, StopWifiProvisioningRequestT } from './rpc/stop-wifi-provisioning-request.js'; -export { TapDetectionSettings, TapDetectionSettingsT } from './rpc/tap-detection-settings.js'; -export { TapDetectionSetupNotification, TapDetectionSetupNotificationT } from './rpc/tap-detection-setup-notification.js'; -export { TrackingPauseStateRequest, TrackingPauseStateRequestT } from './rpc/tracking-pause-state-request.js'; -export { TrackingPauseStateResponse, TrackingPauseStateResponseT } from './rpc/tracking-pause-state-response.js'; -export { UnknownDeviceHandshakeNotification, UnknownDeviceHandshakeNotificationT } from './rpc/unknown-device-handshake-notification.js'; -export { VMCOSCSettings, VMCOSCSettingsT } from './rpc/vmcoscsettings.js'; -export { VRCAvatarMeasurementType } from './rpc/vrcavatar-measurement-type.js'; -export { VRCConfigRecommendedValues, VRCConfigRecommendedValuesT } from './rpc/vrcconfig-recommended-values.js'; -export { VRCConfigStateChangeResponse, VRCConfigStateChangeResponseT } from './rpc/vrcconfig-state-change-response.js'; -export { VRCConfigStateRequest, VRCConfigStateRequestT } from './rpc/vrcconfig-state-request.js'; -export { VRCConfigValidity, VRCConfigValidityT } from './rpc/vrcconfig-validity.js'; -export { VRCConfigValues, VRCConfigValuesT } from './rpc/vrcconfig-values.js'; -export { VRCOSCSettings, VRCOSCSettingsT } from './rpc/vrcoscsettings.js'; -export { VRCSpineMode } from './rpc/vrcspine-mode.js'; -export { VRCTrackerModel } from './rpc/vrctracker-model.js'; -export { WifiProvisioningStatus } from './rpc/wifi-provisioning-status.js'; -export { WifiProvisioningStatusResponse, WifiProvisioningStatusResponseT } from './rpc/wifi-provisioning-status-response.js'; -export * as device_data from './data-feed/device-data.js'; -export * as stay_aligned from './data-feed/stay-aligned.js'; -export * as tracker from './data-feed/tracker.js'; -export * as hardware_info from './datatypes/hardware-info.js'; -export * as math from './datatypes/math.js'; -export * as settings from './rpc/settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts index 94220f73..a8b69dbb 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/add-unknown-device-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts b/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts index 9c5a37df..a0ad1407 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/arms-mounting-reset-mode.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum ArmsMountingResetMode { /** * Upper arm going back and forearm going forward diff --git a/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts index 8fa1ae70..692e050f 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/assign-tracker-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts index fa5439c2..7e428fef 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-apply-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts index bd4e8c26..7b5cf258 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-cancel-recording-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts index 6d476756..24e8ff43 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-epoch-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { SkeletonPart, SkeletonPartT } from '../../solarxr-protocol/rpc/skeleton-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts index 4e6656fd..85e87432 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { AutoBoneProcessType } from '../../solarxr-protocol/rpc/auto-bone-process-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts index f4cb8bd3..5b5b10b2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-status-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { AutoBoneProcessType } from '../../solarxr-protocol/rpc/auto-bone-process-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts index 37217044..8c87dbeb 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-process-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum AutoBoneProcessType { NONE = 0, RECORD = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts index 885a34af..4d697bbe 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -142,91 +140,91 @@ static startAutoBoneSettings(builder:flatbuffers.Builder) { } static addCursorIncrement(builder:flatbuffers.Builder, cursorIncrement:number) { - builder.addFieldInt32(0, cursorIncrement, null); + builder.addFieldInt32(0, cursorIncrement, 0); } static addMinDataDistance(builder:flatbuffers.Builder, minDataDistance:number) { - builder.addFieldInt32(1, minDataDistance, null); + builder.addFieldInt32(1, minDataDistance, 0); } static addMaxDataDistance(builder:flatbuffers.Builder, maxDataDistance:number) { - builder.addFieldInt32(2, maxDataDistance, null); + builder.addFieldInt32(2, maxDataDistance, 0); } static addNumEpochs(builder:flatbuffers.Builder, numEpochs:number) { - builder.addFieldInt32(3, numEpochs, null); + builder.addFieldInt32(3, numEpochs, 0); } static addPrintEveryNumEpochs(builder:flatbuffers.Builder, printEveryNumEpochs:number) { - builder.addFieldInt32(4, printEveryNumEpochs, null); + builder.addFieldInt32(4, printEveryNumEpochs, 0); } static addInitialAdjustRate(builder:flatbuffers.Builder, initialAdjustRate:number) { - builder.addFieldFloat32(5, initialAdjustRate, null); + builder.addFieldFloat32(5, initialAdjustRate, 0); } static addAdjustRateDecay(builder:flatbuffers.Builder, adjustRateDecay:number) { - builder.addFieldFloat32(6, adjustRateDecay, null); + builder.addFieldFloat32(6, adjustRateDecay, 0); } static addSlideErrorFactor(builder:flatbuffers.Builder, slideErrorFactor:number) { - builder.addFieldFloat32(7, slideErrorFactor, null); + builder.addFieldFloat32(7, slideErrorFactor, 0); } static addOffsetSlideErrorFactor(builder:flatbuffers.Builder, offsetSlideErrorFactor:number) { - builder.addFieldFloat32(8, offsetSlideErrorFactor, null); + builder.addFieldFloat32(8, offsetSlideErrorFactor, 0); } static addFootHeightOffsetErrorFactor(builder:flatbuffers.Builder, footHeightOffsetErrorFactor:number) { - builder.addFieldFloat32(9, footHeightOffsetErrorFactor, null); + builder.addFieldFloat32(9, footHeightOffsetErrorFactor, 0); } static addBodyProportionErrorFactor(builder:flatbuffers.Builder, bodyProportionErrorFactor:number) { - builder.addFieldFloat32(10, bodyProportionErrorFactor, null); + builder.addFieldFloat32(10, bodyProportionErrorFactor, 0); } static addHeightErrorFactor(builder:flatbuffers.Builder, heightErrorFactor:number) { - builder.addFieldFloat32(11, heightErrorFactor, null); + builder.addFieldFloat32(11, heightErrorFactor, 0); } static addPositionErrorFactor(builder:flatbuffers.Builder, positionErrorFactor:number) { - builder.addFieldFloat32(12, positionErrorFactor, null); + builder.addFieldFloat32(12, positionErrorFactor, 0); } static addPositionOffsetErrorFactor(builder:flatbuffers.Builder, positionOffsetErrorFactor:number) { - builder.addFieldFloat32(13, positionOffsetErrorFactor, null); + builder.addFieldFloat32(13, positionOffsetErrorFactor, 0); } static addCalcInitError(builder:flatbuffers.Builder, calcInitError:boolean) { - builder.addFieldInt8(14, +calcInitError, null); + builder.addFieldInt8(14, +calcInitError, 0); } static addRandomizeFrameOrder(builder:flatbuffers.Builder, randomizeFrameOrder:boolean) { - builder.addFieldInt8(15, +randomizeFrameOrder, null); + builder.addFieldInt8(15, +randomizeFrameOrder, 0); } static addScaleEachStep(builder:flatbuffers.Builder, scaleEachStep:boolean) { - builder.addFieldInt8(16, +scaleEachStep, null); + builder.addFieldInt8(16, +scaleEachStep, 0); } static addSampleCount(builder:flatbuffers.Builder, sampleCount:number) { - builder.addFieldInt32(17, sampleCount, null); + builder.addFieldInt32(17, sampleCount, 0); } static addSampleRateMs(builder:flatbuffers.Builder, sampleRateMs:bigint) { - builder.addFieldInt64(18, sampleRateMs, null); + builder.addFieldInt64(18, sampleRateMs, BigInt(0)); } static addSaveRecordings(builder:flatbuffers.Builder, saveRecordings:boolean) { - builder.addFieldInt8(19, +saveRecordings, null); + builder.addFieldInt8(19, +saveRecordings, 0); } static addUseSkeletonHeight(builder:flatbuffers.Builder, useSkeletonHeight:boolean) { - builder.addFieldInt8(20, +useSkeletonHeight, null); + builder.addFieldInt8(20, +useSkeletonHeight, 0); } static addRandSeed(builder:flatbuffers.Builder, randSeed:bigint) { - builder.addFieldInt64(21, randSeed, null); + builder.addFieldInt64(21, randSeed, BigInt(0)); } static endAutoBoneSettings(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts index 0134fbf4..86105b52 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/auto-bone-stop-recording-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts index 11f5350e..09318a53 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/change-mag-toggle-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts index c2758d54..e7ca7570 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/change-settings-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { AutoBoneSettings, AutoBoneSettingsT } from '../../solarxr-protocol/rpc/auto-bone-settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts index 494e2a7c..d46a8d5b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/change-skeleton-config-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { SkeletonBone } from '../../solarxr-protocol/rpc/skeleton-bone.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts index eea34d9d..dd4f7a1c 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/clear-drift-compensation-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts index 0915d1bf..a05f3c91 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/clear-mounting-reset-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts index 022d5545..9a9843d8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/close-serial-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts b/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts index 4ae58a05..bdd6295a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/computer-directory.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - /** * Common folders often used in computers for storing files */ diff --git a/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts index cce5089b..fc57920e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/detect-stay-aligned-relaxed-pose-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { StayAlignedRelaxedPose } from '../../solarxr-protocol/rpc/stay-aligned-relaxed-pose.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts index b8cbee25..38efd7ed 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/drift-compensation-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts index 5d1e3027..21a9b82e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/enable-stay-aligned-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts index b167e154..e7705646 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/filtering-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { FilteringType } from '../../solarxr-protocol/datatypes/filtering-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts index 3129462e..deb5a2ea 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-part.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts index bdc73aa1..b6f966c1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-device-id.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { DeviceIdTable, DeviceIdTableT } from '../../solarxr-protocol/datatypes/device-id-table.js'; import { SerialDevicePort, SerialDevicePortT } from '../../solarxr-protocol/rpc/serial-device-port.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts index f8225aeb..6640ce30 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-method.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { OTAFirmwareUpdate, OTAFirmwareUpdateT } from '../../solarxr-protocol/rpc/otafirmware-update.js'; import { SerialFirmwareUpdate, SerialFirmwareUpdateT } from '../../solarxr-protocol/rpc/serial-firmware-update.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts index 407a7cc5..a9bd614e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { FirmwareUpdateMethod, unionToFirmwareUpdateMethod, unionListToFirmwareUpdateMethod } from '../../solarxr-protocol/rpc/firmware-update-method.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts index a5c48785..8f9813d3 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DeviceIdTable, DeviceIdTableT } from '../../solarxr-protocol/datatypes/device-id-table.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts index ef7b4cbb..d5cd2502 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-status.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum FirmwareUpdateStatus { /** * The server is downloading the firmware diff --git a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts index de457c52..72807daa 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/firmware-update-stop-queues-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts index e29c4c63..ff33163a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/forget-device-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts index 3e0fdf2e..b0b5678a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts index 3bee133e..0e49be79 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/heartbeat-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts index 01daefb0..b38fef46 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/height-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts index 9fdb44f8..e490b57b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/height-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts index 97c933f9..67415c90 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-change.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -53,19 +51,19 @@ static startLegTweaksTmpChange(builder:flatbuffers.Builder) { } static addFloorClip(builder:flatbuffers.Builder, floorClip:boolean) { - builder.addFieldInt8(0, +floorClip, null); + builder.addFieldInt8(0, +floorClip, 0); } static addSkatingCorrection(builder:flatbuffers.Builder, skatingCorrection:boolean) { - builder.addFieldInt8(1, +skatingCorrection, null); + builder.addFieldInt8(1, +skatingCorrection, 0); } static addToeSnap(builder:flatbuffers.Builder, toeSnap:boolean) { - builder.addFieldInt8(2, +toeSnap, null); + builder.addFieldInt8(2, +toeSnap, 0); } static addFootPlant(builder:flatbuffers.Builder, footPlant:boolean) { - builder.addFieldInt8(3, +footPlant, null); + builder.addFieldInt8(3, +footPlant, 0); } static endLegTweaksTmpChange(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts index 10bc0c52..bb4b87c2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/leg-tweaks-tmp-clear.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts index a9d46437..5082ef11 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts index 9f00d171..381b7487 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/mag-toggle-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts index fd983f14..c3c7381e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/new-serial-device-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { SerialDevice, SerialDeviceT } from '../../solarxr-protocol/rpc/serial-device.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts index f4be0ec7..1b3ceb47 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/open-serial-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts index 7e7a9236..e6da3aa2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/oscrouter-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { OSCSettings, OSCSettingsT } from '../../solarxr-protocol/rpc/oscsettings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts b/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts index 4f9005ab..019e6ec8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/oscsettings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts b/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts index 2ee848e5..3519d494 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts b/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts index 694dd98a..d80bec03 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/otafirmware-update.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { DeviceId, DeviceIdT } from '../../solarxr-protocol/datatypes/device-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts index fd9c985b..cac228e1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-change-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -42,11 +40,11 @@ static startOverlayDisplayModeChangeRequest(builder:flatbuffers.Builder) { } static addIsVisible(builder:flatbuffers.Builder, isVisible:boolean) { - builder.addFieldInt8(0, +isVisible, null); + builder.addFieldInt8(0, +isVisible, 0); } static addIsMirrored(builder:flatbuffers.Builder, isMirrored:boolean) { - builder.addFieldInt8(1, +isMirrored, null); + builder.addFieldInt8(1, +isMirrored, 0); } static endOverlayDisplayModeChangeRequest(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts index d6f17a36..79e8d215 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts index ca1410e1..2066c1b1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/overlay-display-mode-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts index e463f86b..c48e5761 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhrequest.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts index 1dbf3589..e8b50c40 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts index b7f1cdd7..0627d1ea 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/record-bvhstatus.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts index b6cfeb75..29235882 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; @@ -36,7 +34,7 @@ resetType():ResetType { */ bodyParts(index: number):BodyPart|null { const offset = this.bb!.__offset(this.bb_pos, 6); - return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : null; + return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0; } bodyPartsLength():number { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts index 3d06eb44..0349ed65 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { BodyPart } from '../../solarxr-protocol/datatypes/body-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts index 12e927b2..405fed9c 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-status.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum ResetStatus { STARTED = 0, FINISHED = 1 diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts index 46d67dfe..c920dce0 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-stay-aligned-relaxed-pose-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { StayAlignedRelaxedPose } from '../../solarxr-protocol/rpc/stay-aligned-relaxed-pose.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts b/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts index 608f9eb1..61c35e2d 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/reset-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum ResetType { Yaw = 0, Full = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts index 9b862455..804f7930 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/resets-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { ArmsMountingResetMode } from '../../solarxr-protocol/rpc/arms-mounting-reset-mode.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts index 7d20ce3a..45268429 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message-header.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TransactionId, TransactionIdT } from '../../solarxr-protocol/datatypes/transaction-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts index 8dee735e..76d9891b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/rpc-message.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { AddUnknownDeviceRequest, AddUnknownDeviceRequestT } from '../../solarxr-protocol/rpc/add-unknown-device-request.js'; import { AssignTrackerRequest, AssignTrackerRequestT } from '../../solarxr-protocol/rpc/assign-tracker-request.js'; import { AutoBoneApplyRequest, AutoBoneApplyRequestT } from '../../solarxr-protocol/rpc/auto-bone-apply-request.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts b/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts index 18ca63ad..619e524e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/save-file-notification.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { ComputerDirectory } from '../../solarxr-protocol/rpc/computer-directory.js'; @@ -113,7 +111,7 @@ static addFileExtension(builder:flatbuffers.Builder, fileExtensionOffset:flatbuf } static addExpectedDir(builder:flatbuffers.Builder, expectedDir:ComputerDirectory) { - builder.addFieldInt8(3, expectedDir, null); + builder.addFieldInt8(3, expectedDir, 0); } static addExpectedFilename(builder:flatbuffers.Builder, expectedFilenameOffset:flatbuffers.Offset) { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts index c3384c05..064bb413 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-device-port.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts index 4ead61d2..424dc868 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-device.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts index d8d343e6..8aac40a8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts index 09016833..97809aab 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-devices-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { SerialDevice, SerialDeviceT } from '../../solarxr-protocol/rpc/serial-device.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts index ebb60669..af282738 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-firmware-update.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { FirmwarePart, FirmwarePartT } from '../../solarxr-protocol/rpc/firmware-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts index 59eddf19..22d7ea02 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-custom-command-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts index 4481033a..3139f801 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-factory-reset-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts index d839f850..420c0687 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-info-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts index a0ce7cf7..f9e1775d 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-get-wifi-scan-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts index 0513e1d7..5ee5bc00 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-tracker-reboot-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts index 75d43925..23b9b5ad 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/serial-update-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts index d0e2a9ba..c5a8c88d 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts index 1d34babf..f07ebf26 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/server-infos-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts index b6b06c88..7bc2cbcf 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/set-pause-tracking-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts index bc2a6fe2..d6ee4d93 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/set-wifi-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts index ea949a68..b7bf2a3b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts index 72b60c50..b7179aad 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings-reset-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts index 646d0f13..29156104 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { AutoBoneSettings, AutoBoneSettingsT } from '../../solarxr-protocol/rpc/auto-bone-settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings.ts deleted file mode 100644 index 06b00ac1..00000000 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings.ts +++ /dev/null @@ -1,9 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - -export { LegTweaksSettings, LegTweaksSettingsT } from './settings/leg-tweaks-settings.js'; -export { ModelRatios, ModelRatiosT } from './settings/model-ratios.js'; -export { ModelSettings, ModelSettingsT } from './settings/model-settings.js'; -export { ModelToggles, ModelTogglesT } from './settings/model-toggles.js'; -export { SkeletonHeight, SkeletonHeightT } from './settings/skeleton-height.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts index 2a9dc545..43a066a2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/leg-tweaks-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -34,7 +32,7 @@ static startLegTweaksSettings(builder:flatbuffers.Builder) { } static addCorrectionStrength(builder:flatbuffers.Builder, correctionStrength:number) { - builder.addFieldFloat32(0, correctionStrength, null); + builder.addFieldFloat32(0, correctionStrength, 0); } static endLegTweaksSettings(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts index d80085c9..878e9163 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-ratios.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -77,31 +75,31 @@ static startModelRatios(builder:flatbuffers.Builder) { } static addImputeWaistFromChestHip(builder:flatbuffers.Builder, imputeWaistFromChestHip:number) { - builder.addFieldFloat32(0, imputeWaistFromChestHip, null); + builder.addFieldFloat32(0, imputeWaistFromChestHip, 0); } static addImputeWaistFromChestLegs(builder:flatbuffers.Builder, imputeWaistFromChestLegs:number) { - builder.addFieldFloat32(1, imputeWaistFromChestLegs, null); + builder.addFieldFloat32(1, imputeWaistFromChestLegs, 0); } static addImputeHipFromChestLegs(builder:flatbuffers.Builder, imputeHipFromChestLegs:number) { - builder.addFieldFloat32(2, imputeHipFromChestLegs, null); + builder.addFieldFloat32(2, imputeHipFromChestLegs, 0); } static addImputeHipFromWaistLegs(builder:flatbuffers.Builder, imputeHipFromWaistLegs:number) { - builder.addFieldFloat32(3, imputeHipFromWaistLegs, null); + builder.addFieldFloat32(3, imputeHipFromWaistLegs, 0); } static addInterpHipLegs(builder:flatbuffers.Builder, interpHipLegs:number) { - builder.addFieldFloat32(4, interpHipLegs, null); + builder.addFieldFloat32(4, interpHipLegs, 0); } static addInterpKneeTrackerAnkle(builder:flatbuffers.Builder, interpKneeTrackerAnkle:number) { - builder.addFieldFloat32(5, interpKneeTrackerAnkle, null); + builder.addFieldFloat32(5, interpKneeTrackerAnkle, 0); } static addInterpKneeAnkle(builder:flatbuffers.Builder, interpKneeAnkle:number) { - builder.addFieldFloat32(6, interpKneeAnkle, null); + builder.addFieldFloat32(6, interpKneeAnkle, 0); } static endModelRatios(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts index 67a85ee5..66648707 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { LegTweaksSettings, LegTweaksSettingsT } from '../../../solarxr-protocol/rpc/settings/leg-tweaks-settings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts index 4f824bd6..1064d0ed 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/model-toggles.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -92,51 +90,51 @@ static startModelToggles(builder:flatbuffers.Builder) { } static addExtendedSpine(builder:flatbuffers.Builder, extendedSpine:boolean) { - builder.addFieldInt8(0, +extendedSpine, null); + builder.addFieldInt8(0, +extendedSpine, 0); } static addExtendedPelvis(builder:flatbuffers.Builder, extendedPelvis:boolean) { - builder.addFieldInt8(1, +extendedPelvis, null); + builder.addFieldInt8(1, +extendedPelvis, 0); } static addExtendedKnee(builder:flatbuffers.Builder, extendedKnee:boolean) { - builder.addFieldInt8(2, +extendedKnee, null); + builder.addFieldInt8(2, +extendedKnee, 0); } static addForceArmsFromHmd(builder:flatbuffers.Builder, forceArmsFromHmd:boolean) { - builder.addFieldInt8(3, +forceArmsFromHmd, null); + builder.addFieldInt8(3, +forceArmsFromHmd, 0); } static addFloorClip(builder:flatbuffers.Builder, floorClip:boolean) { - builder.addFieldInt8(4, +floorClip, null); + builder.addFieldInt8(4, +floorClip, 0); } static addSkatingCorrection(builder:flatbuffers.Builder, skatingCorrection:boolean) { - builder.addFieldInt8(5, +skatingCorrection, null); + builder.addFieldInt8(5, +skatingCorrection, 0); } static addToeSnap(builder:flatbuffers.Builder, toeSnap:boolean) { - builder.addFieldInt8(7, +toeSnap, null); + builder.addFieldInt8(7, +toeSnap, 0); } static addFootPlant(builder:flatbuffers.Builder, footPlant:boolean) { - builder.addFieldInt8(8, +footPlant, null); + builder.addFieldInt8(8, +footPlant, 0); } static addSelfLocalization(builder:flatbuffers.Builder, selfLocalization:boolean) { - builder.addFieldInt8(9, +selfLocalization, null); + builder.addFieldInt8(9, +selfLocalization, 0); } static addUsePosition(builder:flatbuffers.Builder, usePosition:boolean) { - builder.addFieldInt8(10, +usePosition, null); + builder.addFieldInt8(10, +usePosition, 0); } static addEnforceConstraints(builder:flatbuffers.Builder, enforceConstraints:boolean) { - builder.addFieldInt8(11, +enforceConstraints, null); + builder.addFieldInt8(11, +enforceConstraints, 0); } static addCorrectConstraints(builder:flatbuffers.Builder, correctConstraints:boolean) { - builder.addFieldInt8(12, +correctConstraints, null); + builder.addFieldInt8(12, +correctConstraints, 0); } static endModelToggles(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts b/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts index c4bae8c1..f2b493bb 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/settings/skeleton-height.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -39,11 +37,11 @@ static startSkeletonHeight(builder:flatbuffers.Builder) { } static addHmdHeight(builder:flatbuffers.Builder, hmdHeight:number) { - builder.addFieldFloat32(0, hmdHeight, null); + builder.addFieldFloat32(0, hmdHeight, 0); } static addFloorHeight(builder:flatbuffers.Builder, floorHeight:number) { - builder.addFieldFloat32(1, floorHeight, null); + builder.addFieldFloat32(1, floorHeight, 0); } static endSkeletonHeight(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts index e0b9a9c4..3b89d42c 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum SkeletonBone { NONE = 0, HEAD = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts index 0fa1d8e5..3ab139fc 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts index 05decca8..f03ecc50 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-config-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { SkeletonPart, SkeletonPartT } from '../../solarxr-protocol/rpc/skeleton-part.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts index f7c9a862..3b2d36b2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-part.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { SkeletonBone } from '../../solarxr-protocol/rpc/skeleton-bone.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts index 978f57a4..7108758a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-reset-all-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts index 5a664cd8..f44f5b91 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/start-wifi-provisioning-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts index a6e47998..e84f22ed 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-data.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import { StatusPublicNetwork, StatusPublicNetworkT } from '../../solarxr-protocol/rpc/status-public-network.js'; import { StatusSteamVRDisconnected, StatusSteamVRDisconnectedT } from '../../solarxr-protocol/rpc/status-steam-vrdisconnected.js'; import { StatusTrackerError, StatusTrackerErrorT } from '../../solarxr-protocol/rpc/status-tracker-error.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts index fa6b8d81..2e3d7b95 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-message.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { StatusData, unionToStatusData, unionListToStatusData } from '../../solarxr-protocol/rpc/status-data.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts index 2eec84df..cec668f2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-public-network.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts index 0cb04a0c..54c7aa6f 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-steam-vrdisconnected.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts index 183dbf7f..2945e3ee 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-fixed.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts index 4667857c..1feb037b 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts index 89654fd6..07028843 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { StatusMessage, StatusMessageT } from '../../solarxr-protocol/rpc/status-message.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts index 81695bac..063833e5 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-system-update.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { StatusMessage, StatusMessageT } from '../../solarxr-protocol/rpc/status-message.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts index 4649a8d6..0c3afe50 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-error.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts index a416c5b9..72501805 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-tracker-reset.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts b/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts index 1910a407..390f6aa2 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/status-unassigned-hmd.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts index 5f7199bc..bbbd1600 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-relaxed-pose.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum StayAlignedRelaxedPose { STANDING = 0, SITTING = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts index 88d8b3c0..8eb24f61 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/stay-aligned-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts b/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts index f5041367..6824ea93 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts index 4bf62046..1db45a56 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/stop-wifi-provisioning-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts index 636c79d7..10cbc4b8 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-settings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; @@ -88,47 +86,47 @@ static startTapDetectionSettings(builder:flatbuffers.Builder) { } static addFullResetDelay(builder:flatbuffers.Builder, fullResetDelay:number) { - builder.addFieldFloat32(0, fullResetDelay, null); + builder.addFieldFloat32(0, fullResetDelay, 0); } static addFullResetEnabled(builder:flatbuffers.Builder, fullResetEnabled:boolean) { - builder.addFieldInt8(1, +fullResetEnabled, null); + builder.addFieldInt8(1, +fullResetEnabled, 0); } static addFullResetTaps(builder:flatbuffers.Builder, fullResetTaps:number) { - builder.addFieldInt8(2, fullResetTaps, null); + builder.addFieldInt8(2, fullResetTaps, 0); } static addYawResetDelay(builder:flatbuffers.Builder, yawResetDelay:number) { - builder.addFieldFloat32(3, yawResetDelay, null); + builder.addFieldFloat32(3, yawResetDelay, 0); } static addYawResetEnabled(builder:flatbuffers.Builder, yawResetEnabled:boolean) { - builder.addFieldInt8(4, +yawResetEnabled, null); + builder.addFieldInt8(4, +yawResetEnabled, 0); } static addYawResetTaps(builder:flatbuffers.Builder, yawResetTaps:number) { - builder.addFieldInt8(5, yawResetTaps, null); + builder.addFieldInt8(5, yawResetTaps, 0); } static addMountingResetDelay(builder:flatbuffers.Builder, mountingResetDelay:number) { - builder.addFieldFloat32(6, mountingResetDelay, null); + builder.addFieldFloat32(6, mountingResetDelay, 0); } static addMountingResetEnabled(builder:flatbuffers.Builder, mountingResetEnabled:boolean) { - builder.addFieldInt8(7, +mountingResetEnabled, null); + builder.addFieldInt8(7, +mountingResetEnabled, 0); } static addMountingResetTaps(builder:flatbuffers.Builder, mountingResetTaps:number) { - builder.addFieldInt8(8, mountingResetTaps, null); + builder.addFieldInt8(8, mountingResetTaps, 0); } static addSetupMode(builder:flatbuffers.Builder, setupMode:boolean) { - builder.addFieldInt8(9, +setupMode, null); + builder.addFieldInt8(9, +setupMode, 0); } static addNumberTrackersOverThreshold(builder:flatbuffers.Builder, numberTrackersOverThreshold:number) { - builder.addFieldInt8(10, numberTrackersOverThreshold, null); + builder.addFieldInt8(10, numberTrackersOverThreshold, 0); } static endTapDetectionSettings(builder:flatbuffers.Builder):flatbuffers.Offset { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts index d522ef1b..51b9dcb5 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tap-detection-setup-notification.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { TrackerId, TrackerIdT } from '../../solarxr-protocol/datatypes/tracker-id.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts index b1fcda9d..878ca53e 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts index cf5ce6f7..6198eaf1 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/tracking-pause-state-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts b/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts index cc953bd1..23f9dbbd 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/unknown-device-handshake-notification.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts b/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts index e32566c8..6060a1ee 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vmcoscsettings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { OSCSettings, OSCSettingsT } from '../../solarxr-protocol/rpc/oscsettings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts index d97773c6..7c5e7a0d 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcavatar-measurement-type.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum VRCAvatarMeasurementType { UNKNOWN = 0, HEIGHT = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts index 06877eb1..4fd15bd3 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-recommended-values.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { VRCAvatarMeasurementType } from '../../solarxr-protocol/rpc/vrcavatar-measurement-type.js'; @@ -59,7 +57,7 @@ trackerModel():VRCTrackerModel { spineMode(index: number):VRCSpineMode|null { const offset = this.bb!.__offset(this.bb_pos, 16); - return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : null; + return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0; } spineModeLength():number { diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts index 27332334..4ecfa335 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-change-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { VRCConfigRecommendedValues, VRCConfigRecommendedValuesT } from '../../solarxr-protocol/rpc/vrcconfig-recommended-values.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts index d976922b..898e91f6 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-state-request.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts index f86d3b99..631d559a 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-validity.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts index 76424ca0..f3de3941 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcconfig-values.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { VRCAvatarMeasurementType } from '../../solarxr-protocol/rpc/vrcavatar-measurement-type.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts index b4d93dcd..3342da90 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcoscsettings.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { OSCSettings, OSCSettingsT } from '../../solarxr-protocol/rpc/oscsettings.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts index bc5e8239..bc2fdf0c 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrcspine-mode.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum VRCSpineMode { UNKNOWN = 0, LOCK_HIP = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts b/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts index 30a80ada..b2c7391f 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/vrctracker-model.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum VRCTrackerModel { UNKNOWN = 0, SPHERE = 1, diff --git a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts index f0b949f4..848b482f 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status-response.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - import * as flatbuffers from 'flatbuffers'; import { WifiProvisioningStatus } from '../../solarxr-protocol/rpc/wifi-provisioning-status.js'; diff --git a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts index af21534d..f864a317 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/wifi-provisioning-status.ts @@ -1,7 +1,5 @@ // automatically generated by the FlatBuffers compiler, do not modify -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ - export enum WifiProvisioningStatus { NONE = 0, SERIAL_INIT = 1, From b51dc219b0c7bf6674e8d2dcfb382afd35bf584c Mon Sep 17 00:00:00 2001 From: Sebastina Date: Tue, 21 Oct 2025 16:04:59 -0500 Subject: [PATCH 7/9] Rename toes to associated foot muscles. --- .../generated/all_generated.h | 78 +++++++++++++------ .../rpc/OSCTrackersSetting.java | 15 +++- .../rpc/OSCTrackersSettingT.java | 6 ++ .../solarxr_protocol/rpc/SkeletonBone.java | 14 ++-- .../rpc/SteamVRTrackersSetting.java | 22 +++++- .../rpc/SteamVRTrackersSettingT.java | 12 +++ .../rpc/OSCTrackersSetting.kt | 14 +++- .../src/solarxr_protocol/rpc/SkeletonBone.kt | 14 ++-- .../rpc/SteamVRTrackersSetting.kt | 22 +++++- .../rpc/osctrackers_setting_generated.rs | 17 ++++ .../rpc/skeleton_bone_generated.rs | 48 ++++++------ .../rpc/steam_vrtrackers_setting_generated.rs | 34 ++++++++ .../rpc/osctrackers-setting.ts | 24 ++++-- .../src/solarxr-protocol/rpc/skeleton-bone.ts | 12 +-- .../rpc/steam-vrtrackers-setting.ts | 38 +++++++-- schema/rpc.fbs | 16 ++-- 16 files changed, 288 insertions(+), 98 deletions(-) diff --git a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h index 6ceedf0e..ef4ac88a 100644 --- a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h +++ b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h @@ -2055,14 +2055,14 @@ enum class SkeletonBone : uint8_t { HAND_Z = 19, ELBOW_OFFSET = 20, UPPER_CHEST = 21, - LEFT_TOE_1 = 22, - LEFT_TOE_2 = 23, - LEFT_TOE_3 = 24, - RIGHT_TOE_1 = 25, - RIGHT_TOE_2 = 26, - RIGHT_TOE_3 = 27, + LEFT_TOES_ABDUCTOR_HALLUCIS = 22, + LEFT_TOES_DIGITORUM_BREVIS = 23, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 25, + RIGHT_TOES_DIGITORUM_BREVIS = 26, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27, MIN = NONE, - MAX = RIGHT_TOE_3 + MAX = RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI }; inline const SkeletonBone (&EnumValuesSkeletonBone())[28] { @@ -2089,12 +2089,12 @@ inline const SkeletonBone (&EnumValuesSkeletonBone())[28] { SkeletonBone::HAND_Z, SkeletonBone::ELBOW_OFFSET, SkeletonBone::UPPER_CHEST, - SkeletonBone::LEFT_TOE_1, - SkeletonBone::LEFT_TOE_2, - SkeletonBone::LEFT_TOE_3, - SkeletonBone::RIGHT_TOE_1, - SkeletonBone::RIGHT_TOE_2, - SkeletonBone::RIGHT_TOE_3 + SkeletonBone::LEFT_TOES_ABDUCTOR_HALLUCIS, + SkeletonBone::LEFT_TOES_DIGITORUM_BREVIS, + SkeletonBone::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + SkeletonBone::RIGHT_TOES_ABDUCTOR_HALLUCIS, + SkeletonBone::RIGHT_TOES_DIGITORUM_BREVIS, + SkeletonBone::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI }; return values; } @@ -2123,19 +2123,19 @@ inline const char * const *EnumNamesSkeletonBone() { "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", - "LEFT_TOE_1", - "LEFT_TOE_2", - "LEFT_TOE_3", - "RIGHT_TOE_1", - "RIGHT_TOE_2", - "RIGHT_TOE_3", + "LEFT_TOES_ABDUCTOR_HALLUCIS", + "LEFT_TOES_DIGITORUM_BREVIS", + "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", + "RIGHT_TOES_ABDUCTOR_HALLUCIS", + "RIGHT_TOES_DIGITORUM_BREVIS", + "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI", nullptr }; return names; } inline const char *EnumNameSkeletonBone(SkeletonBone e) { - if (flatbuffers::IsOutRange(e, SkeletonBone::NONE, SkeletonBone::RIGHT_TOE_3)) return ""; + if (flatbuffers::IsOutRange(e, SkeletonBone::NONE, SkeletonBone::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI)) return ""; const size_t index = static_cast(e); return EnumNamesSkeletonBone()[index]; } @@ -7165,7 +7165,9 @@ struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab VT_LEFT_ELBOW = 26, VT_RIGHT_ELBOW = 28, VT_LEFT_HAND = 30, - VT_RIGHT_HAND = 32 + VT_RIGHT_HAND = 32, + VT_LEFT_TOES = 34, + VT_RIGHT_TOES = 36 }; bool waist() const { return GetField(VT_WAIST, 0) != 0; @@ -7200,6 +7202,12 @@ struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab bool right_hand() const { return GetField(VT_RIGHT_HAND, 0) != 0; } + bool left_toes() const { + return GetField(VT_LEFT_TOES, 0) != 0; + } + bool right_toes() const { + return GetField(VT_RIGHT_TOES, 0) != 0; + } bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_WAIST, 1) && @@ -7213,6 +7221,8 @@ struct SteamVRTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Tab VerifyField(verifier, VT_RIGHT_ELBOW, 1) && VerifyField(verifier, VT_LEFT_HAND, 1) && VerifyField(verifier, VT_RIGHT_HAND, 1) && + VerifyField(verifier, VT_LEFT_TOES, 1) && + VerifyField(verifier, VT_RIGHT_TOES, 1) && verifier.EndTable(); } }; @@ -7254,6 +7264,12 @@ struct SteamVRTrackersSettingBuilder { void add_right_hand(bool right_hand) { fbb_.AddElement(SteamVRTrackersSetting::VT_RIGHT_HAND, static_cast(right_hand), 0); } + void add_left_toes(bool left_toes) { + fbb_.AddElement(SteamVRTrackersSetting::VT_LEFT_TOES, static_cast(left_toes), 0); + } + void add_right_toes(bool right_toes) { + fbb_.AddElement(SteamVRTrackersSetting::VT_RIGHT_TOES, static_cast(right_toes), 0); + } explicit SteamVRTrackersSettingBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); @@ -7277,8 +7293,12 @@ inline flatbuffers::Offset CreateSteamVRTrackersSetting( bool left_elbow = false, bool right_elbow = false, bool left_hand = false, - bool right_hand = false) { + bool right_hand = false, + bool left_toes = false, + bool right_toes = false) { SteamVRTrackersSettingBuilder builder_(_fbb); + builder_.add_right_toes(right_toes); + builder_.add_left_toes(left_toes); builder_.add_right_hand(right_hand); builder_.add_left_hand(left_hand); builder_.add_right_elbow(right_elbow); @@ -7712,7 +7732,8 @@ struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VT_KNEES = 10, VT_FEET = 12, VT_ELBOWS = 14, - VT_HANDS = 16 + VT_HANDS = 16, + VT_TOES = 18 }; bool head() const { return GetField(VT_HEAD, 0) != 0; @@ -7735,6 +7756,9 @@ struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool hands() const { return GetField(VT_HANDS, 0) != 0; } + bool toes() const { + return GetField(VT_TOES, 0) != 0; + } bool Verify(flatbuffers::Verifier &verifier) const { return VerifyTableStart(verifier) && VerifyField(verifier, VT_HEAD, 1) && @@ -7744,6 +7768,7 @@ struct OSCTrackersSetting FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { VerifyField(verifier, VT_FEET, 1) && VerifyField(verifier, VT_ELBOWS, 1) && VerifyField(verifier, VT_HANDS, 1) && + VerifyField(verifier, VT_TOES, 1) && verifier.EndTable(); } }; @@ -7773,6 +7798,9 @@ struct OSCTrackersSettingBuilder { void add_hands(bool hands) { fbb_.AddElement(OSCTrackersSetting::VT_HANDS, static_cast(hands), 0); } + void add_toes(bool toes) { + fbb_.AddElement(OSCTrackersSetting::VT_TOES, static_cast(toes), 0); + } explicit OSCTrackersSettingBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); @@ -7792,8 +7820,10 @@ inline flatbuffers::Offset CreateOSCTrackersSetting( bool knees = false, bool feet = false, bool elbows = false, - bool hands = false) { + bool hands = false, + bool toes = false) { OSCTrackersSettingBuilder builder_(_fbb); + builder_.add_toes(toes); builder_.add_hands(hands); builder_.add_elbows(elbows); builder_.add_feet(feet); diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java index cbb00418..1439bf04 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSetting.java @@ -22,6 +22,7 @@ public final class OSCTrackersSetting extends Table { public boolean feet() { int o = __offset(12); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } public boolean elbows() { int o = __offset(14); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } public boolean hands() { int o = __offset(16); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } + public boolean toes() { int o = __offset(18); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } public static int createOSCTrackersSetting(FlatBufferBuilder builder, boolean head, @@ -30,8 +31,10 @@ public static int createOSCTrackersSetting(FlatBufferBuilder builder, boolean knees, boolean feet, boolean elbows, - boolean hands) { - builder.startTable(7); + boolean hands, + boolean toes) { + builder.startTable(8); + OSCTrackersSetting.addToes(builder, toes); OSCTrackersSetting.addHands(builder, hands); OSCTrackersSetting.addElbows(builder, elbows); OSCTrackersSetting.addFeet(builder, feet); @@ -42,7 +45,7 @@ public static int createOSCTrackersSetting(FlatBufferBuilder builder, return OSCTrackersSetting.endOSCTrackersSetting(builder); } - public static void startOSCTrackersSetting(FlatBufferBuilder builder) { builder.startTable(7); } + public static void startOSCTrackersSetting(FlatBufferBuilder builder) { builder.startTable(8); } public static void addHead(FlatBufferBuilder builder, boolean head) { builder.addBoolean(0, head, false); } public static void addChest(FlatBufferBuilder builder, boolean chest) { builder.addBoolean(1, chest, false); } public static void addWaist(FlatBufferBuilder builder, boolean waist) { builder.addBoolean(2, waist, false); } @@ -50,6 +53,7 @@ public static int createOSCTrackersSetting(FlatBufferBuilder builder, public static void addFeet(FlatBufferBuilder builder, boolean feet) { builder.addBoolean(4, feet, false); } public static void addElbows(FlatBufferBuilder builder, boolean elbows) { builder.addBoolean(5, elbows, false); } public static void addHands(FlatBufferBuilder builder, boolean hands) { builder.addBoolean(6, hands, false); } + public static void addToes(FlatBufferBuilder builder, boolean toes) { builder.addBoolean(7, toes, false); } public static int endOSCTrackersSetting(FlatBufferBuilder builder) { int o = builder.endTable(); return o; @@ -81,6 +85,8 @@ public void unpackTo(OSCTrackersSettingT _o) { _o.setElbows(_oElbows); boolean _oHands = hands(); _o.setHands(_oHands); + boolean _oToes = toes(); + _o.setToes(_oToes); } public static int pack(FlatBufferBuilder builder, OSCTrackersSettingT _o) { if (_o == null) return 0; @@ -92,7 +98,8 @@ public static int pack(FlatBufferBuilder builder, OSCTrackersSettingT _o) { _o.getKnees(), _o.getFeet(), _o.getElbows(), - _o.getHands()); + _o.getHands(), + _o.getToes()); } } diff --git a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java index c23627a3..6e3ce9a9 100644 --- a/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java +++ b/protocol/java/src/solarxr_protocol/rpc/OSCTrackersSettingT.java @@ -15,6 +15,7 @@ public class OSCTrackersSettingT { private boolean feet; private boolean elbows; private boolean hands; + private boolean toes; public boolean getHead() { return head; } @@ -44,6 +45,10 @@ public class OSCTrackersSettingT { public void setHands(boolean hands) { this.hands = hands; } + public boolean getToes() { return toes; } + + public void setToes(boolean toes) { this.toes = toes; } + public OSCTrackersSettingT() { this.head = false; @@ -53,6 +58,7 @@ public OSCTrackersSettingT() { this.feet = false; this.elbows = false; this.hands = false; + this.toes = false; } } diff --git a/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java b/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java index e6f768e6..e171b1b1 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java +++ b/protocol/java/src/solarxr_protocol/rpc/SkeletonBone.java @@ -27,14 +27,14 @@ private SkeletonBone() { } public static final int HAND_Z = 19; public static final int ELBOW_OFFSET = 20; public static final int UPPER_CHEST = 21; - public static final int LEFT_TOE_1 = 22; - public static final int LEFT_TOE_2 = 23; - public static final int LEFT_TOE_3 = 24; - public static final int RIGHT_TOE_1 = 25; - public static final int RIGHT_TOE_2 = 26; - public static final int RIGHT_TOE_3 = 27; + public static final int LEFT_TOES_ABDUCTOR_HALLUCIS = 22; + public static final int LEFT_TOES_DIGITORUM_BREVIS = 23; + public static final int LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24; + public static final int RIGHT_TOES_ABDUCTOR_HALLUCIS = 25; + public static final int RIGHT_TOES_DIGITORUM_BREVIS = 26; + public static final int RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27; - public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3", }; + public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", "LEFT_TOES_ABDUCTOR_HALLUCIS", "LEFT_TOES_DIGITORUM_BREVIS", "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", "RIGHT_TOES_ABDUCTOR_HALLUCIS", "RIGHT_TOES_DIGITORUM_BREVIS", "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI", }; public static String name(int e) { return names[e]; } } diff --git a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java index 385d530f..b95d78e4 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java +++ b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSetting.java @@ -26,6 +26,8 @@ public final class SteamVRTrackersSetting extends Table { public boolean rightElbow() { int o = __offset(28); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } public boolean leftHand() { int o = __offset(30); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } public boolean rightHand() { int o = __offset(32); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } + public boolean leftToes() { int o = __offset(34); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } + public boolean rightToes() { int o = __offset(36); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } public static int createSteamVRTrackersSetting(FlatBufferBuilder builder, boolean waist, @@ -38,8 +40,12 @@ public static int createSteamVRTrackersSetting(FlatBufferBuilder builder, boolean leftElbow, boolean rightElbow, boolean leftHand, - boolean rightHand) { - builder.startTable(15); + boolean rightHand, + boolean leftToes, + boolean rightToes) { + builder.startTable(17); + SteamVRTrackersSetting.addRightToes(builder, rightToes); + SteamVRTrackersSetting.addLeftToes(builder, leftToes); SteamVRTrackersSetting.addRightHand(builder, rightHand); SteamVRTrackersSetting.addLeftHand(builder, leftHand); SteamVRTrackersSetting.addRightElbow(builder, rightElbow); @@ -54,7 +60,7 @@ public static int createSteamVRTrackersSetting(FlatBufferBuilder builder, return SteamVRTrackersSetting.endSteamVRTrackersSetting(builder); } - public static void startSteamVRTrackersSetting(FlatBufferBuilder builder) { builder.startTable(15); } + public static void startSteamVRTrackersSetting(FlatBufferBuilder builder) { builder.startTable(17); } public static void addWaist(FlatBufferBuilder builder, boolean waist) { builder.addBoolean(0, waist, false); } public static void addChest(FlatBufferBuilder builder, boolean chest) { builder.addBoolean(1, chest, false); } public static void addAutomaticTrackerToggle(FlatBufferBuilder builder, boolean automaticTrackerToggle) { builder.addBoolean(6, automaticTrackerToggle, false); } @@ -66,6 +72,8 @@ public static int createSteamVRTrackersSetting(FlatBufferBuilder builder, public static void addRightElbow(FlatBufferBuilder builder, boolean rightElbow) { builder.addBoolean(12, rightElbow, false); } public static void addLeftHand(FlatBufferBuilder builder, boolean leftHand) { builder.addBoolean(13, leftHand, false); } public static void addRightHand(FlatBufferBuilder builder, boolean rightHand) { builder.addBoolean(14, rightHand, false); } + public static void addLeftToes(FlatBufferBuilder builder, boolean leftToes) { builder.addBoolean(15, leftToes, false); } + public static void addRightToes(FlatBufferBuilder builder, boolean rightToes) { builder.addBoolean(16, rightToes, false); } public static int endSteamVRTrackersSetting(FlatBufferBuilder builder) { int o = builder.endTable(); return o; @@ -105,6 +113,10 @@ public void unpackTo(SteamVRTrackersSettingT _o) { _o.setLeftHand(_oLeftHand); boolean _oRightHand = rightHand(); _o.setRightHand(_oRightHand); + boolean _oLeftToes = leftToes(); + _o.setLeftToes(_oLeftToes); + boolean _oRightToes = rightToes(); + _o.setRightToes(_oRightToes); } public static int pack(FlatBufferBuilder builder, SteamVRTrackersSettingT _o) { if (_o == null) return 0; @@ -120,7 +132,9 @@ public static int pack(FlatBufferBuilder builder, SteamVRTrackersSettingT _o) { _o.getLeftElbow(), _o.getRightElbow(), _o.getLeftHand(), - _o.getRightHand()); + _o.getRightHand(), + _o.getLeftToes(), + _o.getRightToes()); } } diff --git a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java index ba1155a2..da1fa4f5 100644 --- a/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java +++ b/protocol/java/src/solarxr_protocol/rpc/SteamVRTrackersSettingT.java @@ -19,6 +19,8 @@ public class SteamVRTrackersSettingT { private boolean rightElbow; private boolean leftHand; private boolean rightHand; + private boolean leftToes; + private boolean rightToes; public boolean getWaist() { return waist; } @@ -64,6 +66,14 @@ public class SteamVRTrackersSettingT { public void setRightHand(boolean rightHand) { this.rightHand = rightHand; } + public boolean getLeftToes() { return leftToes; } + + public void setLeftToes(boolean leftToes) { this.leftToes = leftToes; } + + public boolean getRightToes() { return rightToes; } + + public void setRightToes(boolean rightToes) { this.rightToes = rightToes; } + public SteamVRTrackersSettingT() { this.waist = false; @@ -77,6 +87,8 @@ public SteamVRTrackersSettingT() { this.rightElbow = false; this.leftHand = false; this.rightHand = false; + this.leftToes = false; + this.rightToes = false; } } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt b/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt index f179aca3..5253d061 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/OSCTrackersSetting.kt @@ -51,6 +51,11 @@ class OSCTrackersSetting : Table() { val o = __offset(16) return if(o != 0) 0.toByte() != bb.get(o + bb_pos) else false } + val toes : Boolean + get() { + val o = __offset(18) + return if(o != 0) 0.toByte() != bb.get(o + bb_pos) else false + } companion object { @JvmStatic fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @@ -62,8 +67,9 @@ class OSCTrackersSetting : Table() { return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) } @JvmStatic - fun createOSCTrackersSetting(builder: FlatBufferBuilder, head: Boolean, chest: Boolean, waist: Boolean, knees: Boolean, feet: Boolean, elbows: Boolean, hands: Boolean) : Int { - builder.startTable(7) + fun createOSCTrackersSetting(builder: FlatBufferBuilder, head: Boolean, chest: Boolean, waist: Boolean, knees: Boolean, feet: Boolean, elbows: Boolean, hands: Boolean, toes: Boolean) : Int { + builder.startTable(8) + addToes(builder, toes) addHands(builder, hands) addElbows(builder, elbows) addFeet(builder, feet) @@ -74,7 +80,7 @@ class OSCTrackersSetting : Table() { return endOSCTrackersSetting(builder) } @JvmStatic - fun startOSCTrackersSetting(builder: FlatBufferBuilder) = builder.startTable(7) + fun startOSCTrackersSetting(builder: FlatBufferBuilder) = builder.startTable(8) @JvmStatic fun addHead(builder: FlatBufferBuilder, head: Boolean) = builder.addBoolean(0, head, false) @JvmStatic @@ -90,6 +96,8 @@ class OSCTrackersSetting : Table() { @JvmStatic fun addHands(builder: FlatBufferBuilder, hands: Boolean) = builder.addBoolean(6, hands, false) @JvmStatic + fun addToes(builder: FlatBufferBuilder, toes: Boolean) = builder.addBoolean(7, toes, false) + @JvmStatic fun endOSCTrackersSetting(builder: FlatBufferBuilder) : Int { val o = builder.endTable() return o diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt index 37471a2d..43b17d62 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SkeletonBone.kt @@ -27,13 +27,13 @@ class SkeletonBone private constructor() { const val HANDZ: UByte = 19u const val ELBOWOFFSET: UByte = 20u const val UPPERCHEST: UByte = 21u - const val LEFTTOE1: UByte = 22u - const val LEFTTOE2: UByte = 23u - const val LEFTTOE3: UByte = 24u - const val RIGHTTOE1: UByte = 25u - const val RIGHTTOE2: UByte = 26u - const val RIGHTTOE3: UByte = 27u - val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3") + const val LEFTTOESABDUCTORHALLUCIS: UByte = 22u + const val LEFTTOESDIGITORUMBREVIS: UByte = 23u + const val LEFTTOESABDUCTORDIGITIMINIMI: UByte = 24u + const val RIGHTTOESABDUCTORHALLUCIS: UByte = 25u + const val RIGHTTOESDIGITORUMBREVIS: UByte = 26u + const val RIGHTTOESABDUCTORDIGITIMINIMI: UByte = 27u + val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "CHEST_OFFSET", "WAIST", "HIP", "HIP_OFFSET", "HIPS_WIDTH", "UPPER_LEG", "LOWER_LEG", "FOOT_LENGTH", "FOOT_SHIFT", "SKELETON_OFFSET", "SHOULDERS_DISTANCE", "SHOULDERS_WIDTH", "UPPER_ARM", "LOWER_ARM", "HAND_Y", "HAND_Z", "ELBOW_OFFSET", "UPPER_CHEST", "LEFT_TOES_ABDUCTOR_HALLUCIS", "LEFT_TOES_DIGITORUM_BREVIS", "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", "RIGHT_TOES_ABDUCTOR_HALLUCIS", "RIGHT_TOES_DIGITORUM_BREVIS", "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI") @JvmStatic fun name(e: Int) : String = names[e] } diff --git a/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt b/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt index 5befe9f2..8b9cb2e3 100644 --- a/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt +++ b/protocol/kotlin/src/solarxr_protocol/rpc/SteamVRTrackersSetting.kt @@ -71,6 +71,16 @@ class SteamVRTrackersSetting : Table() { val o = __offset(32) return if(o != 0) 0.toByte() != bb.get(o + bb_pos) else false } + val leftToes : Boolean + get() { + val o = __offset(34) + return if(o != 0) 0.toByte() != bb.get(o + bb_pos) else false + } + val rightToes : Boolean + get() { + val o = __offset(36) + return if(o != 0) 0.toByte() != bb.get(o + bb_pos) else false + } companion object { @JvmStatic fun validateVersion() = Constants.FLATBUFFERS_22_10_26() @@ -82,8 +92,10 @@ class SteamVRTrackersSetting : Table() { return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) } @JvmStatic - fun createSteamVRTrackersSetting(builder: FlatBufferBuilder, waist: Boolean, chest: Boolean, automaticTrackerToggle: Boolean, leftFoot: Boolean, rightFoot: Boolean, leftKnee: Boolean, rightKnee: Boolean, leftElbow: Boolean, rightElbow: Boolean, leftHand: Boolean, rightHand: Boolean) : Int { - builder.startTable(15) + fun createSteamVRTrackersSetting(builder: FlatBufferBuilder, waist: Boolean, chest: Boolean, automaticTrackerToggle: Boolean, leftFoot: Boolean, rightFoot: Boolean, leftKnee: Boolean, rightKnee: Boolean, leftElbow: Boolean, rightElbow: Boolean, leftHand: Boolean, rightHand: Boolean, leftToes: Boolean, rightToes: Boolean) : Int { + builder.startTable(17) + addRightToes(builder, rightToes) + addLeftToes(builder, leftToes) addRightHand(builder, rightHand) addLeftHand(builder, leftHand) addRightElbow(builder, rightElbow) @@ -98,7 +110,7 @@ class SteamVRTrackersSetting : Table() { return endSteamVRTrackersSetting(builder) } @JvmStatic - fun startSteamVRTrackersSetting(builder: FlatBufferBuilder) = builder.startTable(15) + fun startSteamVRTrackersSetting(builder: FlatBufferBuilder) = builder.startTable(17) @JvmStatic fun addWaist(builder: FlatBufferBuilder, waist: Boolean) = builder.addBoolean(0, waist, false) @JvmStatic @@ -122,6 +134,10 @@ class SteamVRTrackersSetting : Table() { @JvmStatic fun addRightHand(builder: FlatBufferBuilder, rightHand: Boolean) = builder.addBoolean(14, rightHand, false) @JvmStatic + fun addLeftToes(builder: FlatBufferBuilder, leftToes: Boolean) = builder.addBoolean(15, leftToes, false) + @JvmStatic + fun addRightToes(builder: FlatBufferBuilder, rightToes: Boolean) = builder.addBoolean(16, rightToes, false) + @JvmStatic fun endSteamVRTrackersSetting(builder: FlatBufferBuilder) : Int { val o = builder.endTable() return o diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs index 21543dcc..7465dbf8 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/osctrackers_setting_generated.rs @@ -32,6 +32,7 @@ impl<'a> OSCTrackersSetting<'a> { pub const VT_FEET: flatbuffers::VOffsetT = 12; pub const VT_ELBOWS: flatbuffers::VOffsetT = 14; pub const VT_HANDS: flatbuffers::VOffsetT = 16; + pub const VT_TOES: flatbuffers::VOffsetT = 18; #[inline] pub unsafe fn init_from_table(table: flatbuffers::Table<'a>) -> Self { @@ -43,6 +44,7 @@ impl<'a> OSCTrackersSetting<'a> { args: &'args OSCTrackersSettingArgs ) -> flatbuffers::WIPOffset> { let mut builder = OSCTrackersSettingBuilder::new(_fbb); + builder.add_toes(args.toes); builder.add_hands(args.hands); builder.add_elbows(args.elbows); builder.add_feet(args.feet); @@ -103,6 +105,13 @@ impl<'a> OSCTrackersSetting<'a> { // which contains a valid value in this slot unsafe { self._tab.get::(OSCTrackersSetting::VT_HANDS, Some(false)).unwrap()} } + #[inline] + pub fn toes(&self) -> bool { + // Safety: + // Created from valid Table for this object + // which contains a valid value in this slot + unsafe { self._tab.get::(OSCTrackersSetting::VT_TOES, Some(false)).unwrap()} + } } impl flatbuffers::Verifiable for OSCTrackersSetting<'_> { @@ -119,6 +128,7 @@ impl flatbuffers::Verifiable for OSCTrackersSetting<'_> { .visit_field::("feet", Self::VT_FEET, false)? .visit_field::("elbows", Self::VT_ELBOWS, false)? .visit_field::("hands", Self::VT_HANDS, false)? + .visit_field::("toes", Self::VT_TOES, false)? .finish(); Ok(()) } @@ -131,6 +141,7 @@ pub struct OSCTrackersSettingArgs { pub feet: bool, pub elbows: bool, pub hands: bool, + pub toes: bool, } impl<'a> Default for OSCTrackersSettingArgs { #[inline] @@ -143,6 +154,7 @@ impl<'a> Default for OSCTrackersSettingArgs { feet: false, elbows: false, hands: false, + toes: false, } } } @@ -181,6 +193,10 @@ impl<'a: 'b, 'b> OSCTrackersSettingBuilder<'a, 'b> { self.fbb_.push_slot::(OSCTrackersSetting::VT_HANDS, hands, false); } #[inline] + pub fn add_toes(&mut self, toes: bool) { + self.fbb_.push_slot::(OSCTrackersSetting::VT_TOES, toes, false); + } + #[inline] pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> OSCTrackersSettingBuilder<'a, 'b> { let start = _fbb.start_table(); OSCTrackersSettingBuilder { @@ -205,6 +221,7 @@ impl core::fmt::Debug for OSCTrackersSetting<'_> { ds.field("feet", &self.feet()); ds.field("elbows", &self.elbows()); ds.field("hands", &self.hands()); + ds.field("toes", &self.toes()); ds.finish() } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs index 3ea4c310..a518cca3 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/skeleton_bone_generated.rs @@ -38,12 +38,12 @@ pub const ENUM_VALUES_SKELETON_BONE: [SkeletonBone; 28] = [ SkeletonBone::HAND_Z, SkeletonBone::ELBOW_OFFSET, SkeletonBone::UPPER_CHEST, - SkeletonBone::LEFT_TOE_1, - SkeletonBone::LEFT_TOE_2, - SkeletonBone::LEFT_TOE_3, - SkeletonBone::RIGHT_TOE_1, - SkeletonBone::RIGHT_TOE_2, - SkeletonBone::RIGHT_TOE_3, + SkeletonBone::LEFT_TOES_ABDUCTOR_HALLUCIS, + SkeletonBone::LEFT_TOES_DIGITORUM_BREVIS, + SkeletonBone::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + SkeletonBone::RIGHT_TOES_ABDUCTOR_HALLUCIS, + SkeletonBone::RIGHT_TOES_DIGITORUM_BREVIS, + SkeletonBone::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI, ]; #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] @@ -73,12 +73,12 @@ impl SkeletonBone { pub const HAND_Z: Self = Self(19); pub const ELBOW_OFFSET: Self = Self(20); pub const UPPER_CHEST: Self = Self(21); - pub const LEFT_TOE_1: Self = Self(22); - pub const LEFT_TOE_2: Self = Self(23); - pub const LEFT_TOE_3: Self = Self(24); - pub const RIGHT_TOE_1: Self = Self(25); - pub const RIGHT_TOE_2: Self = Self(26); - pub const RIGHT_TOE_3: Self = Self(27); + pub const LEFT_TOES_ABDUCTOR_HALLUCIS: Self = Self(22); + pub const LEFT_TOES_DIGITORUM_BREVIS: Self = Self(23); + pub const LEFT_TOES_ABDUCTOR_DIGITI_MINIMI: Self = Self(24); + pub const RIGHT_TOES_ABDUCTOR_HALLUCIS: Self = Self(25); + pub const RIGHT_TOES_DIGITORUM_BREVIS: Self = Self(26); + pub const RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI: Self = Self(27); pub const ENUM_MIN: u8 = 0; pub const ENUM_MAX: u8 = 27; @@ -105,12 +105,12 @@ impl SkeletonBone { Self::HAND_Z, Self::ELBOW_OFFSET, Self::UPPER_CHEST, - Self::LEFT_TOE_1, - Self::LEFT_TOE_2, - Self::LEFT_TOE_3, - Self::RIGHT_TOE_1, - Self::RIGHT_TOE_2, - Self::RIGHT_TOE_3, + Self::LEFT_TOES_ABDUCTOR_HALLUCIS, + Self::LEFT_TOES_DIGITORUM_BREVIS, + Self::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + Self::RIGHT_TOES_ABDUCTOR_HALLUCIS, + Self::RIGHT_TOES_DIGITORUM_BREVIS, + Self::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI, ]; /// Returns the variant's name or "" if unknown. pub fn variant_name(self) -> Option<&'static str> { @@ -137,12 +137,12 @@ impl SkeletonBone { Self::HAND_Z => Some("HAND_Z"), Self::ELBOW_OFFSET => Some("ELBOW_OFFSET"), Self::UPPER_CHEST => Some("UPPER_CHEST"), - Self::LEFT_TOE_1 => Some("LEFT_TOE_1"), - Self::LEFT_TOE_2 => Some("LEFT_TOE_2"), - Self::LEFT_TOE_3 => Some("LEFT_TOE_3"), - Self::RIGHT_TOE_1 => Some("RIGHT_TOE_1"), - Self::RIGHT_TOE_2 => Some("RIGHT_TOE_2"), - Self::RIGHT_TOE_3 => Some("RIGHT_TOE_3"), + Self::LEFT_TOES_ABDUCTOR_HALLUCIS => Some("LEFT_TOES_ABDUCTOR_HALLUCIS"), + Self::LEFT_TOES_DIGITORUM_BREVIS => Some("LEFT_TOES_DIGITORUM_BREVIS"), + Self::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI => Some("LEFT_TOES_ABDUCTOR_DIGITI_MINIMI"), + Self::RIGHT_TOES_ABDUCTOR_HALLUCIS => Some("RIGHT_TOES_ABDUCTOR_HALLUCIS"), + Self::RIGHT_TOES_DIGITORUM_BREVIS => Some("RIGHT_TOES_DIGITORUM_BREVIS"), + Self::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI => Some("RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI"), _ => None, } } diff --git a/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs b/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs index 77165e29..3dea7ff2 100644 --- a/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/rpc/steam_vrtrackers_setting_generated.rs @@ -36,6 +36,8 @@ impl<'a> SteamVRTrackersSetting<'a> { pub const VT_RIGHT_ELBOW: flatbuffers::VOffsetT = 28; pub const VT_LEFT_HAND: flatbuffers::VOffsetT = 30; pub const VT_RIGHT_HAND: flatbuffers::VOffsetT = 32; + pub const VT_LEFT_TOES: flatbuffers::VOffsetT = 34; + pub const VT_RIGHT_TOES: flatbuffers::VOffsetT = 36; #[inline] pub unsafe fn init_from_table(table: flatbuffers::Table<'a>) -> Self { @@ -47,6 +49,8 @@ impl<'a> SteamVRTrackersSetting<'a> { args: &'args SteamVRTrackersSettingArgs ) -> flatbuffers::WIPOffset> { let mut builder = SteamVRTrackersSettingBuilder::new(_fbb); + builder.add_right_toes(args.right_toes); + builder.add_left_toes(args.left_toes); builder.add_right_hand(args.right_hand); builder.add_left_hand(args.left_hand); builder.add_right_elbow(args.right_elbow); @@ -139,6 +143,20 @@ impl<'a> SteamVRTrackersSetting<'a> { // which contains a valid value in this slot unsafe { self._tab.get::(SteamVRTrackersSetting::VT_RIGHT_HAND, Some(false)).unwrap()} } + #[inline] + pub fn left_toes(&self) -> bool { + // Safety: + // Created from valid Table for this object + // which contains a valid value in this slot + unsafe { self._tab.get::(SteamVRTrackersSetting::VT_LEFT_TOES, Some(false)).unwrap()} + } + #[inline] + pub fn right_toes(&self) -> bool { + // Safety: + // Created from valid Table for this object + // which contains a valid value in this slot + unsafe { self._tab.get::(SteamVRTrackersSetting::VT_RIGHT_TOES, Some(false)).unwrap()} + } } impl flatbuffers::Verifiable for SteamVRTrackersSetting<'_> { @@ -159,6 +177,8 @@ impl flatbuffers::Verifiable for SteamVRTrackersSetting<'_> { .visit_field::("right_elbow", Self::VT_RIGHT_ELBOW, false)? .visit_field::("left_hand", Self::VT_LEFT_HAND, false)? .visit_field::("right_hand", Self::VT_RIGHT_HAND, false)? + .visit_field::("left_toes", Self::VT_LEFT_TOES, false)? + .visit_field::("right_toes", Self::VT_RIGHT_TOES, false)? .finish(); Ok(()) } @@ -175,6 +195,8 @@ pub struct SteamVRTrackersSettingArgs { pub right_elbow: bool, pub left_hand: bool, pub right_hand: bool, + pub left_toes: bool, + pub right_toes: bool, } impl<'a> Default for SteamVRTrackersSettingArgs { #[inline] @@ -191,6 +213,8 @@ impl<'a> Default for SteamVRTrackersSettingArgs { right_elbow: false, left_hand: false, right_hand: false, + left_toes: false, + right_toes: false, } } } @@ -245,6 +269,14 @@ impl<'a: 'b, 'b> SteamVRTrackersSettingBuilder<'a, 'b> { self.fbb_.push_slot::(SteamVRTrackersSetting::VT_RIGHT_HAND, right_hand, false); } #[inline] + pub fn add_left_toes(&mut self, left_toes: bool) { + self.fbb_.push_slot::(SteamVRTrackersSetting::VT_LEFT_TOES, left_toes, false); + } + #[inline] + pub fn add_right_toes(&mut self, right_toes: bool) { + self.fbb_.push_slot::(SteamVRTrackersSetting::VT_RIGHT_TOES, right_toes, false); + } + #[inline] pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a>) -> SteamVRTrackersSettingBuilder<'a, 'b> { let start = _fbb.start_table(); SteamVRTrackersSettingBuilder { @@ -273,6 +305,8 @@ impl core::fmt::Debug for SteamVRTrackersSetting<'_> { ds.field("right_elbow", &self.right_elbow()); ds.field("left_hand", &self.left_hand()); ds.field("right_hand", &self.right_hand()); + ds.field("left_toes", &self.left_toes()); + ds.field("right_toes", &self.right_toes()); ds.finish() } } diff --git a/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts b/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts index 3519d494..1c5fc4dd 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/osctrackers-setting.ts @@ -57,8 +57,13 @@ hands():boolean { return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false; } +toes():boolean { + const offset = this.bb!.__offset(this.bb_pos, 18); + return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false; +} + static startOSCTrackersSetting(builder:flatbuffers.Builder) { - builder.startObject(7); + builder.startObject(8); } static addHead(builder:flatbuffers.Builder, head:boolean) { @@ -89,12 +94,16 @@ static addHands(builder:flatbuffers.Builder, hands:boolean) { builder.addFieldInt8(6, +hands, +false); } +static addToes(builder:flatbuffers.Builder, toes:boolean) { + builder.addFieldInt8(7, +toes, +false); +} + static endOSCTrackersSetting(builder:flatbuffers.Builder):flatbuffers.Offset { const offset = builder.endObject(); return offset; } -static createOSCTrackersSetting(builder:flatbuffers.Builder, head:boolean, chest:boolean, waist:boolean, knees:boolean, feet:boolean, elbows:boolean, hands:boolean):flatbuffers.Offset { +static createOSCTrackersSetting(builder:flatbuffers.Builder, head:boolean, chest:boolean, waist:boolean, knees:boolean, feet:boolean, elbows:boolean, hands:boolean, toes:boolean):flatbuffers.Offset { OSCTrackersSetting.startOSCTrackersSetting(builder); OSCTrackersSetting.addHead(builder, head); OSCTrackersSetting.addChest(builder, chest); @@ -103,6 +112,7 @@ static createOSCTrackersSetting(builder:flatbuffers.Builder, head:boolean, chest OSCTrackersSetting.addFeet(builder, feet); OSCTrackersSetting.addElbows(builder, elbows); OSCTrackersSetting.addHands(builder, hands); + OSCTrackersSetting.addToes(builder, toes); return OSCTrackersSetting.endOSCTrackersSetting(builder); } @@ -114,7 +124,8 @@ unpack(): OSCTrackersSettingT { this.knees(), this.feet(), this.elbows(), - this.hands() + this.hands(), + this.toes() ); } @@ -127,6 +138,7 @@ unpackTo(_o: OSCTrackersSettingT): void { _o.feet = this.feet(); _o.elbows = this.elbows(); _o.hands = this.hands(); + _o.toes = this.toes(); } } @@ -138,7 +150,8 @@ constructor( public knees: boolean = false, public feet: boolean = false, public elbows: boolean = false, - public hands: boolean = false + public hands: boolean = false, + public toes: boolean = false ){} @@ -150,7 +163,8 @@ pack(builder:flatbuffers.Builder): flatbuffers.Offset { this.knees, this.feet, this.elbows, - this.hands + this.hands, + this.toes ); } } diff --git a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts index 3b89d42c..882aba65 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/skeleton-bone.ts @@ -23,10 +23,10 @@ export enum SkeletonBone { HAND_Z = 19, ELBOW_OFFSET = 20, UPPER_CHEST = 21, - LEFT_TOE_1 = 22, - LEFT_TOE_2 = 23, - LEFT_TOE_3 = 24, - RIGHT_TOE_1 = 25, - RIGHT_TOE_2 = 26, - RIGHT_TOE_3 = 27 + LEFT_TOES_ABDUCTOR_HALLUCIS = 22, + LEFT_TOES_DIGITORUM_BREVIS = 23, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 25, + RIGHT_TOES_DIGITORUM_BREVIS = 26, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27 } diff --git a/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts b/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts index 6824ea93..7814c8e3 100644 --- a/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts +++ b/protocol/typescript/src/solarxr-protocol/rpc/steam-vrtrackers-setting.ts @@ -77,8 +77,18 @@ rightHand():boolean { return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false; } +leftToes():boolean { + const offset = this.bb!.__offset(this.bb_pos, 34); + return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false; +} + +rightToes():boolean { + const offset = this.bb!.__offset(this.bb_pos, 36); + return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false; +} + static startSteamVRTrackersSetting(builder:flatbuffers.Builder) { - builder.startObject(15); + builder.startObject(17); } static addWaist(builder:flatbuffers.Builder, waist:boolean) { @@ -125,12 +135,20 @@ static addRightHand(builder:flatbuffers.Builder, rightHand:boolean) { builder.addFieldInt8(14, +rightHand, +false); } +static addLeftToes(builder:flatbuffers.Builder, leftToes:boolean) { + builder.addFieldInt8(15, +leftToes, +false); +} + +static addRightToes(builder:flatbuffers.Builder, rightToes:boolean) { + builder.addFieldInt8(16, +rightToes, +false); +} + static endSteamVRTrackersSetting(builder:flatbuffers.Builder):flatbuffers.Offset { const offset = builder.endObject(); return offset; } -static createSteamVRTrackersSetting(builder:flatbuffers.Builder, waist:boolean, chest:boolean, automaticTrackerToggle:boolean, leftFoot:boolean, rightFoot:boolean, leftKnee:boolean, rightKnee:boolean, leftElbow:boolean, rightElbow:boolean, leftHand:boolean, rightHand:boolean):flatbuffers.Offset { +static createSteamVRTrackersSetting(builder:flatbuffers.Builder, waist:boolean, chest:boolean, automaticTrackerToggle:boolean, leftFoot:boolean, rightFoot:boolean, leftKnee:boolean, rightKnee:boolean, leftElbow:boolean, rightElbow:boolean, leftHand:boolean, rightHand:boolean, leftToes:boolean, rightToes:boolean):flatbuffers.Offset { SteamVRTrackersSetting.startSteamVRTrackersSetting(builder); SteamVRTrackersSetting.addWaist(builder, waist); SteamVRTrackersSetting.addChest(builder, chest); @@ -143,6 +161,8 @@ static createSteamVRTrackersSetting(builder:flatbuffers.Builder, waist:boolean, SteamVRTrackersSetting.addRightElbow(builder, rightElbow); SteamVRTrackersSetting.addLeftHand(builder, leftHand); SteamVRTrackersSetting.addRightHand(builder, rightHand); + SteamVRTrackersSetting.addLeftToes(builder, leftToes); + SteamVRTrackersSetting.addRightToes(builder, rightToes); return SteamVRTrackersSetting.endSteamVRTrackersSetting(builder); } @@ -158,7 +178,9 @@ unpack(): SteamVRTrackersSettingT { this.leftElbow(), this.rightElbow(), this.leftHand(), - this.rightHand() + this.rightHand(), + this.leftToes(), + this.rightToes() ); } @@ -175,6 +197,8 @@ unpackTo(_o: SteamVRTrackersSettingT): void { _o.rightElbow = this.rightElbow(); _o.leftHand = this.leftHand(); _o.rightHand = this.rightHand(); + _o.leftToes = this.leftToes(); + _o.rightToes = this.rightToes(); } } @@ -190,7 +214,9 @@ constructor( public leftElbow: boolean = false, public rightElbow: boolean = false, public leftHand: boolean = false, - public rightHand: boolean = false + public rightHand: boolean = false, + public leftToes: boolean = false, + public rightToes: boolean = false ){} @@ -206,7 +232,9 @@ pack(builder:flatbuffers.Builder): flatbuffers.Offset { this.leftElbow, this.rightElbow, this.leftHand, - this.rightHand + this.rightHand, + this.leftToes, + this.rightToes ); } } diff --git a/schema/rpc.fbs b/schema/rpc.fbs index d431aa5c..a105865d 100644 --- a/schema/rpc.fbs +++ b/schema/rpc.fbs @@ -211,6 +211,9 @@ table SteamVRTrackersSetting { left_hand: bool; right_hand: bool; + + left_toes: bool; + right_toes: bool; } table FilteringSettings { @@ -265,6 +268,7 @@ table OSCTrackersSetting { feet: bool; elbows: bool; hands: bool; + toes: bool; } table TapDetectionSettings { @@ -362,12 +366,12 @@ enum SkeletonBone: uint8 { HAND_Z = 19, ELBOW_OFFSET = 20, UPPER_CHEST = 21, - LEFT_TOE_1 = 22, - LEFT_TOE_2 = 23, - LEFT_TOE_3 = 24, - RIGHT_TOE_1 = 25, - RIGHT_TOE_2 = 26, - RIGHT_TOE_3 = 27 + LEFT_TOES_ABDUCTOR_HALLUCIS = 22, + LEFT_TOES_DIGITORUM_BREVIS = 23, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 25, + RIGHT_TOES_DIGITORUM_BREVIS = 26, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27 } table SkeletonPart { From b33545ee79c8e777f5a41d10594718326053e885 Mon Sep 17 00:00:00 2001 From: Sebastina Date: Tue, 21 Oct 2025 16:39:59 -0500 Subject: [PATCH 8/9] Finish renaming toe types. --- .../generated/all_generated.h | 80 +++++++++---------- .../solarxr_protocol/datatypes/BodyPart.java | 14 ++-- .../datatypes/TrackerRole.java | 14 ++-- .../solarxr_protocol/datatypes/BodyPart.kt | 14 ++-- .../solarxr_protocol/datatypes/TrackerRole.kt | 14 ++-- .../datatypes/body_part_generated.rs | 48 +++++------ .../datatypes/tracker_role_generated.rs | 48 +++++------ .../solarxr-protocol/datatypes/body-part.ts | 12 +-- .../datatypes/tracker-role.ts | 12 +-- schema/datatypes/datatypes.fbs | 24 +++--- 10 files changed, 140 insertions(+), 140 deletions(-) diff --git a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h index ef4ac88a..408ec003 100644 --- a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h +++ b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h @@ -618,14 +618,14 @@ enum class TrackerRole : uint8_t { HMD = 19, BEACON = 20, GENERIC_CONTROLLER = 21, - LEFT_TOE_1 = 22, - LEFT_TOE_2 = 23, - LEFT_TOE_3 = 24, - RIGHT_TOE_1 = 25, - RIGHT_TOE_2 = 26, - RIGHT_TOE_3 = 27, + LEFT_TOES_ABDUCTOR_HALLUCIS = 22, + LEFT_TOES_DIGITORUM_BREVIS = 23, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 25, + RIGHT_TOES_DIGITORUM_BREVIS = 26, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27, MIN = NONE, - MAX = RIGHT_TOE_3 + MAX = RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI }; inline const TrackerRole (&EnumValuesTrackerRole())[28] { @@ -652,12 +652,12 @@ inline const TrackerRole (&EnumValuesTrackerRole())[28] { TrackerRole::HMD, TrackerRole::BEACON, TrackerRole::GENERIC_CONTROLLER, - TrackerRole::LEFT_TOE_1, - TrackerRole::LEFT_TOE_2, - TrackerRole::LEFT_TOE_3, - TrackerRole::RIGHT_TOE_1, - TrackerRole::RIGHT_TOE_2, - TrackerRole::RIGHT_TOE_3 + TrackerRole::LEFT_TOES_ABDUCTOR_HALLUCIS, + TrackerRole::LEFT_TOES_DIGITORUM_BREVIS, + TrackerRole::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + TrackerRole::RIGHT_TOES_ABDUCTOR_HALLUCIS, + TrackerRole::RIGHT_TOES_DIGITORUM_BREVIS, + TrackerRole::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI }; return values; } @@ -686,19 +686,19 @@ inline const char * const *EnumNamesTrackerRole() { "HMD", "BEACON", "GENERIC_CONTROLLER", - "LEFT_TOE_1", - "LEFT_TOE_2", - "LEFT_TOE_3", - "RIGHT_TOE_1", - "RIGHT_TOE_2", - "RIGHT_TOE_3", + "LEFT_TOES_ABDUCTOR_HALLUCIS", + "LEFT_TOES_DIGITORUM_BREVIS", + "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", + "RIGHT_TOES_ABDUCTOR_HALLUCIS", + "RIGHT_TOES_DIGITORUM_BREVIS", + "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI", nullptr }; return names; } inline const char *EnumNameTrackerRole(TrackerRole e) { - if (flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::RIGHT_TOE_3)) return ""; + if (flatbuffers::IsOutRange(e, TrackerRole::NONE, TrackerRole::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI)) return ""; const size_t index = static_cast(e); return EnumNamesTrackerRole()[index]; } @@ -759,14 +759,14 @@ enum class BodyPart : uint8_t { RIGHT_LITTLE_PROXIMAL = 52, RIGHT_LITTLE_INTERMEDIATE = 53, RIGHT_LITTLE_DISTAL = 54, - LEFT_TOE_1 = 55, - LEFT_TOE_2 = 56, - LEFT_TOE_3 = 57, - RIGHT_TOE_1 = 58, - RIGHT_TOE_2 = 59, - RIGHT_TOE_3 = 60, + LEFT_TOES_ABDUCTOR_HALLUCIS = 55, + LEFT_TOES_DIGITORUM_BREVIS = 56, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 57, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 58, + RIGHT_TOES_DIGITORUM_BREVIS = 59, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 60, MIN = NONE, - MAX = RIGHT_TOE_3 + MAX = RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI }; inline const BodyPart (&EnumValuesBodyPart())[59] { @@ -824,12 +824,12 @@ inline const BodyPart (&EnumValuesBodyPart())[59] { BodyPart::RIGHT_LITTLE_PROXIMAL, BodyPart::RIGHT_LITTLE_INTERMEDIATE, BodyPart::RIGHT_LITTLE_DISTAL, - BodyPart::LEFT_TOE_1, - BodyPart::LEFT_TOE_2, - BodyPart::LEFT_TOE_3, - BodyPart::RIGHT_TOE_1, - BodyPart::RIGHT_TOE_2, - BodyPart::RIGHT_TOE_3 + BodyPart::LEFT_TOES_ABDUCTOR_HALLUCIS, + BodyPart::LEFT_TOES_DIGITORUM_BREVIS, + BodyPart::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + BodyPart::RIGHT_TOES_ABDUCTOR_HALLUCIS, + BodyPart::RIGHT_TOES_DIGITORUM_BREVIS, + BodyPart::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI }; return values; } @@ -891,19 +891,19 @@ inline const char * const *EnumNamesBodyPart() { "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", - "LEFT_TOE_1", - "LEFT_TOE_2", - "LEFT_TOE_3", - "RIGHT_TOE_1", - "RIGHT_TOE_2", - "RIGHT_TOE_3", + "LEFT_TOES_ABDUCTOR_HALLUCIS", + "LEFT_TOES_DIGITORUM_BREVIS", + "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", + "RIGHT_TOES_ABDUCTOR_HALLUCIS", + "RIGHT_TOES_DIGITORUM_BREVIS", + "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI", nullptr }; return names; } inline const char *EnumNameBodyPart(BodyPart e) { - if (flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_TOE_3)) return ""; + if (flatbuffers::IsOutRange(e, BodyPart::NONE, BodyPart::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI)) return ""; const size_t index = static_cast(e); return EnumNamesBodyPart()[index]; } diff --git a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java index c243745e..c6227f3d 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java +++ b/protocol/java/src/solarxr_protocol/datatypes/BodyPart.java @@ -62,14 +62,14 @@ private BodyPart() { } public static final int RIGHT_LITTLE_PROXIMAL = 52; public static final int RIGHT_LITTLE_INTERMEDIATE = 53; public static final int RIGHT_LITTLE_DISTAL = 54; - public static final int LEFT_TOE_1 = 55; - public static final int LEFT_TOE_2 = 56; - public static final int LEFT_TOE_3 = 57; - public static final int RIGHT_TOE_1 = 58; - public static final int RIGHT_TOE_2 = 59; - public static final int RIGHT_TOE_3 = 60; + public static final int LEFT_TOES_ABDUCTOR_HALLUCIS = 55; + public static final int LEFT_TOES_DIGITORUM_BREVIS = 56; + public static final int LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 57; + public static final int RIGHT_TOES_ABDUCTOR_HALLUCIS = 58; + public static final int RIGHT_TOES_DIGITORUM_BREVIS = 59; + public static final int RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 60; - public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3", }; + public static final String[] names = { "NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOES_ABDUCTOR_HALLUCIS", "LEFT_TOES_DIGITORUM_BREVIS", "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", "RIGHT_TOES_ABDUCTOR_HALLUCIS", "RIGHT_TOES_DIGITORUM_BREVIS", "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI", }; public static String name(int e) { return names[e]; } } diff --git a/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java b/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java index 5b49ca24..f7c5012a 100644 --- a/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java +++ b/protocol/java/src/solarxr_protocol/datatypes/TrackerRole.java @@ -33,14 +33,14 @@ private TrackerRole() { } public static final int HMD = 19; public static final int BEACON = 20; public static final int GENERIC_CONTROLLER = 21; - public static final int LEFT_TOE_1 = 22; - public static final int LEFT_TOE_2 = 23; - public static final int LEFT_TOE_3 = 24; - public static final int RIGHT_TOE_1 = 25; - public static final int RIGHT_TOE_2 = 26; - public static final int RIGHT_TOE_3 = 27; + public static final int LEFT_TOES_ABDUCTOR_HALLUCIS = 22; + public static final int LEFT_TOES_DIGITORUM_BREVIS = 23; + public static final int LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24; + public static final int RIGHT_TOES_ABDUCTOR_HALLUCIS = 25; + public static final int RIGHT_TOES_DIGITORUM_BREVIS = 26; + public static final int RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27; - public static final String[] names = { "NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3", }; + public static final String[] names = { "NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER", "LEFT_TOES_ABDUCTOR_HALLUCIS", "LEFT_TOES_DIGITORUM_BREVIS", "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", "RIGHT_TOES_ABDUCTOR_HALLUCIS", "RIGHT_TOES_DIGITORUM_BREVIS", "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI", }; public static String name(int e) { return names[e]; } } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt index cfd6cbdf..e8730849 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/BodyPart.kt @@ -62,13 +62,13 @@ class BodyPart private constructor() { const val RIGHTLITTLEPROXIMAL: UByte = 52u const val RIGHTLITTLEINTERMEDIATE: UByte = 53u const val RIGHTLITTLEDISTAL: UByte = 54u - const val LEFTTOE1: UByte = 55u - const val LEFTTOE2: UByte = 56u - const val LEFTTOE3: UByte = 57u - const val RIGHTTOE1: UByte = 58u - const val RIGHTTOE2: UByte = 59u - const val RIGHTTOE3: UByte = 60u - val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3") + const val LEFTTOESABDUCTORHALLUCIS: UByte = 55u + const val LEFTTOESDIGITORUMBREVIS: UByte = 56u + const val LEFTTOESABDUCTORDIGITIMINIMI: UByte = 57u + const val RIGHTTOESABDUCTORHALLUCIS: UByte = 58u + const val RIGHTTOESDIGITORUMBREVIS: UByte = 59u + const val RIGHTTOESABDUCTORDIGITIMINIMI: UByte = 60u + val names : Array = arrayOf("NONE", "HEAD", "NECK", "CHEST", "WAIST", "HIP", "LEFT_UPPER_LEG", "RIGHT_UPPER_LEG", "LEFT_LOWER_LEG", "RIGHT_LOWER_LEG", "LEFT_FOOT", "RIGHT_FOOT", "", "", "LEFT_LOWER_ARM", "RIGHT_LOWER_ARM", "LEFT_UPPER_ARM", "RIGHT_UPPER_ARM", "LEFT_HAND", "RIGHT_HAND", "LEFT_SHOULDER", "RIGHT_SHOULDER", "UPPER_CHEST", "LEFT_HIP", "RIGHT_HIP", "LEFT_THUMB_METACARPAL", "LEFT_THUMB_PROXIMAL", "LEFT_THUMB_DISTAL", "LEFT_INDEX_PROXIMAL", "LEFT_INDEX_INTERMEDIATE", "LEFT_INDEX_DISTAL", "LEFT_MIDDLE_PROXIMAL", "LEFT_MIDDLE_INTERMEDIATE", "LEFT_MIDDLE_DISTAL", "LEFT_RING_PROXIMAL", "LEFT_RING_INTERMEDIATE", "LEFT_RING_DISTAL", "LEFT_LITTLE_PROXIMAL", "LEFT_LITTLE_INTERMEDIATE", "LEFT_LITTLE_DISTAL", "RIGHT_THUMB_METACARPAL", "RIGHT_THUMB_PROXIMAL", "RIGHT_THUMB_DISTAL", "RIGHT_INDEX_PROXIMAL", "RIGHT_INDEX_INTERMEDIATE", "RIGHT_INDEX_DISTAL", "RIGHT_MIDDLE_PROXIMAL", "RIGHT_MIDDLE_INTERMEDIATE", "RIGHT_MIDDLE_DISTAL", "RIGHT_RING_PROXIMAL", "RIGHT_RING_INTERMEDIATE", "RIGHT_RING_DISTAL", "RIGHT_LITTLE_PROXIMAL", "RIGHT_LITTLE_INTERMEDIATE", "RIGHT_LITTLE_DISTAL", "LEFT_TOES_ABDUCTOR_HALLUCIS", "LEFT_TOES_DIGITORUM_BREVIS", "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", "RIGHT_TOES_ABDUCTOR_HALLUCIS", "RIGHT_TOES_DIGITORUM_BREVIS", "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI") @JvmStatic fun name(e: Int) : String = names[e] } diff --git a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt index 3731e2bd..aa23ced9 100644 --- a/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt +++ b/protocol/kotlin/src/solarxr_protocol/datatypes/TrackerRole.kt @@ -33,13 +33,13 @@ class TrackerRole private constructor() { const val HMD: UByte = 19u const val BEACON: UByte = 20u const val GENERICCONTROLLER: UByte = 21u - const val LEFTTOE1: UByte = 22u - const val LEFTTOE2: UByte = 23u - const val LEFTTOE3: UByte = 24u - const val RIGHTTOE1: UByte = 25u - const val RIGHTTOE2: UByte = 26u - const val RIGHTTOE3: UByte = 27u - val names : Array = arrayOf("NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER", "LEFT_TOE_1", "LEFT_TOE_2", "LEFT_TOE_3", "RIGHT_TOE_1", "RIGHT_TOE_2", "RIGHT_TOE_3") + const val LEFTTOESABDUCTORHALLUCIS: UByte = 22u + const val LEFTTOESDIGITORUMBREVIS: UByte = 23u + const val LEFTTOESABDUCTORDIGITIMINIMI: UByte = 24u + const val RIGHTTOESABDUCTORHALLUCIS: UByte = 25u + const val RIGHTTOESDIGITORUMBREVIS: UByte = 26u + const val RIGHTTOESABDUCTORDIGITIMINIMI: UByte = 27u + val names : Array = arrayOf("NONE", "WAIST", "LEFT_FOOT", "RIGHT_FOOT", "CHEST", "LEFT_KNEE", "RIGHT_KNEE", "LEFT_ELBOW", "RIGHT_ELBOW", "LEFT_SHOULDER", "RIGHT_SHOULDER", "LEFT_HAND", "RIGHT_HAND", "LEFT_CONTROLLER", "RIGHT_CONTROLLER", "HEAD", "NECK", "CAMERA", "KEYBOARD", "HMD", "BEACON", "GENERIC_CONTROLLER", "LEFT_TOES_ABDUCTOR_HALLUCIS", "LEFT_TOES_DIGITORUM_BREVIS", "LEFT_TOES_ABDUCTOR_DIGITI_MINIMI", "RIGHT_TOES_ABDUCTOR_HALLUCIS", "RIGHT_TOES_DIGITORUM_BREVIS", "RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI") @JvmStatic fun name(e: Int) : String = names[e] } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs index d8dcd6fc..dee70b9d 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/body_part_generated.rs @@ -69,12 +69,12 @@ pub const ENUM_VALUES_BODY_PART: [BodyPart; 59] = [ BodyPart::RIGHT_LITTLE_PROXIMAL, BodyPart::RIGHT_LITTLE_INTERMEDIATE, BodyPart::RIGHT_LITTLE_DISTAL, - BodyPart::LEFT_TOE_1, - BodyPart::LEFT_TOE_2, - BodyPart::LEFT_TOE_3, - BodyPart::RIGHT_TOE_1, - BodyPart::RIGHT_TOE_2, - BodyPart::RIGHT_TOE_3, + BodyPart::LEFT_TOES_ABDUCTOR_HALLUCIS, + BodyPart::LEFT_TOES_DIGITORUM_BREVIS, + BodyPart::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + BodyPart::RIGHT_TOES_ABDUCTOR_HALLUCIS, + BodyPart::RIGHT_TOES_DIGITORUM_BREVIS, + BodyPart::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI, ]; /// Different parts of the body. Maps to each possible non-tracker bone in the skeleton. @@ -137,12 +137,12 @@ impl BodyPart { pub const RIGHT_LITTLE_PROXIMAL: Self = Self(52); pub const RIGHT_LITTLE_INTERMEDIATE: Self = Self(53); pub const RIGHT_LITTLE_DISTAL: Self = Self(54); - pub const LEFT_TOE_1: Self = Self(55); - pub const LEFT_TOE_2: Self = Self(56); - pub const LEFT_TOE_3: Self = Self(57); - pub const RIGHT_TOE_1: Self = Self(58); - pub const RIGHT_TOE_2: Self = Self(59); - pub const RIGHT_TOE_3: Self = Self(60); + pub const LEFT_TOES_ABDUCTOR_HALLUCIS: Self = Self(55); + pub const LEFT_TOES_DIGITORUM_BREVIS: Self = Self(56); + pub const LEFT_TOES_ABDUCTOR_DIGITI_MINIMI: Self = Self(57); + pub const RIGHT_TOES_ABDUCTOR_HALLUCIS: Self = Self(58); + pub const RIGHT_TOES_DIGITORUM_BREVIS: Self = Self(59); + pub const RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI: Self = Self(60); pub const ENUM_MIN: u8 = 0; pub const ENUM_MAX: u8 = 60; @@ -200,12 +200,12 @@ impl BodyPart { Self::RIGHT_LITTLE_PROXIMAL, Self::RIGHT_LITTLE_INTERMEDIATE, Self::RIGHT_LITTLE_DISTAL, - Self::LEFT_TOE_1, - Self::LEFT_TOE_2, - Self::LEFT_TOE_3, - Self::RIGHT_TOE_1, - Self::RIGHT_TOE_2, - Self::RIGHT_TOE_3, + Self::LEFT_TOES_ABDUCTOR_HALLUCIS, + Self::LEFT_TOES_DIGITORUM_BREVIS, + Self::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + Self::RIGHT_TOES_ABDUCTOR_HALLUCIS, + Self::RIGHT_TOES_DIGITORUM_BREVIS, + Self::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI, ]; /// Returns the variant's name or "" if unknown. pub fn variant_name(self) -> Option<&'static str> { @@ -263,12 +263,12 @@ impl BodyPart { Self::RIGHT_LITTLE_PROXIMAL => Some("RIGHT_LITTLE_PROXIMAL"), Self::RIGHT_LITTLE_INTERMEDIATE => Some("RIGHT_LITTLE_INTERMEDIATE"), Self::RIGHT_LITTLE_DISTAL => Some("RIGHT_LITTLE_DISTAL"), - Self::LEFT_TOE_1 => Some("LEFT_TOE_1"), - Self::LEFT_TOE_2 => Some("LEFT_TOE_2"), - Self::LEFT_TOE_3 => Some("LEFT_TOE_3"), - Self::RIGHT_TOE_1 => Some("RIGHT_TOE_1"), - Self::RIGHT_TOE_2 => Some("RIGHT_TOE_2"), - Self::RIGHT_TOE_3 => Some("RIGHT_TOE_3"), + Self::LEFT_TOES_ABDUCTOR_HALLUCIS => Some("LEFT_TOES_ABDUCTOR_HALLUCIS"), + Self::LEFT_TOES_DIGITORUM_BREVIS => Some("LEFT_TOES_DIGITORUM_BREVIS"), + Self::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI => Some("LEFT_TOES_ABDUCTOR_DIGITI_MINIMI"), + Self::RIGHT_TOES_ABDUCTOR_HALLUCIS => Some("RIGHT_TOES_ABDUCTOR_HALLUCIS"), + Self::RIGHT_TOES_DIGITORUM_BREVIS => Some("RIGHT_TOES_DIGITORUM_BREVIS"), + Self::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI => Some("RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI"), _ => None, } } diff --git a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs index bc21a9b9..6dec0033 100644 --- a/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs +++ b/protocol/rust/src/generated/solarxr_protocol/datatypes/tracker_role_generated.rs @@ -38,12 +38,12 @@ pub const ENUM_VALUES_TRACKER_ROLE: [TrackerRole; 28] = [ TrackerRole::HMD, TrackerRole::BEACON, TrackerRole::GENERIC_CONTROLLER, - TrackerRole::LEFT_TOE_1, - TrackerRole::LEFT_TOE_2, - TrackerRole::LEFT_TOE_3, - TrackerRole::RIGHT_TOE_1, - TrackerRole::RIGHT_TOE_2, - TrackerRole::RIGHT_TOE_3, + TrackerRole::LEFT_TOES_ABDUCTOR_HALLUCIS, + TrackerRole::LEFT_TOES_DIGITORUM_BREVIS, + TrackerRole::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + TrackerRole::RIGHT_TOES_ABDUCTOR_HALLUCIS, + TrackerRole::RIGHT_TOES_DIGITORUM_BREVIS, + TrackerRole::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI, ]; /// Possible tracker roles @@ -77,12 +77,12 @@ impl TrackerRole { pub const HMD: Self = Self(19); pub const BEACON: Self = Self(20); pub const GENERIC_CONTROLLER: Self = Self(21); - pub const LEFT_TOE_1: Self = Self(22); - pub const LEFT_TOE_2: Self = Self(23); - pub const LEFT_TOE_3: Self = Self(24); - pub const RIGHT_TOE_1: Self = Self(25); - pub const RIGHT_TOE_2: Self = Self(26); - pub const RIGHT_TOE_3: Self = Self(27); + pub const LEFT_TOES_ABDUCTOR_HALLUCIS: Self = Self(22); + pub const LEFT_TOES_DIGITORUM_BREVIS: Self = Self(23); + pub const LEFT_TOES_ABDUCTOR_DIGITI_MINIMI: Self = Self(24); + pub const RIGHT_TOES_ABDUCTOR_HALLUCIS: Self = Self(25); + pub const RIGHT_TOES_DIGITORUM_BREVIS: Self = Self(26); + pub const RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI: Self = Self(27); pub const ENUM_MIN: u8 = 0; pub const ENUM_MAX: u8 = 27; @@ -109,12 +109,12 @@ impl TrackerRole { Self::HMD, Self::BEACON, Self::GENERIC_CONTROLLER, - Self::LEFT_TOE_1, - Self::LEFT_TOE_2, - Self::LEFT_TOE_3, - Self::RIGHT_TOE_1, - Self::RIGHT_TOE_2, - Self::RIGHT_TOE_3, + Self::LEFT_TOES_ABDUCTOR_HALLUCIS, + Self::LEFT_TOES_DIGITORUM_BREVIS, + Self::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI, + Self::RIGHT_TOES_ABDUCTOR_HALLUCIS, + Self::RIGHT_TOES_DIGITORUM_BREVIS, + Self::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI, ]; /// Returns the variant's name or "" if unknown. pub fn variant_name(self) -> Option<&'static str> { @@ -141,12 +141,12 @@ impl TrackerRole { Self::HMD => Some("HMD"), Self::BEACON => Some("BEACON"), Self::GENERIC_CONTROLLER => Some("GENERIC_CONTROLLER"), - Self::LEFT_TOE_1 => Some("LEFT_TOE_1"), - Self::LEFT_TOE_2 => Some("LEFT_TOE_2"), - Self::LEFT_TOE_3 => Some("LEFT_TOE_3"), - Self::RIGHT_TOE_1 => Some("RIGHT_TOE_1"), - Self::RIGHT_TOE_2 => Some("RIGHT_TOE_2"), - Self::RIGHT_TOE_3 => Some("RIGHT_TOE_3"), + Self::LEFT_TOES_ABDUCTOR_HALLUCIS => Some("LEFT_TOES_ABDUCTOR_HALLUCIS"), + Self::LEFT_TOES_DIGITORUM_BREVIS => Some("LEFT_TOES_DIGITORUM_BREVIS"), + Self::LEFT_TOES_ABDUCTOR_DIGITI_MINIMI => Some("LEFT_TOES_ABDUCTOR_DIGITI_MINIMI"), + Self::RIGHT_TOES_ABDUCTOR_HALLUCIS => Some("RIGHT_TOES_ABDUCTOR_HALLUCIS"), + Self::RIGHT_TOES_DIGITORUM_BREVIS => Some("RIGHT_TOES_DIGITORUM_BREVIS"), + Self::RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI => Some("RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI"), _ => None, } } diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts index 4d3ddfea..ec0792f0 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/body-part.ts @@ -58,10 +58,10 @@ export enum BodyPart { RIGHT_LITTLE_PROXIMAL = 52, RIGHT_LITTLE_INTERMEDIATE = 53, RIGHT_LITTLE_DISTAL = 54, - LEFT_TOE_1 = 55, - LEFT_TOE_2 = 56, - LEFT_TOE_3 = 57, - RIGHT_TOE_1 = 58, - RIGHT_TOE_2 = 59, - RIGHT_TOE_3 = 60 + LEFT_TOES_ABDUCTOR_HALLUCIS = 55, + LEFT_TOES_DIGITORUM_BREVIS = 56, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 57, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 58, + RIGHT_TOES_DIGITORUM_BREVIS = 59, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 60 } diff --git a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts index 14755fd7..f1ebf504 100644 --- a/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts +++ b/protocol/typescript/src/solarxr-protocol/datatypes/tracker-role.ts @@ -29,10 +29,10 @@ export enum TrackerRole { HMD = 19, BEACON = 20, GENERIC_CONTROLLER = 21, - LEFT_TOE_1 = 22, - LEFT_TOE_2 = 23, - LEFT_TOE_3 = 24, - RIGHT_TOE_1 = 25, - RIGHT_TOE_2 = 26, - RIGHT_TOE_3 = 27 + LEFT_TOES_ABDUCTOR_HALLUCIS = 22, + LEFT_TOES_DIGITORUM_BREVIS = 23, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 25, + RIGHT_TOES_DIGITORUM_BREVIS = 26, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27 } diff --git a/schema/datatypes/datatypes.fbs b/schema/datatypes/datatypes.fbs index d3fe0ec5..51325c04 100644 --- a/schema/datatypes/datatypes.fbs +++ b/schema/datatypes/datatypes.fbs @@ -92,12 +92,12 @@ enum TrackerRole: uint8 { HMD = 19, BEACON = 20, GENERIC_CONTROLLER = 21, - LEFT_TOE_1 = 22, - LEFT_TOE_2 = 23, - LEFT_TOE_3 = 24, - RIGHT_TOE_1 = 25, - RIGHT_TOE_2 = 26, - RIGHT_TOE_3 = 27 + LEFT_TOES_ABDUCTOR_HALLUCIS = 22, + LEFT_TOES_DIGITORUM_BREVIS = 23, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 24, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 25, + RIGHT_TOES_DIGITORUM_BREVIS = 26, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 27 } @@ -157,12 +157,12 @@ enum BodyPart: uint8 { RIGHT_LITTLE_PROXIMAL = 52, RIGHT_LITTLE_INTERMEDIATE = 53, RIGHT_LITTLE_DISTAL = 54, - LEFT_TOE_1 = 55, - LEFT_TOE_2 = 56, - LEFT_TOE_3 = 57, - RIGHT_TOE_1 = 58, - RIGHT_TOE_2 = 59, - RIGHT_TOE_3 = 60 + LEFT_TOES_ABDUCTOR_HALLUCIS = 55, + LEFT_TOES_DIGITORUM_BREVIS = 56, + LEFT_TOES_ABDUCTOR_DIGITI_MINIMI = 57, + RIGHT_TOES_ABDUCTOR_HALLUCIS = 58, + RIGHT_TOES_DIGITORUM_BREVIS = 59, + RIGHT_TOES_ABDUCTOR_DIGITI_MINIMI = 60 } enum TrackerStatus: uint8 { From 7c5e206aad15759a6765b7b7277c734518ff5701 Mon Sep 17 00:00:00 2001 From: Sebastina Date: Thu, 18 Dec 2025 21:29:13 -0600 Subject: [PATCH 9/9] Update flatbuffers --- .../generated/all_generated.h | 49 ------------------- 1 file changed, 49 deletions(-) diff --git a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h index 408ec003..89ed4dbc 100644 --- a/protocol/cpp/include/solarxr_protocol/generated/all_generated.h +++ b/protocol/cpp/include/solarxr_protocol/generated/all_generated.h @@ -1601,7 +1601,6 @@ inline const char * const *EnumNamesRpcMessage() { } inline const char *EnumNameRpcMessage(RpcMessage e) { - if (::flatbuffers::IsOutRange(e, RpcMessage::NONE, RpcMessage::SerialTrackerCustomCommandRequest)) return ""; if (flatbuffers::IsOutRange(e, RpcMessage::NONE, RpcMessage::UserHeightRecordingStatusResponse)) return ""; const size_t index = static_cast(e); return EnumNamesRpcMessage()[index]; @@ -1895,8 +1894,6 @@ template<> struct RpcMessageTraits> *values, const ::flatbuffers::Vector *types); template<> struct RpcMessageTraits { static const RpcMessage enum_value = RpcMessage::VRCConfigSettingToggleMute; }; @@ -4920,7 +4917,6 @@ inline flatbuffers::Offset CreateBone( return builder_.Finish(); } -struct DataFeedMessageHeader FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { namespace server { struct ServerGuards FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { @@ -5204,7 +5200,6 @@ struct DataFeedUpdate FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { uint8_t index() const { return GetField(VT_INDEX, 0); } - bool Verify(::flatbuffers::Verifier &verifier) const { const solarxr_protocol::data_feed::server::ServerGuards *server_guards() const { return GetPointer(VT_SERVER_GUARDS); } @@ -5247,7 +5242,6 @@ struct DataFeedUpdateBuilder { void add_index(uint8_t index) { fbb_.AddElement(DataFeedUpdate::VT_INDEX, index, 0); } - explicit DataFeedUpdateBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_server_guards(flatbuffers::Offset server_guards) { fbb_.AddOffset(DataFeedUpdate::VT_SERVER_GUARDS, server_guards); } @@ -5262,13 +5256,6 @@ struct DataFeedUpdateBuilder { } }; -inline flatbuffers::Offset CreateDataFeedUpdate( - flatbuffers::FlatBufferBuilder &_fbb, - flatbuffers::Offset>> devices = 0, - flatbuffers::Offset>> synthetic_trackers = 0, - flatbuffers::Offset>> bones = 0, - flatbuffers::Offset stay_aligned_pose = 0, - uint8_t index = 0) { inline flatbuffers::Offset CreateDataFeedUpdate( flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset>> devices = 0, @@ -5287,16 +5274,6 @@ inline flatbuffers::Offset CreateDataFeedUpdate( return builder_.Finish(); } -inline flatbuffers::Offset CreateDataFeedUpdateDirect( - flatbuffers::FlatBufferBuilder &_fbb, - const std::vector> *devices = nullptr, - const std::vector> *synthetic_trackers = nullptr, - const std::vector> *bones = nullptr, - flatbuffers::Offset stay_aligned_pose = 0, - uint8_t index = 0) { - auto devices__ = devices ? _fbb.CreateVector<::flatbuffers::Offset>(*devices) : 0; - auto synthetic_trackers__ = synthetic_trackers ? _fbb.CreateVector<::flatbuffers::Offset>(*synthetic_trackers) : 0; - auto bones__ = bones ? _fbb.CreateVector<::flatbuffers::Offset>(*bones) : 0; inline flatbuffers::Offset CreateDataFeedUpdateDirect( flatbuffers::FlatBufferBuilder &_fbb, const std::vector> *devices = nullptr, @@ -5347,7 +5324,6 @@ struct DataFeedConfig FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { bool stay_aligned_pose_mask() const { return GetField(VT_STAY_ALIGNED_POSE_MASK, 0) != 0; } - bool Verify(::flatbuffers::Verifier &verifier) const { bool server_guards_mask() const { return GetField(VT_SERVER_GUARDS_MASK, 0) != 0; } @@ -5384,7 +5360,6 @@ struct DataFeedConfigBuilder { void add_stay_aligned_pose_mask(bool stay_aligned_pose_mask) { fbb_.AddElement(DataFeedConfig::VT_STAY_ALIGNED_POSE_MASK, static_cast(stay_aligned_pose_mask), 0); } - explicit DataFeedConfigBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_server_guards_mask(bool server_guards_mask) { fbb_.AddElement(DataFeedConfig::VT_SERVER_GUARDS_MASK, static_cast(server_guards_mask), 0); } @@ -6082,7 +6057,6 @@ struct RpcMessageHeader FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const solarxr_protocol::rpc::SerialTrackerCustomCommandRequest *message_as_SerialTrackerCustomCommandRequest() const { return message_type() == solarxr_protocol::rpc::RpcMessage::SerialTrackerCustomCommandRequest ? static_cast(message()) : nullptr; } - bool Verify(::flatbuffers::Verifier &verifier) const { const solarxr_protocol::rpc::VRCConfigSettingToggleMute *message_as_VRCConfigSettingToggleMute() const { return message_type() == solarxr_protocol::rpc::RpcMessage::VRCConfigSettingToggleMute ? static_cast(message()) : nullptr; } @@ -6599,7 +6573,6 @@ struct ResetResponse FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { solarxr_protocol::rpc::ResetStatus status() const { return static_cast(GetField(VT_STATUS, 0)); } - bool Verify(::flatbuffers::Verifier &verifier) const { /// Should return the body parts reseted / being reset const flatbuffers::Vector *body_parts() const { return GetPointer *>(VT_BODY_PARTS); @@ -6635,7 +6608,6 @@ struct ResetResponseBuilder { void add_status(solarxr_protocol::rpc::ResetStatus status) { fbb_.AddElement(ResetResponse::VT_STATUS, static_cast(status), 0); } - explicit ResetResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_body_parts(flatbuffers::Offset> body_parts) { fbb_.AddOffset(ResetResponse::VT_BODY_PARTS, body_parts); } @@ -6672,7 +6644,6 @@ inline flatbuffers::Offset CreateResetResponse( return builder_.Finish(); } -struct AssignTrackerRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { inline flatbuffers::Offset CreateResetResponseDirect( flatbuffers::FlatBufferBuilder &_fbb, solarxr_protocol::rpc::ResetType reset_type = solarxr_protocol::rpc::ResetType::Yaw, @@ -10389,9 +10360,6 @@ struct StatusTrackerReset FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StatusTrackerResetBuilder { typedef StatusTrackerReset Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { flatbuffers::FlatBufferBuilder &fbb_; flatbuffers::uoffset_t start_; void add_tracker_id(flatbuffers::Offset>> tracker_id) { @@ -10408,9 +10376,6 @@ struct StatusTrackerResetBuilder { } }; -inline ::flatbuffers::Offset CreateStatusTrackerReset( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0) { inline flatbuffers::Offset CreateStatusTrackerReset( flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset>> tracker_id = 0) { @@ -10419,8 +10384,6 @@ inline flatbuffers::Offset CreateStatusTrackerReset( return builder_.Finish(); } -/// Tracker has error state -struct StatusTrackerError FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { inline flatbuffers::Offset CreateStatusTrackerResetDirect( flatbuffers::FlatBufferBuilder &_fbb, const std::vector> *tracker_id = nullptr) { @@ -10450,9 +10413,6 @@ struct StatusTrackerError FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { struct StatusTrackerErrorBuilder { typedef StatusTrackerError Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_tracker_id(::flatbuffers::Offset tracker_id) { flatbuffers::FlatBufferBuilder &fbb_; flatbuffers::uoffset_t start_; void add_tracker_id(flatbuffers::Offset>> tracker_id) { @@ -10469,9 +10429,6 @@ struct StatusTrackerErrorBuilder { } }; -inline ::flatbuffers::Offset CreateStatusTrackerError( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset tracker_id = 0) { inline flatbuffers::Offset CreateStatusTrackerError( flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset>> tracker_id = 0) { @@ -12460,7 +12417,6 @@ struct VRCConfigStateChangeResponse FLATBUFFERS_FINAL_CLASS : private flatbuffer const solarxr_protocol::rpc::VRCConfigRecommendedValues *recommended() const { return GetPointer(VT_RECOMMENDED); } - bool Verify(::flatbuffers::Verifier &verifier) const { const flatbuffers::Vector> *muted() const { return GetPointer> *>(VT_MUTED); } @@ -12496,7 +12452,6 @@ struct VRCConfigStateChangeResponseBuilder { void add_recommended(flatbuffers::Offset recommended) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_RECOMMENDED, recommended); } - explicit VRCConfigStateChangeResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) void add_muted(flatbuffers::Offset>> muted) { fbb_.AddOffset(VRCConfigStateChangeResponse::VT_MUTED, muted); } @@ -12514,9 +12469,6 @@ struct VRCConfigStateChangeResponseBuilder { inline flatbuffers::Offset CreateVRCConfigStateChangeResponse( flatbuffers::FlatBufferBuilder &_fbb, bool is_supported = false, - ::flatbuffers::Offset validity = 0, - ::flatbuffers::Offset state = 0, - ::flatbuffers::Offset recommended = 0) { flatbuffers::Offset validity = 0, flatbuffers::Offset state = 0, flatbuffers::Offset recommended = 0, @@ -12530,7 +12482,6 @@ inline flatbuffers::Offset CreateVRCConfigStateCha return builder_.Finish(); } -struct EnableStayAlignedRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { inline flatbuffers::Offset CreateVRCConfigStateChangeResponseDirect( flatbuffers::FlatBufferBuilder &_fbb, bool is_supported = false,