Files
RecRoom.Protobuf/GameAiData.cs
2026-05-10 13:39:01 -07:00

977 lines
36 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/game_ai_data.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace RecRoom.Protobuf {
/// <summary>Holder for reflection information generated from rec_room/persistence/game_ai_data.proto</summary>
public static partial class GameAiDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/persistence/game_ai_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GameAiDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CidyZWNfcm9vbS9wZXJzaXN0ZW5jZS9nYW1lX2FpX2RhdGEucHJvdG8SCHJl",
"Y19yb29tIpMFCgpHYW1lQUlEYXRhEhQKDGluc3RydWN0aW9ucxgBIAEoCRIR",
"Cgl3YWNraW5lc3MYAiABKAISFAoMdm9pY2Vfb3B0aW9uGAMgASgFEhkKEXVz",
"ZV9zcGF0aWFsX2F1ZGlvGAQgASgIEhMKC21heF9yb2xsb2ZmGAUgASgCEhUK",
"DXJvbGxvZmZfY3VydmUYBiABKAUSFwoPZG9wcGxlcl9lbmFibGVkGAcgASgI",
"EhMKC3VzZV9jb250ZXh0GAggASgJEh0KFWFyZV9zdWJ0aXRsZXNfZW5hYmxl",
"ZBgJIAEoCBIeChZpc192b2ljZV9pbnB1dF9lbmFibGVkGAogASgIEh8KF2lz",
"X3ZvaWNlX291dHB1dF9lbmFibGVkGAsgASgIEiEKGURFUFJFQ0FURURpc19z",
"eW5jaHJvbml6ZWQYDCABKAgSIgoaY2FuX2FsbF9wbGF5ZXJzX2hlYXJfdm9p",
"Y2UYDSABKAgSJgoeaXNfc2NlbmVfY29tcHJlaGVuc2lvbl9lbmFibGVkGA4g",
"ASgIEhwKFGZ1bmN0aW9uX2VuYWJsZW1lbnRzGA8gAygIEhgKEGlzX3NlcnZl",
"cl9ob3N0ZWQYECABKAgSJAoccmVhbHRpbWVfc2Vzc2lvbl9sb2dfY2hhbm5l",
"bBgRIAEoBRIrCiNpc19hdXRvbWF0aWNfdm9pY2VfcmVzcG9uc2VfZW5hYmxl",
"ZBgSIAEoCBIlCh1jaXJjdWl0c19mdW5jdGlvbl9lbmFibGVtZW50cxgTIAMo",
"CRIjChtzaW5nbGVfc3BlYWtlcl9tb2RlX2VuYWJsZWQYFCABKAgSKwojc2lu",
"Z2xlX3NwZWFrZXJfbW9kZV9hdWRpb190aHJlc2hvbGQYFSABKAJCE6oCEFJl",
"Y1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.GameAIData), global::RecRoom.Protobuf.GameAIData.Parser, new[]{ "Instructions", "Wackiness", "VoiceOption", "UseSpatialAudio", "MaxRolloff", "RolloffCurve", "DopplerEnabled", "UseContext", "AreSubtitlesEnabled", "IsVoiceInputEnabled", "IsVoiceOutputEnabled", "DEPRECATEDisSynchronized", "CanAllPlayersHearVoice", "IsSceneComprehensionEnabled", "FunctionEnablements", "IsServerHosted", "RealtimeSessionLogChannel", "IsAutomaticVoiceResponseEnabled", "CircuitsFunctionEnablements", "SingleSpeakerModeEnabled", "SingleSpeakerModeAudioThreshold" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GameAIData : pb::IMessage<GameAIData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GameAIData> _parser = new pb::MessageParser<GameAIData>(() => new GameAIData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GameAIData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RecRoom.Protobuf.GameAiDataReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GameAIData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GameAIData(GameAIData other) : this() {
instructions_ = other.instructions_;
wackiness_ = other.wackiness_;
voiceOption_ = other.voiceOption_;
useSpatialAudio_ = other.useSpatialAudio_;
maxRolloff_ = other.maxRolloff_;
rolloffCurve_ = other.rolloffCurve_;
dopplerEnabled_ = other.dopplerEnabled_;
useContext_ = other.useContext_;
areSubtitlesEnabled_ = other.areSubtitlesEnabled_;
isVoiceInputEnabled_ = other.isVoiceInputEnabled_;
isVoiceOutputEnabled_ = other.isVoiceOutputEnabled_;
dEPRECATEDisSynchronized_ = other.dEPRECATEDisSynchronized_;
canAllPlayersHearVoice_ = other.canAllPlayersHearVoice_;
isSceneComprehensionEnabled_ = other.isSceneComprehensionEnabled_;
functionEnablements_ = other.functionEnablements_.Clone();
isServerHosted_ = other.isServerHosted_;
realtimeSessionLogChannel_ = other.realtimeSessionLogChannel_;
isAutomaticVoiceResponseEnabled_ = other.isAutomaticVoiceResponseEnabled_;
circuitsFunctionEnablements_ = other.circuitsFunctionEnablements_.Clone();
singleSpeakerModeEnabled_ = other.singleSpeakerModeEnabled_;
singleSpeakerModeAudioThreshold_ = other.singleSpeakerModeAudioThreshold_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GameAIData Clone() {
return new GameAIData(this);
}
/// <summary>Field number for the "instructions" field.</summary>
public const int InstructionsFieldNumber = 1;
private string instructions_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Instructions {
get { return instructions_; }
set {
instructions_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "wackiness" field.</summary>
public const int WackinessFieldNumber = 2;
private float wackiness_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Wackiness {
get { return wackiness_; }
set {
wackiness_ = value;
}
}
/// <summary>Field number for the "voice_option" field.</summary>
public const int VoiceOptionFieldNumber = 3;
private int voiceOption_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int VoiceOption {
get { return voiceOption_; }
set {
voiceOption_ = value;
}
}
/// <summary>Field number for the "use_spatial_audio" field.</summary>
public const int UseSpatialAudioFieldNumber = 4;
private bool useSpatialAudio_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool UseSpatialAudio {
get { return useSpatialAudio_; }
set {
useSpatialAudio_ = value;
}
}
/// <summary>Field number for the "max_rolloff" field.</summary>
public const int MaxRolloffFieldNumber = 5;
private float maxRolloff_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float MaxRolloff {
get { return maxRolloff_; }
set {
maxRolloff_ = value;
}
}
/// <summary>Field number for the "rolloff_curve" field.</summary>
public const int RolloffCurveFieldNumber = 6;
private int rolloffCurve_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RolloffCurve {
get { return rolloffCurve_; }
set {
rolloffCurve_ = value;
}
}
/// <summary>Field number for the "doppler_enabled" field.</summary>
public const int DopplerEnabledFieldNumber = 7;
private bool dopplerEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool DopplerEnabled {
get { return dopplerEnabled_; }
set {
dopplerEnabled_ = value;
}
}
/// <summary>Field number for the "use_context" field.</summary>
public const int UseContextFieldNumber = 8;
private string useContext_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UseContext {
get { return useContext_; }
set {
useContext_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "are_subtitles_enabled" field.</summary>
public const int AreSubtitlesEnabledFieldNumber = 9;
private bool areSubtitlesEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool AreSubtitlesEnabled {
get { return areSubtitlesEnabled_; }
set {
areSubtitlesEnabled_ = value;
}
}
/// <summary>Field number for the "is_voice_input_enabled" field.</summary>
public const int IsVoiceInputEnabledFieldNumber = 10;
private bool isVoiceInputEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsVoiceInputEnabled {
get { return isVoiceInputEnabled_; }
set {
isVoiceInputEnabled_ = value;
}
}
/// <summary>Field number for the "is_voice_output_enabled" field.</summary>
public const int IsVoiceOutputEnabledFieldNumber = 11;
private bool isVoiceOutputEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsVoiceOutputEnabled {
get { return isVoiceOutputEnabled_; }
set {
isVoiceOutputEnabled_ = value;
}
}
/// <summary>Field number for the "DEPRECATEDis_synchronized" field.</summary>
public const int DEPRECATEDisSynchronizedFieldNumber = 12;
private bool dEPRECATEDisSynchronized_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool DEPRECATEDisSynchronized {
get { return dEPRECATEDisSynchronized_; }
set {
dEPRECATEDisSynchronized_ = value;
}
}
/// <summary>Field number for the "can_all_players_hear_voice" field.</summary>
public const int CanAllPlayersHearVoiceFieldNumber = 13;
private bool canAllPlayersHearVoice_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CanAllPlayersHearVoice {
get { return canAllPlayersHearVoice_; }
set {
canAllPlayersHearVoice_ = value;
}
}
/// <summary>Field number for the "is_scene_comprehension_enabled" field.</summary>
public const int IsSceneComprehensionEnabledFieldNumber = 14;
private bool isSceneComprehensionEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsSceneComprehensionEnabled {
get { return isSceneComprehensionEnabled_; }
set {
isSceneComprehensionEnabled_ = value;
}
}
/// <summary>Field number for the "function_enablements" field.</summary>
public const int FunctionEnablementsFieldNumber = 15;
private static readonly pb::FieldCodec<bool> _repeated_functionEnablements_codec
= pb::FieldCodec.ForBool(122);
private readonly pbc::RepeatedField<bool> functionEnablements_ = new pbc::RepeatedField<bool>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<bool> FunctionEnablements {
get { return functionEnablements_; }
}
/// <summary>Field number for the "is_server_hosted" field.</summary>
public const int IsServerHostedFieldNumber = 16;
private bool isServerHosted_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsServerHosted {
get { return isServerHosted_; }
set {
isServerHosted_ = value;
}
}
/// <summary>Field number for the "realtime_session_log_channel" field.</summary>
public const int RealtimeSessionLogChannelFieldNumber = 17;
private int realtimeSessionLogChannel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RealtimeSessionLogChannel {
get { return realtimeSessionLogChannel_; }
set {
realtimeSessionLogChannel_ = value;
}
}
/// <summary>Field number for the "is_automatic_voice_response_enabled" field.</summary>
public const int IsAutomaticVoiceResponseEnabledFieldNumber = 18;
private bool isAutomaticVoiceResponseEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsAutomaticVoiceResponseEnabled {
get { return isAutomaticVoiceResponseEnabled_; }
set {
isAutomaticVoiceResponseEnabled_ = value;
}
}
/// <summary>Field number for the "circuits_function_enablements" field.</summary>
public const int CircuitsFunctionEnablementsFieldNumber = 19;
private static readonly pb::FieldCodec<string> _repeated_circuitsFunctionEnablements_codec
= pb::FieldCodec.ForString(154);
private readonly pbc::RepeatedField<string> circuitsFunctionEnablements_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> CircuitsFunctionEnablements {
get { return circuitsFunctionEnablements_; }
}
/// <summary>Field number for the "single_speaker_mode_enabled" field.</summary>
public const int SingleSpeakerModeEnabledFieldNumber = 20;
private bool singleSpeakerModeEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SingleSpeakerModeEnabled {
get { return singleSpeakerModeEnabled_; }
set {
singleSpeakerModeEnabled_ = value;
}
}
/// <summary>Field number for the "single_speaker_mode_audio_threshold" field.</summary>
public const int SingleSpeakerModeAudioThresholdFieldNumber = 21;
private float singleSpeakerModeAudioThreshold_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float SingleSpeakerModeAudioThreshold {
get { return singleSpeakerModeAudioThreshold_; }
set {
singleSpeakerModeAudioThreshold_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GameAIData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GameAIData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Instructions != other.Instructions) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Wackiness, other.Wackiness)) return false;
if (VoiceOption != other.VoiceOption) return false;
if (UseSpatialAudio != other.UseSpatialAudio) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxRolloff, other.MaxRolloff)) return false;
if (RolloffCurve != other.RolloffCurve) return false;
if (DopplerEnabled != other.DopplerEnabled) return false;
if (UseContext != other.UseContext) return false;
if (AreSubtitlesEnabled != other.AreSubtitlesEnabled) return false;
if (IsVoiceInputEnabled != other.IsVoiceInputEnabled) return false;
if (IsVoiceOutputEnabled != other.IsVoiceOutputEnabled) return false;
if (DEPRECATEDisSynchronized != other.DEPRECATEDisSynchronized) return false;
if (CanAllPlayersHearVoice != other.CanAllPlayersHearVoice) return false;
if (IsSceneComprehensionEnabled != other.IsSceneComprehensionEnabled) return false;
if(!functionEnablements_.Equals(other.functionEnablements_)) return false;
if (IsServerHosted != other.IsServerHosted) return false;
if (RealtimeSessionLogChannel != other.RealtimeSessionLogChannel) return false;
if (IsAutomaticVoiceResponseEnabled != other.IsAutomaticVoiceResponseEnabled) return false;
if(!circuitsFunctionEnablements_.Equals(other.circuitsFunctionEnablements_)) return false;
if (SingleSpeakerModeEnabled != other.SingleSpeakerModeEnabled) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SingleSpeakerModeAudioThreshold, other.SingleSpeakerModeAudioThreshold)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Instructions.Length != 0) hash ^= Instructions.GetHashCode();
if (Wackiness != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Wackiness);
if (VoiceOption != 0) hash ^= VoiceOption.GetHashCode();
if (UseSpatialAudio != false) hash ^= UseSpatialAudio.GetHashCode();
if (MaxRolloff != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxRolloff);
if (RolloffCurve != 0) hash ^= RolloffCurve.GetHashCode();
if (DopplerEnabled != false) hash ^= DopplerEnabled.GetHashCode();
if (UseContext.Length != 0) hash ^= UseContext.GetHashCode();
if (AreSubtitlesEnabled != false) hash ^= AreSubtitlesEnabled.GetHashCode();
if (IsVoiceInputEnabled != false) hash ^= IsVoiceInputEnabled.GetHashCode();
if (IsVoiceOutputEnabled != false) hash ^= IsVoiceOutputEnabled.GetHashCode();
if (DEPRECATEDisSynchronized != false) hash ^= DEPRECATEDisSynchronized.GetHashCode();
if (CanAllPlayersHearVoice != false) hash ^= CanAllPlayersHearVoice.GetHashCode();
if (IsSceneComprehensionEnabled != false) hash ^= IsSceneComprehensionEnabled.GetHashCode();
hash ^= functionEnablements_.GetHashCode();
if (IsServerHosted != false) hash ^= IsServerHosted.GetHashCode();
if (RealtimeSessionLogChannel != 0) hash ^= RealtimeSessionLogChannel.GetHashCode();
if (IsAutomaticVoiceResponseEnabled != false) hash ^= IsAutomaticVoiceResponseEnabled.GetHashCode();
hash ^= circuitsFunctionEnablements_.GetHashCode();
if (SingleSpeakerModeEnabled != false) hash ^= SingleSpeakerModeEnabled.GetHashCode();
if (SingleSpeakerModeAudioThreshold != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SingleSpeakerModeAudioThreshold);
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Instructions.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Instructions);
}
if (Wackiness != 0F) {
output.WriteRawTag(21);
output.WriteFloat(Wackiness);
}
if (VoiceOption != 0) {
output.WriteRawTag(24);
output.WriteInt32(VoiceOption);
}
if (UseSpatialAudio != false) {
output.WriteRawTag(32);
output.WriteBool(UseSpatialAudio);
}
if (MaxRolloff != 0F) {
output.WriteRawTag(45);
output.WriteFloat(MaxRolloff);
}
if (RolloffCurve != 0) {
output.WriteRawTag(48);
output.WriteInt32(RolloffCurve);
}
if (DopplerEnabled != false) {
output.WriteRawTag(56);
output.WriteBool(DopplerEnabled);
}
if (UseContext.Length != 0) {
output.WriteRawTag(66);
output.WriteString(UseContext);
}
if (AreSubtitlesEnabled != false) {
output.WriteRawTag(72);
output.WriteBool(AreSubtitlesEnabled);
}
if (IsVoiceInputEnabled != false) {
output.WriteRawTag(80);
output.WriteBool(IsVoiceInputEnabled);
}
if (IsVoiceOutputEnabled != false) {
output.WriteRawTag(88);
output.WriteBool(IsVoiceOutputEnabled);
}
if (DEPRECATEDisSynchronized != false) {
output.WriteRawTag(96);
output.WriteBool(DEPRECATEDisSynchronized);
}
if (CanAllPlayersHearVoice != false) {
output.WriteRawTag(104);
output.WriteBool(CanAllPlayersHearVoice);
}
if (IsSceneComprehensionEnabled != false) {
output.WriteRawTag(112);
output.WriteBool(IsSceneComprehensionEnabled);
}
functionEnablements_.WriteTo(output, _repeated_functionEnablements_codec);
if (IsServerHosted != false) {
output.WriteRawTag(128, 1);
output.WriteBool(IsServerHosted);
}
if (RealtimeSessionLogChannel != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(RealtimeSessionLogChannel);
}
if (IsAutomaticVoiceResponseEnabled != false) {
output.WriteRawTag(144, 1);
output.WriteBool(IsAutomaticVoiceResponseEnabled);
}
circuitsFunctionEnablements_.WriteTo(output, _repeated_circuitsFunctionEnablements_codec);
if (SingleSpeakerModeEnabled != false) {
output.WriteRawTag(160, 1);
output.WriteBool(SingleSpeakerModeEnabled);
}
if (SingleSpeakerModeAudioThreshold != 0F) {
output.WriteRawTag(173, 1);
output.WriteFloat(SingleSpeakerModeAudioThreshold);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Instructions.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Instructions);
}
if (Wackiness != 0F) {
output.WriteRawTag(21);
output.WriteFloat(Wackiness);
}
if (VoiceOption != 0) {
output.WriteRawTag(24);
output.WriteInt32(VoiceOption);
}
if (UseSpatialAudio != false) {
output.WriteRawTag(32);
output.WriteBool(UseSpatialAudio);
}
if (MaxRolloff != 0F) {
output.WriteRawTag(45);
output.WriteFloat(MaxRolloff);
}
if (RolloffCurve != 0) {
output.WriteRawTag(48);
output.WriteInt32(RolloffCurve);
}
if (DopplerEnabled != false) {
output.WriteRawTag(56);
output.WriteBool(DopplerEnabled);
}
if (UseContext.Length != 0) {
output.WriteRawTag(66);
output.WriteString(UseContext);
}
if (AreSubtitlesEnabled != false) {
output.WriteRawTag(72);
output.WriteBool(AreSubtitlesEnabled);
}
if (IsVoiceInputEnabled != false) {
output.WriteRawTag(80);
output.WriteBool(IsVoiceInputEnabled);
}
if (IsVoiceOutputEnabled != false) {
output.WriteRawTag(88);
output.WriteBool(IsVoiceOutputEnabled);
}
if (DEPRECATEDisSynchronized != false) {
output.WriteRawTag(96);
output.WriteBool(DEPRECATEDisSynchronized);
}
if (CanAllPlayersHearVoice != false) {
output.WriteRawTag(104);
output.WriteBool(CanAllPlayersHearVoice);
}
if (IsSceneComprehensionEnabled != false) {
output.WriteRawTag(112);
output.WriteBool(IsSceneComprehensionEnabled);
}
functionEnablements_.WriteTo(ref output, _repeated_functionEnablements_codec);
if (IsServerHosted != false) {
output.WriteRawTag(128, 1);
output.WriteBool(IsServerHosted);
}
if (RealtimeSessionLogChannel != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(RealtimeSessionLogChannel);
}
if (IsAutomaticVoiceResponseEnabled != false) {
output.WriteRawTag(144, 1);
output.WriteBool(IsAutomaticVoiceResponseEnabled);
}
circuitsFunctionEnablements_.WriteTo(ref output, _repeated_circuitsFunctionEnablements_codec);
if (SingleSpeakerModeEnabled != false) {
output.WriteRawTag(160, 1);
output.WriteBool(SingleSpeakerModeEnabled);
}
if (SingleSpeakerModeAudioThreshold != 0F) {
output.WriteRawTag(173, 1);
output.WriteFloat(SingleSpeakerModeAudioThreshold);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Instructions.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Instructions);
}
if (Wackiness != 0F) {
size += 1 + 4;
}
if (VoiceOption != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(VoiceOption);
}
if (UseSpatialAudio != false) {
size += 1 + 1;
}
if (MaxRolloff != 0F) {
size += 1 + 4;
}
if (RolloffCurve != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RolloffCurve);
}
if (DopplerEnabled != false) {
size += 1 + 1;
}
if (UseContext.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UseContext);
}
if (AreSubtitlesEnabled != false) {
size += 1 + 1;
}
if (IsVoiceInputEnabled != false) {
size += 1 + 1;
}
if (IsVoiceOutputEnabled != false) {
size += 1 + 1;
}
if (DEPRECATEDisSynchronized != false) {
size += 1 + 1;
}
if (CanAllPlayersHearVoice != false) {
size += 1 + 1;
}
if (IsSceneComprehensionEnabled != false) {
size += 1 + 1;
}
size += functionEnablements_.CalculateSize(_repeated_functionEnablements_codec);
if (IsServerHosted != false) {
size += 2 + 1;
}
if (RealtimeSessionLogChannel != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(RealtimeSessionLogChannel);
}
if (IsAutomaticVoiceResponseEnabled != false) {
size += 2 + 1;
}
size += circuitsFunctionEnablements_.CalculateSize(_repeated_circuitsFunctionEnablements_codec);
if (SingleSpeakerModeEnabled != false) {
size += 2 + 1;
}
if (SingleSpeakerModeAudioThreshold != 0F) {
size += 2 + 4;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GameAIData other) {
if (other == null) {
return;
}
if (other.Instructions.Length != 0) {
Instructions = other.Instructions;
}
if (other.Wackiness != 0F) {
Wackiness = other.Wackiness;
}
if (other.VoiceOption != 0) {
VoiceOption = other.VoiceOption;
}
if (other.UseSpatialAudio != false) {
UseSpatialAudio = other.UseSpatialAudio;
}
if (other.MaxRolloff != 0F) {
MaxRolloff = other.MaxRolloff;
}
if (other.RolloffCurve != 0) {
RolloffCurve = other.RolloffCurve;
}
if (other.DopplerEnabled != false) {
DopplerEnabled = other.DopplerEnabled;
}
if (other.UseContext.Length != 0) {
UseContext = other.UseContext;
}
if (other.AreSubtitlesEnabled != false) {
AreSubtitlesEnabled = other.AreSubtitlesEnabled;
}
if (other.IsVoiceInputEnabled != false) {
IsVoiceInputEnabled = other.IsVoiceInputEnabled;
}
if (other.IsVoiceOutputEnabled != false) {
IsVoiceOutputEnabled = other.IsVoiceOutputEnabled;
}
if (other.DEPRECATEDisSynchronized != false) {
DEPRECATEDisSynchronized = other.DEPRECATEDisSynchronized;
}
if (other.CanAllPlayersHearVoice != false) {
CanAllPlayersHearVoice = other.CanAllPlayersHearVoice;
}
if (other.IsSceneComprehensionEnabled != false) {
IsSceneComprehensionEnabled = other.IsSceneComprehensionEnabled;
}
functionEnablements_.Add(other.functionEnablements_);
if (other.IsServerHosted != false) {
IsServerHosted = other.IsServerHosted;
}
if (other.RealtimeSessionLogChannel != 0) {
RealtimeSessionLogChannel = other.RealtimeSessionLogChannel;
}
if (other.IsAutomaticVoiceResponseEnabled != false) {
IsAutomaticVoiceResponseEnabled = other.IsAutomaticVoiceResponseEnabled;
}
circuitsFunctionEnablements_.Add(other.circuitsFunctionEnablements_);
if (other.SingleSpeakerModeEnabled != false) {
SingleSpeakerModeEnabled = other.SingleSpeakerModeEnabled;
}
if (other.SingleSpeakerModeAudioThreshold != 0F) {
SingleSpeakerModeAudioThreshold = other.SingleSpeakerModeAudioThreshold;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Instructions = input.ReadString();
break;
}
case 21: {
Wackiness = input.ReadFloat();
break;
}
case 24: {
VoiceOption = input.ReadInt32();
break;
}
case 32: {
UseSpatialAudio = input.ReadBool();
break;
}
case 45: {
MaxRolloff = input.ReadFloat();
break;
}
case 48: {
RolloffCurve = input.ReadInt32();
break;
}
case 56: {
DopplerEnabled = input.ReadBool();
break;
}
case 66: {
UseContext = input.ReadString();
break;
}
case 72: {
AreSubtitlesEnabled = input.ReadBool();
break;
}
case 80: {
IsVoiceInputEnabled = input.ReadBool();
break;
}
case 88: {
IsVoiceOutputEnabled = input.ReadBool();
break;
}
case 96: {
DEPRECATEDisSynchronized = input.ReadBool();
break;
}
case 104: {
CanAllPlayersHearVoice = input.ReadBool();
break;
}
case 112: {
IsSceneComprehensionEnabled = input.ReadBool();
break;
}
case 122:
case 120: {
functionEnablements_.AddEntriesFrom(input, _repeated_functionEnablements_codec);
break;
}
case 128: {
IsServerHosted = input.ReadBool();
break;
}
case 136: {
RealtimeSessionLogChannel = input.ReadInt32();
break;
}
case 144: {
IsAutomaticVoiceResponseEnabled = input.ReadBool();
break;
}
case 154: {
circuitsFunctionEnablements_.AddEntriesFrom(input, _repeated_circuitsFunctionEnablements_codec);
break;
}
case 160: {
SingleSpeakerModeEnabled = input.ReadBool();
break;
}
case 173: {
SingleSpeakerModeAudioThreshold = input.ReadFloat();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Instructions = input.ReadString();
break;
}
case 21: {
Wackiness = input.ReadFloat();
break;
}
case 24: {
VoiceOption = input.ReadInt32();
break;
}
case 32: {
UseSpatialAudio = input.ReadBool();
break;
}
case 45: {
MaxRolloff = input.ReadFloat();
break;
}
case 48: {
RolloffCurve = input.ReadInt32();
break;
}
case 56: {
DopplerEnabled = input.ReadBool();
break;
}
case 66: {
UseContext = input.ReadString();
break;
}
case 72: {
AreSubtitlesEnabled = input.ReadBool();
break;
}
case 80: {
IsVoiceInputEnabled = input.ReadBool();
break;
}
case 88: {
IsVoiceOutputEnabled = input.ReadBool();
break;
}
case 96: {
DEPRECATEDisSynchronized = input.ReadBool();
break;
}
case 104: {
CanAllPlayersHearVoice = input.ReadBool();
break;
}
case 112: {
IsSceneComprehensionEnabled = input.ReadBool();
break;
}
case 122:
case 120: {
functionEnablements_.AddEntriesFrom(ref input, _repeated_functionEnablements_codec);
break;
}
case 128: {
IsServerHosted = input.ReadBool();
break;
}
case 136: {
RealtimeSessionLogChannel = input.ReadInt32();
break;
}
case 144: {
IsAutomaticVoiceResponseEnabled = input.ReadBool();
break;
}
case 154: {
circuitsFunctionEnablements_.AddEntriesFrom(ref input, _repeated_circuitsFunctionEnablements_codec);
break;
}
case 160: {
SingleSpeakerModeEnabled = input.ReadBool();
break;
}
case 173: {
SingleSpeakerModeAudioThreshold = input.ReadFloat();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code