Protobuf...
This commit is contained in:
432
GameTeamPlayerVisualConfigurationData.cs
Normal file
432
GameTeamPlayerVisualConfigurationData.cs
Normal file
@@ -0,0 +1,432 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/game_configuration/game_team_player_visual_configuration_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/game_configuration/game_team_player_visual_configuration_data.proto</summary>
|
||||
public static partial class GameTeamPlayerVisualConfigurationDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/game_configuration/game_team_player_visual_configuration_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static GameTeamPlayerVisualConfigurationDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkxyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vZ2FtZV90ZWFtX3BsYXll",
|
||||
"cl92aXN1YWxfY29uZmlndXJhdGlvbl9kYXRhLnByb3RvEghyZWNfcm9vbSLv",
|
||||
"AQolR2FtZVRlYW1QbGF5ZXJWaXN1YWxDb25maWd1cmF0aW9uRGF0YRIeChZ0",
|
||||
"ZWFtX291dGZpdHNfc3VwcG9ydGVkGAEgASgIEicKH3RlYW1fbmFtZV9pbl9m",
|
||||
"ZWVkYmFja19zdXBwb3J0ZWQYAiABKAgSKAogdGVhbV9jb2xvcl9pbl9mZWVk",
|
||||
"YmFja19zdXBwb3J0ZWQYAyABKAgSFwoPdGVhbV9jb2xvcl9tb2RlGAQgASgF",
|
||||
"EhwKFHRlYW1tYXRlX2JlYWNvbl9tb2RlGAUgASgFEhwKFG9wcG9uZW50X2Jl",
|
||||
"YWNvbl9tb2RlGAYgASgFQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.GameTeamPlayerVisualConfigurationData), global::RecRoom.Protobuf.GameTeamPlayerVisualConfigurationData.Parser, new[]{ "TeamOutfitsSupported", "TeamNameInFeedbackSupported", "TeamColorInFeedbackSupported", "TeamColorMode", "TeammateBeaconMode", "OpponentBeaconMode" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class GameTeamPlayerVisualConfigurationData : pb::IMessage<GameTeamPlayerVisualConfigurationData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<GameTeamPlayerVisualConfigurationData> _parser = new pb::MessageParser<GameTeamPlayerVisualConfigurationData>(() => new GameTeamPlayerVisualConfigurationData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<GameTeamPlayerVisualConfigurationData> 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.GameTeamPlayerVisualConfigurationDataReflection.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 GameTeamPlayerVisualConfigurationData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public GameTeamPlayerVisualConfigurationData(GameTeamPlayerVisualConfigurationData other) : this() {
|
||||
teamOutfitsSupported_ = other.teamOutfitsSupported_;
|
||||
teamNameInFeedbackSupported_ = other.teamNameInFeedbackSupported_;
|
||||
teamColorInFeedbackSupported_ = other.teamColorInFeedbackSupported_;
|
||||
teamColorMode_ = other.teamColorMode_;
|
||||
teammateBeaconMode_ = other.teammateBeaconMode_;
|
||||
opponentBeaconMode_ = other.opponentBeaconMode_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public GameTeamPlayerVisualConfigurationData Clone() {
|
||||
return new GameTeamPlayerVisualConfigurationData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "team_outfits_supported" field.</summary>
|
||||
public const int TeamOutfitsSupportedFieldNumber = 1;
|
||||
private bool teamOutfitsSupported_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool TeamOutfitsSupported {
|
||||
get { return teamOutfitsSupported_; }
|
||||
set {
|
||||
teamOutfitsSupported_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "team_name_in_feedback_supported" field.</summary>
|
||||
public const int TeamNameInFeedbackSupportedFieldNumber = 2;
|
||||
private bool teamNameInFeedbackSupported_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool TeamNameInFeedbackSupported {
|
||||
get { return teamNameInFeedbackSupported_; }
|
||||
set {
|
||||
teamNameInFeedbackSupported_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "team_color_in_feedback_supported" field.</summary>
|
||||
public const int TeamColorInFeedbackSupportedFieldNumber = 3;
|
||||
private bool teamColorInFeedbackSupported_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool TeamColorInFeedbackSupported {
|
||||
get { return teamColorInFeedbackSupported_; }
|
||||
set {
|
||||
teamColorInFeedbackSupported_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "team_color_mode" field.</summary>
|
||||
public const int TeamColorModeFieldNumber = 4;
|
||||
private int teamColorMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int TeamColorMode {
|
||||
get { return teamColorMode_; }
|
||||
set {
|
||||
teamColorMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "teammate_beacon_mode" field.</summary>
|
||||
public const int TeammateBeaconModeFieldNumber = 5;
|
||||
private int teammateBeaconMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int TeammateBeaconMode {
|
||||
get { return teammateBeaconMode_; }
|
||||
set {
|
||||
teammateBeaconMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "opponent_beacon_mode" field.</summary>
|
||||
public const int OpponentBeaconModeFieldNumber = 6;
|
||||
private int opponentBeaconMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int OpponentBeaconMode {
|
||||
get { return opponentBeaconMode_; }
|
||||
set {
|
||||
opponentBeaconMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as GameTeamPlayerVisualConfigurationData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(GameTeamPlayerVisualConfigurationData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (TeamOutfitsSupported != other.TeamOutfitsSupported) return false;
|
||||
if (TeamNameInFeedbackSupported != other.TeamNameInFeedbackSupported) return false;
|
||||
if (TeamColorInFeedbackSupported != other.TeamColorInFeedbackSupported) return false;
|
||||
if (TeamColorMode != other.TeamColorMode) return false;
|
||||
if (TeammateBeaconMode != other.TeammateBeaconMode) return false;
|
||||
if (OpponentBeaconMode != other.OpponentBeaconMode) 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 (TeamOutfitsSupported != false) hash ^= TeamOutfitsSupported.GetHashCode();
|
||||
if (TeamNameInFeedbackSupported != false) hash ^= TeamNameInFeedbackSupported.GetHashCode();
|
||||
if (TeamColorInFeedbackSupported != false) hash ^= TeamColorInFeedbackSupported.GetHashCode();
|
||||
if (TeamColorMode != 0) hash ^= TeamColorMode.GetHashCode();
|
||||
if (TeammateBeaconMode != 0) hash ^= TeammateBeaconMode.GetHashCode();
|
||||
if (OpponentBeaconMode != 0) hash ^= OpponentBeaconMode.GetHashCode();
|
||||
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 (TeamOutfitsSupported != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(TeamOutfitsSupported);
|
||||
}
|
||||
if (TeamNameInFeedbackSupported != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(TeamNameInFeedbackSupported);
|
||||
}
|
||||
if (TeamColorInFeedbackSupported != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(TeamColorInFeedbackSupported);
|
||||
}
|
||||
if (TeamColorMode != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(TeamColorMode);
|
||||
}
|
||||
if (TeammateBeaconMode != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(TeammateBeaconMode);
|
||||
}
|
||||
if (OpponentBeaconMode != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(OpponentBeaconMode);
|
||||
}
|
||||
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 (TeamOutfitsSupported != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(TeamOutfitsSupported);
|
||||
}
|
||||
if (TeamNameInFeedbackSupported != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(TeamNameInFeedbackSupported);
|
||||
}
|
||||
if (TeamColorInFeedbackSupported != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(TeamColorInFeedbackSupported);
|
||||
}
|
||||
if (TeamColorMode != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(TeamColorMode);
|
||||
}
|
||||
if (TeammateBeaconMode != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(TeammateBeaconMode);
|
||||
}
|
||||
if (OpponentBeaconMode != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(OpponentBeaconMode);
|
||||
}
|
||||
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 (TeamOutfitsSupported != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (TeamNameInFeedbackSupported != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (TeamColorInFeedbackSupported != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (TeamColorMode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TeamColorMode);
|
||||
}
|
||||
if (TeammateBeaconMode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TeammateBeaconMode);
|
||||
}
|
||||
if (OpponentBeaconMode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(OpponentBeaconMode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(GameTeamPlayerVisualConfigurationData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.TeamOutfitsSupported != false) {
|
||||
TeamOutfitsSupported = other.TeamOutfitsSupported;
|
||||
}
|
||||
if (other.TeamNameInFeedbackSupported != false) {
|
||||
TeamNameInFeedbackSupported = other.TeamNameInFeedbackSupported;
|
||||
}
|
||||
if (other.TeamColorInFeedbackSupported != false) {
|
||||
TeamColorInFeedbackSupported = other.TeamColorInFeedbackSupported;
|
||||
}
|
||||
if (other.TeamColorMode != 0) {
|
||||
TeamColorMode = other.TeamColorMode;
|
||||
}
|
||||
if (other.TeammateBeaconMode != 0) {
|
||||
TeammateBeaconMode = other.TeammateBeaconMode;
|
||||
}
|
||||
if (other.OpponentBeaconMode != 0) {
|
||||
OpponentBeaconMode = other.OpponentBeaconMode;
|
||||
}
|
||||
_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 8: {
|
||||
TeamOutfitsSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
TeamNameInFeedbackSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
TeamColorInFeedbackSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
TeamColorMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
TeammateBeaconMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
OpponentBeaconMode = input.ReadInt32();
|
||||
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 8: {
|
||||
TeamOutfitsSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
TeamNameInFeedbackSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
TeamColorInFeedbackSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
TeamColorMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
TeammateBeaconMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
OpponentBeaconMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user