_xiaofang/xiaofang/Assets/comm/Proto/Join.cs

676 lines
21 KiB
C#
Raw Normal View History

2024-11-07 22:02:39 +08:00
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
2024-11-23 14:08:04 +08:00
// source: join.proto
2024-11-07 22:02:39 +08:00
// </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;
2024-11-23 14:08:04 +08:00
/// <summary>Holder for reflection information generated from join.proto</summary>
public static partial class JoinReflection {
2024-11-07 22:02:39 +08:00
#region Descriptor
2024-11-23 14:08:04 +08:00
/// <summary>File descriptor for join.proto</summary>
2024-11-07 22:02:39 +08:00
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
2024-11-23 14:08:04 +08:00
static JoinReflection() {
2024-11-07 22:02:39 +08:00
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
2024-11-23 14:08:04 +08:00
"Cgpqb2luLnByb3RvIogBChBVc2VySm9pblJlc3BvbnNlEg4KBnVzZXJJZBgB",
"IAEoAxIQCghuaWNrTmFtZRgCIAEoCRIQCghyb2xlTmFtZRgDIAEoCRIOCgZy",
"b29tSWQYBCABKAkSDgoGb25saW5lGAUgASgIEhMKC21lc3NhZ2VUeXBlGAYg",
"ASgFEgsKA2NtZBgHIAEoCSI3ChBSb29tVXNlclJlc3BvbnNlEiMKCHVzZXJM",
"aXN0GAEgAygLMhEuVXNlckpvaW5SZXNwb25zZUIHWgUuLztwYmIGcHJvdG8z"));
2024-11-07 22:02:39 +08:00
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
2024-11-23 14:08:04 +08:00
new pbr::GeneratedClrTypeInfo(typeof(global::UserJoinResponse), global::UserJoinResponse.Parser, new[]{ "UserId", "NickName", "RoleName", "RoomId", "Online", "MessageType", "Cmd" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RoomUserResponse), global::RoomUserResponse.Parser, new[]{ "UserList" }, null, null, null, null)
2024-11-07 22:02:39 +08:00
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
2024-11-23 14:08:04 +08:00
public sealed partial class UserJoinResponse : pb::IMessage<UserJoinResponse>
2024-11-07 22:02:39 +08:00
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
2024-11-23 14:08:04 +08:00
private static readonly pb::MessageParser<UserJoinResponse> _parser = new pb::MessageParser<UserJoinResponse>(() => new UserJoinResponse());
2024-11-07 22:02:39 +08:00
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public static pb::MessageParser<UserJoinResponse> Parser { get { return _parser; } }
2024-11-07 22:02:39 +08:00
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
2024-11-23 14:08:04 +08:00
get { return global::JoinReflection.Descriptor.MessageTypes[0]; }
2024-11-07 22:02:39 +08:00
}
[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)]
2024-11-23 14:08:04 +08:00
public UserJoinResponse() {
2024-11-07 22:02:39 +08:00
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public UserJoinResponse(UserJoinResponse other) : this() {
userId_ = other.userId_;
nickName_ = other.nickName_;
roleName_ = other.roleName_;
roomId_ = other.roomId_;
online_ = other.online_;
messageType_ = other.messageType_;
cmd_ = other.cmd_;
2024-11-07 22:02:39 +08:00
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public UserJoinResponse Clone() {
return new UserJoinResponse(this);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
/// <summary>Field number for the "userId" field.</summary>
public const int UserIdFieldNumber = 1;
private long userId_;
2024-11-07 22:02:39 +08:00
/// <summary>
2024-11-23 14:08:04 +08:00
/// 用户id
2024-11-07 22:02:39 +08:00
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public long UserId {
get { return userId_; }
2024-11-07 22:02:39 +08:00
set {
2024-11-23 14:08:04 +08:00
userId_ = value;
2024-11-07 22:02:39 +08:00
}
}
2024-11-23 14:08:04 +08:00
/// <summary>Field number for the "nickName" field.</summary>
public const int NickNameFieldNumber = 2;
private string nickName_ = "";
2024-11-07 22:02:39 +08:00
/// <summary>
2024-11-23 14:08:04 +08:00
/// 用户名
2024-11-07 22:02:39 +08:00
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public string NickName {
get { return nickName_; }
2024-11-07 22:02:39 +08:00
set {
2024-11-23 14:08:04 +08:00
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2024-11-07 22:02:39 +08:00
}
}
2024-11-23 14:08:04 +08:00
/// <summary>Field number for the "roleName" field.</summary>
public const int RoleNameFieldNumber = 3;
private string roleName_ = "";
2024-11-07 22:02:39 +08:00
/// <summary>
2024-11-23 14:08:04 +08:00
/// 用户角色
2024-11-07 22:02:39 +08:00
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public string RoleName {
get { return roleName_; }
2024-11-07 22:02:39 +08:00
set {
2024-11-23 14:08:04 +08:00
roleName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2024-11-07 22:02:39 +08:00
}
}
2024-11-23 14:08:04 +08:00
/// <summary>Field number for the "roomId" field.</summary>
public const int RoomIdFieldNumber = 4;
private string roomId_ = "";
2024-11-07 22:02:39 +08:00
/// <summary>
2024-11-23 14:08:04 +08:00
///房间号
2024-11-07 22:02:39 +08:00
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public string RoomId {
get { return roomId_; }
2024-11-07 22:02:39 +08:00
set {
2024-11-23 14:08:04 +08:00
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "online" field.</summary>
public const int OnlineFieldNumber = 5;
private bool online_;
/// <summary>
///状态 接收这个用户是不是掉线了
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Online {
get { return online_; }
set {
online_ = value;
}
}
/// <summary>Field number for the "messageType" field.</summary>
public const int MessageTypeFieldNumber = 6;
private int messageType_;
/// <summary>
///事件状态 1 用户上线 2用户下线 3 用户加入房间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MessageType {
get { return messageType_; }
set {
messageType_ = value;
}
}
/// <summary>Field number for the "cmd" field.</summary>
public const int CmdFieldNumber = 7;
private string cmd_ = "";
/// <summary>
///操作指令
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Cmd {
get { return cmd_; }
set {
cmd_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2024-11-07 22:02:39 +08:00
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
2024-11-23 14:08:04 +08:00
return Equals(other as UserJoinResponse);
2024-11-07 22:02:39 +08:00
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public bool Equals(UserJoinResponse other) {
2024-11-07 22:02:39 +08:00
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
2024-11-23 14:08:04 +08:00
if (UserId != other.UserId) return false;
if (NickName != other.NickName) return false;
if (RoleName != other.RoleName) return false;
if (RoomId != other.RoomId) return false;
if (Online != other.Online) return false;
if (MessageType != other.MessageType) return false;
if (Cmd != other.Cmd) return false;
2024-11-07 22:02:39 +08:00
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
2024-11-23 14:08:04 +08:00
if (UserId != 0L) hash ^= UserId.GetHashCode();
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
if (RoleName.Length != 0) hash ^= RoleName.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
if (Online != false) hash ^= Online.GetHashCode();
if (MessageType != 0) hash ^= MessageType.GetHashCode();
if (Cmd.Length != 0) hash ^= Cmd.GetHashCode();
2024-11-07 22:02:39 +08:00
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
2024-11-23 14:08:04 +08:00
if (UserId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(UserId);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (NickName.Length != 0) {
2024-11-07 22:02:39 +08:00
output.WriteRawTag(18);
2024-11-23 14:08:04 +08:00
output.WriteString(NickName);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (RoleName.Length != 0) {
2024-11-07 22:02:39 +08:00
output.WriteRawTag(26);
2024-11-23 14:08:04 +08:00
output.WriteString(RoleName);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (RoomId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(RoomId);
}
if (Online != false) {
output.WriteRawTag(40);
output.WriteBool(Online);
}
if (MessageType != 0) {
output.WriteRawTag(48);
output.WriteInt32(MessageType);
}
if (Cmd.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Cmd);
2024-11-07 22:02:39 +08:00
}
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) {
2024-11-23 14:08:04 +08:00
if (UserId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(UserId);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (NickName.Length != 0) {
2024-11-07 22:02:39 +08:00
output.WriteRawTag(18);
2024-11-23 14:08:04 +08:00
output.WriteString(NickName);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (RoleName.Length != 0) {
2024-11-07 22:02:39 +08:00
output.WriteRawTag(26);
2024-11-23 14:08:04 +08:00
output.WriteString(RoleName);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (RoomId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(RoomId);
}
if (Online != false) {
output.WriteRawTag(40);
output.WriteBool(Online);
}
if (MessageType != 0) {
output.WriteRawTag(48);
output.WriteInt32(MessageType);
}
if (Cmd.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Cmd);
2024-11-07 22:02:39 +08:00
}
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;
2024-11-23 14:08:04 +08:00
if (UserId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (NickName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (RoleName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleName);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (RoomId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (Online != false) {
size += 1 + 1;
}
if (MessageType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MessageType);
}
if (Cmd.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Cmd);
2024-11-07 22:02:39 +08:00
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public void MergeFrom(UserJoinResponse other) {
2024-11-07 22:02:39 +08:00
if (other == null) {
return;
}
2024-11-23 14:08:04 +08:00
if (other.UserId != 0L) {
UserId = other.UserId;
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (other.NickName.Length != 0) {
NickName = other.NickName;
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (other.RoleName.Length != 0) {
RoleName = other.RoleName;
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
if (other.Online != false) {
Online = other.Online;
}
if (other.MessageType != 0) {
MessageType = other.MessageType;
}
if (other.Cmd.Length != 0) {
Cmd = other.Cmd;
2024-11-07 22:02:39 +08:00
}
_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;
2024-11-23 14:08:04 +08:00
case 8: {
UserId = input.ReadInt64();
2024-11-07 22:02:39 +08:00
break;
}
case 18: {
2024-11-23 14:08:04 +08:00
NickName = input.ReadString();
2024-11-07 22:02:39 +08:00
break;
}
case 26: {
2024-11-23 14:08:04 +08:00
RoleName = input.ReadString();
break;
}
case 34: {
RoomId = input.ReadString();
2024-11-07 22:02:39 +08:00
break;
}
2024-11-23 14:08:04 +08:00
case 40: {
Online = input.ReadBool();
break;
}
case 48: {
MessageType = input.ReadInt32();
break;
}
case 58: {
Cmd = input.ReadString();
2024-11-07 22:02:39 +08:00
break;
}
}
}
#endif
2024-11-23 14:08:04 +08:00
}
2024-11-07 22:02:39 +08:00
#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;
2024-11-23 14:08:04 +08:00
case 8: {
UserId = input.ReadInt64();
2024-11-07 22:02:39 +08:00
break;
}
case 18: {
2024-11-23 14:08:04 +08:00
NickName = input.ReadString();
2024-11-07 22:02:39 +08:00
break;
}
case 26: {
2024-11-23 14:08:04 +08:00
RoleName = input.ReadString();
break;
}
case 34: {
RoomId = input.ReadString();
2024-11-07 22:02:39 +08:00
break;
}
2024-11-23 14:08:04 +08:00
case 40: {
Online = input.ReadBool();
break;
}
case 48: {
MessageType = input.ReadInt32();
break;
}
case 58: {
Cmd = input.ReadString();
2024-11-07 22:02:39 +08:00
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
2024-11-23 14:08:04 +08:00
public sealed partial class RoomUserResponse : pb::IMessage<RoomUserResponse>
2024-11-07 22:02:39 +08:00
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
2024-11-23 14:08:04 +08:00
private static readonly pb::MessageParser<RoomUserResponse> _parser = new pb::MessageParser<RoomUserResponse>(() => new RoomUserResponse());
2024-11-07 22:02:39 +08:00
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public static pb::MessageParser<RoomUserResponse> Parser { get { return _parser; } }
2024-11-07 22:02:39 +08:00
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
2024-11-23 14:08:04 +08:00
get { return global::JoinReflection.Descriptor.MessageTypes[1]; }
2024-11-07 22:02:39 +08:00
}
[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)]
2024-11-23 14:08:04 +08:00
public RoomUserResponse() {
2024-11-07 22:02:39 +08:00
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public RoomUserResponse(RoomUserResponse other) : this() {
userList_ = other.userList_.Clone();
2024-11-07 22:02:39 +08:00
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public RoomUserResponse Clone() {
return new RoomUserResponse(this);
2024-11-07 22:02:39 +08:00
}
2024-11-23 14:08:04 +08:00
/// <summary>Field number for the "userList" field.</summary>
public const int UserListFieldNumber = 1;
private static readonly pb::FieldCodec<global::UserJoinResponse> _repeated_userList_codec
= pb::FieldCodec.ForMessage(10, global::UserJoinResponse.Parser);
private readonly pbc::RepeatedField<global::UserJoinResponse> userList_ = new pbc::RepeatedField<global::UserJoinResponse>();
2024-11-07 22:02:39 +08:00
/// <summary>
2024-11-23 14:08:04 +08:00
///用户列表
2024-11-07 22:02:39 +08:00
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public pbc::RepeatedField<global::UserJoinResponse> UserList {
get { return userList_; }
2024-11-07 22:02:39 +08:00
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
2024-11-23 14:08:04 +08:00
return Equals(other as RoomUserResponse);
2024-11-07 22:02:39 +08:00
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public bool Equals(RoomUserResponse other) {
2024-11-07 22:02:39 +08:00
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
2024-11-23 14:08:04 +08:00
if(!userList_.Equals(other.userList_)) return false;
2024-11-07 22:02:39 +08:00
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
2024-11-23 14:08:04 +08:00
hash ^= userList_.GetHashCode();
2024-11-07 22:02:39 +08:00
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
2024-11-23 14:08:04 +08:00
userList_.WriteTo(output, _repeated_userList_codec);
2024-11-07 22:02:39 +08:00
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) {
2024-11-23 14:08:04 +08:00
userList_.WriteTo(ref output, _repeated_userList_codec);
2024-11-07 22:02:39 +08:00
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;
2024-11-23 14:08:04 +08:00
size += userList_.CalculateSize(_repeated_userList_codec);
2024-11-07 22:02:39 +08:00
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2024-11-23 14:08:04 +08:00
public void MergeFrom(RoomUserResponse other) {
2024-11-07 22:02:39 +08:00
if (other == null) {
return;
}
2024-11-23 14:08:04 +08:00
userList_.Add(other.userList_);
2024-11-07 22:02:39 +08:00
_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: {
2024-11-23 14:08:04 +08:00
userList_.AddEntriesFrom(input, _repeated_userList_codec);
2024-11-07 22:02:39 +08:00
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: {
2024-11-23 14:08:04 +08:00
userList_.AddEntriesFrom(ref input, _repeated_userList_codec);
2024-11-07 22:02:39 +08:00
break;
}
}
}
}
#endif
}
#endregion
#endregion Designer generated code