|
@@ -28,7 +28,8 @@ namespace Protos {
|
|
"bUpvaW5SZXNwb25zZRIeCgZSZXN1bHQYASABKAsyDi5wcm90b3MuUmVzdWx0",
|
|
"bUpvaW5SZXNwb25zZRIeCgZSZXN1bHQYASABKAsyDi5wcm90b3MuUmVzdWx0",
|
|
"Eg4KBlJvb21JRBgCIAEoDSIyCgxSb29tSm9pblB1c2gSIgoIVXNlckluZm8Y",
|
|
"Eg4KBlJvb21JRBgCIAEoDSIyCgxSb29tSm9pblB1c2gSIgoIVXNlckluZm8Y",
|
|
"ASABKAsyEC5wcm90b3MuVXNlckluZm8iHwoNUm9vbUxlYXZlUHVzaBIOCgZV",
|
|
"ASABKAsyEC5wcm90b3MuVXNlckluZm8iHwoNUm9vbUxlYXZlUHVzaBIOCgZV",
|
|
- "c2VySUQYASABKA0iEQoPUm9vbURpc21pc3NQdXNoYgZwcm90bzM="));
|
|
|
|
|
|
+ "c2VySUQYASABKA0iEQoPUm9vbURpc21pc3NQdXNoIiYKFFJvb21Td2l0Y2hN",
|
|
|
|
+ "YXN0ZXJQdXNoEg4KBlVzZXJJRBgBIAEoDWIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Protos.UserinfoReflection.Descriptor, global::Protos.ResultReflection.Descriptor, },
|
|
new pbr::FileDescriptor[] { global::Protos.UserinfoReflection.Descriptor, global::Protos.ResultReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
@@ -38,7 +39,8 @@ namespace Protos {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomJoinResponse), global::Protos.RoomJoinResponse.Parser, new[]{ "Result", "RoomID" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomJoinResponse), global::Protos.RoomJoinResponse.Parser, new[]{ "Result", "RoomID" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomJoinPush), global::Protos.RoomJoinPush.Parser, new[]{ "UserInfo" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomJoinPush), global::Protos.RoomJoinPush.Parser, new[]{ "UserInfo" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomLeavePush), global::Protos.RoomLeavePush.Parser, new[]{ "UserID" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomLeavePush), global::Protos.RoomLeavePush.Parser, new[]{ "UserID" }, null, null, null),
|
|
- new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomDismissPush), global::Protos.RoomDismissPush.Parser, null, null, null, null)
|
|
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomDismissPush), global::Protos.RoomDismissPush.Parser, null, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::Protos.RoomSwitchMasterPush), global::Protos.RoomSwitchMasterPush.Parser, new[]{ "UserID" }, null, null, null)
|
|
}));
|
|
}));
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|
|
@@ -820,6 +822,123 @@ namespace Protos {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public sealed partial class RoomSwitchMasterPush : pb::IMessage<RoomSwitchMasterPush> {
|
|
|
|
+ private static readonly pb::MessageParser<RoomSwitchMasterPush> _parser = new pb::MessageParser<RoomSwitchMasterPush>(() => new RoomSwitchMasterPush());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<RoomSwitchMasterPush> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::Protos.RoomReflection.Descriptor.MessageTypes[7]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public RoomSwitchMasterPush() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public RoomSwitchMasterPush(RoomSwitchMasterPush other) : this() {
|
|
|
|
+ userID_ = other.userID_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public RoomSwitchMasterPush Clone() {
|
|
|
|
+ return new RoomSwitchMasterPush(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "UserID" field.</summary>
|
|
|
|
+ public const int UserIDFieldNumber = 1;
|
|
|
|
+ private uint userID_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public uint UserID {
|
|
|
|
+ get { return userID_; }
|
|
|
|
+ set {
|
|
|
|
+ userID_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as RoomSwitchMasterPush);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(RoomSwitchMasterPush other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (UserID != other.UserID) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (UserID != 0) hash ^= UserID.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (UserID != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteUInt32(UserID);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (UserID != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UserID);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(RoomSwitchMasterPush other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.UserID != 0) {
|
|
|
|
+ UserID = other.UserID;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ UserID = input.ReadUInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
}
|
|
}
|