You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2197 lines
67 KiB
C#
2197 lines
67 KiB
C#
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: common.proto
|
|
#pragma warning disable 1591, 0612, 3021
|
|
#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 Message {
|
|
|
|
/// <summary>Holder for reflection information generated from common.proto</summary>
|
|
public static partial class CommonReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for common.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static CommonReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cgxjb21tb24ucHJvdG8SB21lc3NhZ2UaDW1zZ3R5cGUucHJvdG8iJQoFTG9n",
|
|
"aW4SDQoFQXBwSWQYASABKAkSDQoFVG9rZW4YAiABKAkiYQoLTG9naW5SZXN1",
|
|
"bHQSIwoGUmVzdWx0GAEgASgOMhMubWVzc2FnZS5FUlJPUl9DT0RFEg4KBlJv",
|
|
"b21JZBgCIAEoCRILCgNVSUQYAyABKAkSEAoITmlja05hbWUYBCABKAkiCwoJ",
|
|
"UGxheVN0YXJ0IjYKD1BsYXlTdGFydFJlc3VsdBIjCgZSZXN1bHQYASABKA4y",
|
|
"Ey5tZXNzYWdlLkVSUk9SX0NPREUiCQoHUGxheUVuZCI0Cg1QbGF5RW5kUmVz",
|
|
"dWx0EiMKBlJlc3VsdBgBIAEoDjITLm1lc3NhZ2UuRVJST1JfQ09ERSIrCgZS",
|
|
"ZXBvcnQSIQoESW5mbxgBIAMoCzITLm1lc3NhZ2UuUmVwb3J0SW5mbyIzCgxS",
|
|
"ZXBvcnRSZXN1bHQSIwoGUmVzdWx0GAEgASgOMhMubWVzc2FnZS5FUlJPUl9D",
|
|
"T0RFIhsKB0dldFJhbmsSEAoIVG9wQ291bnQYASABKAUiVwoNR2V0UmFua1Jl",
|
|
"c3VsdBIjCgZSZXN1bHQYASABKA4yEy5tZXNzYWdlLkVSUk9SX0NPREUSIQoE",
|
|
"SW5mbxgCIAMoCzITLm1lc3NhZ2UuUmVwb3J0SW5mbyI4ChFOb3RpZnlOZXdB",
|
|
"dWRpZW5jZRIjCghBdWRpZW5jZRgBIAEoCzIRLm1lc3NhZ2UuQXVkaWVuY2Ui",
|
|
"aQoUTm90aWZ5QXVkaWVuY2VBY3Rpb24SDgoGT3BlbklkGAEgASgJEg8KB0Nv",
|
|
"bnRlbnQYAiABKAkSDwoHTGlrZU51bRgDIAEoBRIOCgZHaWZ0SWQYBCABKAkS",
|
|
"DwoHR2lmdE51bRgFIAEoBSIrCgpSZXBvcnRJbmZvEg4KBk9wZW5JZBgBIAEo",
|
|
"CRINCgVTY29yZRgCIAEoBSI/CghBdWRpZW5jZRIOCgZPcGVuSWQYASABKAkS",
|
|
"EAoITmlja05hbWUYAiABKAkSEQoJQXZhdGFyVXJsGAMgASgJIkwKCFJhbmtJ",
|
|
"bmZvEiMKCEF1ZGllbmNlGAEgASgLMhEubWVzc2FnZS5BdWRpZW5jZRIMCgRS",
|
|
"YW5rGAIgASgFEg0KBVNjb3JlGAMgASgFQgVaA3BiL2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Message.MsgtypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.Login), global::Message.Login.Parser, new[]{ "AppId", "Token" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.LoginResult), global::Message.LoginResult.Parser, new[]{ "Result", "RoomId", "UID", "NickName" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.PlayStart), global::Message.PlayStart.Parser, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.PlayStartResult), global::Message.PlayStartResult.Parser, new[]{ "Result" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.PlayEnd), global::Message.PlayEnd.Parser, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.PlayEndResult), global::Message.PlayEndResult.Parser, new[]{ "Result" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.Report), global::Message.Report.Parser, new[]{ "Info" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.ReportResult), global::Message.ReportResult.Parser, new[]{ "Result" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.GetRank), global::Message.GetRank.Parser, new[]{ "TopCount" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.GetRankResult), global::Message.GetRankResult.Parser, new[]{ "Result", "Info" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.NotifyNewAudience), global::Message.NotifyNewAudience.Parser, new[]{ "Audience" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.NotifyAudienceAction), global::Message.NotifyAudienceAction.Parser, new[]{ "OpenId", "Content", "LikeNum", "GiftId", "GiftNum" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.ReportInfo), global::Message.ReportInfo.Parser, new[]{ "OpenId", "Score" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.Audience), global::Message.Audience.Parser, new[]{ "OpenId", "NickName", "AvatarUrl" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Message.RankInfo), global::Message.RankInfo.Parser, new[]{ "Audience", "Rank", "Score" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
public sealed partial class Login : pb::IMessage<Login> {
|
|
private static readonly pb::MessageParser<Login> _parser = new pb::MessageParser<Login>(() => new Login());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<Login> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Login() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Login(Login other) : this() {
|
|
appId_ = other.appId_;
|
|
token_ = other.token_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Login Clone() {
|
|
return new Login(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "AppId" field.</summary>
|
|
public const int AppIdFieldNumber = 1;
|
|
private string appId_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string AppId {
|
|
get { return appId_; }
|
|
set {
|
|
appId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Token" field.</summary>
|
|
public const int TokenFieldNumber = 2;
|
|
private string token_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Token {
|
|
get { return token_; }
|
|
set {
|
|
token_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Login);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(Login other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (AppId != other.AppId) return false;
|
|
if (Token != other.Token) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (AppId.Length != 0) hash ^= AppId.GetHashCode();
|
|
if (Token.Length != 0) hash ^= Token.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 (AppId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(AppId);
|
|
}
|
|
if (Token.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Token);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (AppId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AppId);
|
|
}
|
|
if (Token.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(Login other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.AppId.Length != 0) {
|
|
AppId = other.AppId;
|
|
}
|
|
if (other.Token.Length != 0) {
|
|
Token = other.Token;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
AppId = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Token = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class LoginResult : pb::IMessage<LoginResult> {
|
|
private static readonly pb::MessageParser<LoginResult> _parser = new pb::MessageParser<LoginResult>(() => new LoginResult());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<LoginResult> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LoginResult() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LoginResult(LoginResult other) : this() {
|
|
result_ = other.result_;
|
|
roomId_ = other.roomId_;
|
|
uID_ = other.uID_;
|
|
nickName_ = other.nickName_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LoginResult Clone() {
|
|
return new LoginResult(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Result" field.</summary>
|
|
public const int ResultFieldNumber = 1;
|
|
private global::Message.ERROR_CODE result_ = 0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Message.ERROR_CODE Result {
|
|
get { return result_; }
|
|
set {
|
|
result_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "RoomId" field.</summary>
|
|
public const int RoomIdFieldNumber = 2;
|
|
private string roomId_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "UID" field.</summary>
|
|
public const int UIDFieldNumber = 3;
|
|
private string uID_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string UID {
|
|
get { return uID_; }
|
|
set {
|
|
uID_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NickName" field.</summary>
|
|
public const int NickNameFieldNumber = 4;
|
|
private string nickName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string NickName {
|
|
get { return nickName_; }
|
|
set {
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as LoginResult);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(LoginResult other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Result != other.Result) return false;
|
|
if (RoomId != other.RoomId) return false;
|
|
if (UID != other.UID) return false;
|
|
if (NickName != other.NickName) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Result != 0) hash ^= Result.GetHashCode();
|
|
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
|
if (UID.Length != 0) hash ^= UID.GetHashCode();
|
|
if (NickName.Length != 0) hash ^= NickName.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 (Result != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Result);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (UID.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(UID);
|
|
}
|
|
if (NickName.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(NickName);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Result != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Result);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
|
}
|
|
if (UID.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(UID);
|
|
}
|
|
if (NickName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(LoginResult other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Result != 0) {
|
|
Result = other.Result;
|
|
}
|
|
if (other.RoomId.Length != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.UID.Length != 0) {
|
|
UID = other.UID;
|
|
}
|
|
if (other.NickName.Length != 0) {
|
|
NickName = other.NickName;
|
|
}
|
|
}
|
|
|
|
[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: {
|
|
result_ = (global::Message.ERROR_CODE) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
UID = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
NickName = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class PlayStart : pb::IMessage<PlayStart> {
|
|
private static readonly pb::MessageParser<PlayStart> _parser = new pb::MessageParser<PlayStart>(() => new PlayStart());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<PlayStart> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[2]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayStart() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayStart(PlayStart other) : this() {
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayStart Clone() {
|
|
return new PlayStart(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayStart);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(PlayStart other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
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) {
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(PlayStart other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class PlayStartResult : pb::IMessage<PlayStartResult> {
|
|
private static readonly pb::MessageParser<PlayStartResult> _parser = new pb::MessageParser<PlayStartResult>(() => new PlayStartResult());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<PlayStartResult> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[3]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayStartResult() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayStartResult(PlayStartResult other) : this() {
|
|
result_ = other.result_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayStartResult Clone() {
|
|
return new PlayStartResult(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Result" field.</summary>
|
|
public const int ResultFieldNumber = 1;
|
|
private global::Message.ERROR_CODE result_ = 0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Message.ERROR_CODE Result {
|
|
get { return result_; }
|
|
set {
|
|
result_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayStartResult);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(PlayStartResult other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Result != other.Result) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Result != 0) hash ^= Result.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 (Result != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Result);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Result != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Result);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(PlayStartResult other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Result != 0) {
|
|
Result = other.Result;
|
|
}
|
|
}
|
|
|
|
[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: {
|
|
result_ = (global::Message.ERROR_CODE) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class PlayEnd : pb::IMessage<PlayEnd> {
|
|
private static readonly pb::MessageParser<PlayEnd> _parser = new pb::MessageParser<PlayEnd>(() => new PlayEnd());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<PlayEnd> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[4]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayEnd() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayEnd(PlayEnd other) : this() {
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayEnd Clone() {
|
|
return new PlayEnd(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayEnd);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(PlayEnd other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
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) {
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(PlayEnd other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class PlayEndResult : pb::IMessage<PlayEndResult> {
|
|
private static readonly pb::MessageParser<PlayEndResult> _parser = new pb::MessageParser<PlayEndResult>(() => new PlayEndResult());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<PlayEndResult> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[5]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayEndResult() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayEndResult(PlayEndResult other) : this() {
|
|
result_ = other.result_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public PlayEndResult Clone() {
|
|
return new PlayEndResult(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Result" field.</summary>
|
|
public const int ResultFieldNumber = 1;
|
|
private global::Message.ERROR_CODE result_ = 0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Message.ERROR_CODE Result {
|
|
get { return result_; }
|
|
set {
|
|
result_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayEndResult);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(PlayEndResult other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Result != other.Result) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Result != 0) hash ^= Result.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 (Result != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Result);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Result != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Result);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(PlayEndResult other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Result != 0) {
|
|
Result = other.Result;
|
|
}
|
|
}
|
|
|
|
[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: {
|
|
result_ = (global::Message.ERROR_CODE) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class Report : pb::IMessage<Report> {
|
|
private static readonly pb::MessageParser<Report> _parser = new pb::MessageParser<Report>(() => new Report());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<Report> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[6]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Report() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Report(Report other) : this() {
|
|
info_ = other.info_.Clone();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Report Clone() {
|
|
return new Report(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Info" field.</summary>
|
|
public const int InfoFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Message.ReportInfo> _repeated_info_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Message.ReportInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::Message.ReportInfo> info_ = new pbc::RepeatedField<global::Message.ReportInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Message.ReportInfo> Info {
|
|
get { return info_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Report);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(Report other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!info_.Equals(other.info_)) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= info_.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) {
|
|
info_.WriteTo(output, _repeated_info_codec);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += info_.CalculateSize(_repeated_info_codec);
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(Report other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
info_.Add(other.info_);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
info_.AddEntriesFrom(input, _repeated_info_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class ReportResult : pb::IMessage<ReportResult> {
|
|
private static readonly pb::MessageParser<ReportResult> _parser = new pb::MessageParser<ReportResult>(() => new ReportResult());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<ReportResult> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[7]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ReportResult() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ReportResult(ReportResult other) : this() {
|
|
result_ = other.result_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ReportResult Clone() {
|
|
return new ReportResult(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Result" field.</summary>
|
|
public const int ResultFieldNumber = 1;
|
|
private global::Message.ERROR_CODE result_ = 0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Message.ERROR_CODE Result {
|
|
get { return result_; }
|
|
set {
|
|
result_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ReportResult);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(ReportResult other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Result != other.Result) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Result != 0) hash ^= Result.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 (Result != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Result);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Result != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Result);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(ReportResult other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Result != 0) {
|
|
Result = other.Result;
|
|
}
|
|
}
|
|
|
|
[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: {
|
|
result_ = (global::Message.ERROR_CODE) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetRank : pb::IMessage<GetRank> {
|
|
private static readonly pb::MessageParser<GetRank> _parser = new pb::MessageParser<GetRank>(() => new GetRank());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetRank> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[8]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetRank() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetRank(GetRank other) : this() {
|
|
topCount_ = other.topCount_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetRank Clone() {
|
|
return new GetRank(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "TopCount" field.</summary>
|
|
public const int TopCountFieldNumber = 1;
|
|
private int topCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int TopCount {
|
|
get { return topCount_; }
|
|
set {
|
|
topCount_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetRank);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetRank other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (TopCount != other.TopCount) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (TopCount != 0) hash ^= TopCount.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 (TopCount != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(TopCount);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (TopCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TopCount);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetRank other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.TopCount != 0) {
|
|
TopCount = other.TopCount;
|
|
}
|
|
}
|
|
|
|
[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: {
|
|
TopCount = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetRankResult : pb::IMessage<GetRankResult> {
|
|
private static readonly pb::MessageParser<GetRankResult> _parser = new pb::MessageParser<GetRankResult>(() => new GetRankResult());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetRankResult> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[9]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetRankResult() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetRankResult(GetRankResult other) : this() {
|
|
result_ = other.result_;
|
|
info_ = other.info_.Clone();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetRankResult Clone() {
|
|
return new GetRankResult(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Result" field.</summary>
|
|
public const int ResultFieldNumber = 1;
|
|
private global::Message.ERROR_CODE result_ = 0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Message.ERROR_CODE Result {
|
|
get { return result_; }
|
|
set {
|
|
result_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Info" field.</summary>
|
|
public const int InfoFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::Message.ReportInfo> _repeated_info_codec
|
|
= pb::FieldCodec.ForMessage(18, global::Message.ReportInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::Message.ReportInfo> info_ = new pbc::RepeatedField<global::Message.ReportInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Message.ReportInfo> Info {
|
|
get { return info_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetRankResult);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetRankResult other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Result != other.Result) return false;
|
|
if(!info_.Equals(other.info_)) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Result != 0) hash ^= Result.GetHashCode();
|
|
hash ^= info_.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 (Result != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Result);
|
|
}
|
|
info_.WriteTo(output, _repeated_info_codec);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Result != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Result);
|
|
}
|
|
size += info_.CalculateSize(_repeated_info_codec);
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetRankResult other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Result != 0) {
|
|
Result = other.Result;
|
|
}
|
|
info_.Add(other.info_);
|
|
}
|
|
|
|
[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: {
|
|
result_ = (global::Message.ERROR_CODE) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
info_.AddEntriesFrom(input, _repeated_info_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 新用户推送
|
|
/// </summary>
|
|
public sealed partial class NotifyNewAudience : pb::IMessage<NotifyNewAudience> {
|
|
private static readonly pb::MessageParser<NotifyNewAudience> _parser = new pb::MessageParser<NotifyNewAudience>(() => new NotifyNewAudience());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<NotifyNewAudience> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[10]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public NotifyNewAudience() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public NotifyNewAudience(NotifyNewAudience other) : this() {
|
|
Audience = other.audience_ != null ? other.Audience.Clone() : null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public NotifyNewAudience Clone() {
|
|
return new NotifyNewAudience(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Audience" field.</summary>
|
|
public const int AudienceFieldNumber = 1;
|
|
private global::Message.Audience audience_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Message.Audience Audience {
|
|
get { return audience_; }
|
|
set {
|
|
audience_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NotifyNewAudience);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(NotifyNewAudience other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(Audience, other.Audience)) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (audience_ != null) hash ^= Audience.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 (audience_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Audience);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (audience_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Audience);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(NotifyNewAudience other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.audience_ != null) {
|
|
if (audience_ == null) {
|
|
audience_ = new global::Message.Audience();
|
|
}
|
|
Audience.MergeFrom(other.Audience);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
if (audience_ == null) {
|
|
audience_ = new global::Message.Audience();
|
|
}
|
|
input.ReadMessage(audience_);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户行为推送
|
|
/// </summary>
|
|
public sealed partial class NotifyAudienceAction : pb::IMessage<NotifyAudienceAction> {
|
|
private static readonly pb::MessageParser<NotifyAudienceAction> _parser = new pb::MessageParser<NotifyAudienceAction>(() => new NotifyAudienceAction());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<NotifyAudienceAction> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[11]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public NotifyAudienceAction() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public NotifyAudienceAction(NotifyAudienceAction other) : this() {
|
|
openId_ = other.openId_;
|
|
content_ = other.content_;
|
|
likeNum_ = other.likeNum_;
|
|
giftId_ = other.giftId_;
|
|
giftNum_ = other.giftNum_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public NotifyAudienceAction Clone() {
|
|
return new NotifyAudienceAction(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "OpenId" field.</summary>
|
|
public const int OpenIdFieldNumber = 1;
|
|
private string openId_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string OpenId {
|
|
get { return openId_; }
|
|
set {
|
|
openId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Content" field.</summary>
|
|
public const int ContentFieldNumber = 2;
|
|
private string content_ = "";
|
|
/// <summary>
|
|
/// 评论
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Content {
|
|
get { return content_; }
|
|
set {
|
|
content_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "LikeNum" field.</summary>
|
|
public const int LikeNumFieldNumber = 3;
|
|
private int likeNum_;
|
|
/// <summary>
|
|
/// 点赞数量
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int LikeNum {
|
|
get { return likeNum_; }
|
|
set {
|
|
likeNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "GiftId" field.</summary>
|
|
public const int GiftIdFieldNumber = 4;
|
|
private string giftId_ = "";
|
|
/// <summary>
|
|
/// 礼物ID
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string GiftId {
|
|
get { return giftId_; }
|
|
set {
|
|
giftId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "GiftNum" field.</summary>
|
|
public const int GiftNumFieldNumber = 5;
|
|
private int giftNum_;
|
|
/// <summary>
|
|
/// 礼物数量
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int GiftNum {
|
|
get { return giftNum_; }
|
|
set {
|
|
giftNum_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NotifyAudienceAction);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(NotifyAudienceAction other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (OpenId != other.OpenId) return false;
|
|
if (Content != other.Content) return false;
|
|
if (LikeNum != other.LikeNum) return false;
|
|
if (GiftId != other.GiftId) return false;
|
|
if (GiftNum != other.GiftNum) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (OpenId.Length != 0) hash ^= OpenId.GetHashCode();
|
|
if (Content.Length != 0) hash ^= Content.GetHashCode();
|
|
if (LikeNum != 0) hash ^= LikeNum.GetHashCode();
|
|
if (GiftId.Length != 0) hash ^= GiftId.GetHashCode();
|
|
if (GiftNum != 0) hash ^= GiftNum.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 (OpenId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(OpenId);
|
|
}
|
|
if (Content.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Content);
|
|
}
|
|
if (LikeNum != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(LikeNum);
|
|
}
|
|
if (GiftId.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(GiftId);
|
|
}
|
|
if (GiftNum != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(GiftNum);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (OpenId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenId);
|
|
}
|
|
if (Content.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
|
|
}
|
|
if (LikeNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LikeNum);
|
|
}
|
|
if (GiftId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(GiftId);
|
|
}
|
|
if (GiftNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GiftNum);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(NotifyAudienceAction other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.OpenId.Length != 0) {
|
|
OpenId = other.OpenId;
|
|
}
|
|
if (other.Content.Length != 0) {
|
|
Content = other.Content;
|
|
}
|
|
if (other.LikeNum != 0) {
|
|
LikeNum = other.LikeNum;
|
|
}
|
|
if (other.GiftId.Length != 0) {
|
|
GiftId = other.GiftId;
|
|
}
|
|
if (other.GiftNum != 0) {
|
|
GiftNum = other.GiftNum;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
OpenId = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Content = input.ReadString();
|
|
break;
|
|
}
|
|
case 24: {
|
|
LikeNum = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
GiftId = input.ReadString();
|
|
break;
|
|
}
|
|
case 40: {
|
|
GiftNum = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 分数信息
|
|
/// </summary>
|
|
public sealed partial class ReportInfo : pb::IMessage<ReportInfo> {
|
|
private static readonly pb::MessageParser<ReportInfo> _parser = new pb::MessageParser<ReportInfo>(() => new ReportInfo());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<ReportInfo> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[12]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ReportInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ReportInfo(ReportInfo other) : this() {
|
|
openId_ = other.openId_;
|
|
score_ = other.score_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ReportInfo Clone() {
|
|
return new ReportInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "OpenId" field.</summary>
|
|
public const int OpenIdFieldNumber = 1;
|
|
private string openId_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string OpenId {
|
|
get { return openId_; }
|
|
set {
|
|
openId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Score" field.</summary>
|
|
public const int ScoreFieldNumber = 2;
|
|
private int score_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int Score {
|
|
get { return score_; }
|
|
set {
|
|
score_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ReportInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(ReportInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (OpenId != other.OpenId) return false;
|
|
if (Score != other.Score) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (OpenId.Length != 0) hash ^= OpenId.GetHashCode();
|
|
if (Score != 0) hash ^= Score.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 (OpenId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(OpenId);
|
|
}
|
|
if (Score != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Score);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (OpenId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenId);
|
|
}
|
|
if (Score != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(ReportInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.OpenId.Length != 0) {
|
|
OpenId = other.OpenId;
|
|
}
|
|
if (other.Score != 0) {
|
|
Score = other.Score;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
OpenId = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Score = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 观众信息
|
|
/// </summary>
|
|
public sealed partial class Audience : pb::IMessage<Audience> {
|
|
private static readonly pb::MessageParser<Audience> _parser = new pb::MessageParser<Audience>(() => new Audience());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<Audience> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[13]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Audience() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Audience(Audience other) : this() {
|
|
openId_ = other.openId_;
|
|
nickName_ = other.nickName_;
|
|
avatarUrl_ = other.avatarUrl_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Audience Clone() {
|
|
return new Audience(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "OpenId" field.</summary>
|
|
public const int OpenIdFieldNumber = 1;
|
|
private string openId_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string OpenId {
|
|
get { return openId_; }
|
|
set {
|
|
openId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NickName" field.</summary>
|
|
public const int NickNameFieldNumber = 2;
|
|
private string nickName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string NickName {
|
|
get { return nickName_; }
|
|
set {
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "AvatarUrl" field.</summary>
|
|
public const int AvatarUrlFieldNumber = 3;
|
|
private string avatarUrl_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string AvatarUrl {
|
|
get { return avatarUrl_; }
|
|
set {
|
|
avatarUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Audience);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(Audience other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (OpenId != other.OpenId) return false;
|
|
if (NickName != other.NickName) return false;
|
|
if (AvatarUrl != other.AvatarUrl) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (OpenId.Length != 0) hash ^= OpenId.GetHashCode();
|
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
|
if (AvatarUrl.Length != 0) hash ^= AvatarUrl.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 (OpenId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(OpenId);
|
|
}
|
|
if (NickName.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(NickName);
|
|
}
|
|
if (AvatarUrl.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(AvatarUrl);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (OpenId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenId);
|
|
}
|
|
if (NickName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
|
}
|
|
if (AvatarUrl.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AvatarUrl);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(Audience other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.OpenId.Length != 0) {
|
|
OpenId = other.OpenId;
|
|
}
|
|
if (other.NickName.Length != 0) {
|
|
NickName = other.NickName;
|
|
}
|
|
if (other.AvatarUrl.Length != 0) {
|
|
AvatarUrl = other.AvatarUrl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
OpenId = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
NickName = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
AvatarUrl = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 排名信息
|
|
/// </summary>
|
|
public sealed partial class RankInfo : pb::IMessage<RankInfo> {
|
|
private static readonly pb::MessageParser<RankInfo> _parser = new pb::MessageParser<RankInfo>(() => new RankInfo());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<RankInfo> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Message.CommonReflection.Descriptor.MessageTypes[14]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RankInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RankInfo(RankInfo other) : this() {
|
|
Audience = other.audience_ != null ? other.Audience.Clone() : null;
|
|
rank_ = other.rank_;
|
|
score_ = other.score_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RankInfo Clone() {
|
|
return new RankInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Audience" field.</summary>
|
|
public const int AudienceFieldNumber = 1;
|
|
private global::Message.Audience audience_;
|
|
/// <summary>
|
|
/// 观众信息
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Message.Audience Audience {
|
|
get { return audience_; }
|
|
set {
|
|
audience_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Rank" field.</summary>
|
|
public const int RankFieldNumber = 2;
|
|
private int rank_;
|
|
/// <summary>
|
|
/// 排名
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int Rank {
|
|
get { return rank_; }
|
|
set {
|
|
rank_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Score" field.</summary>
|
|
public const int ScoreFieldNumber = 3;
|
|
private int score_;
|
|
/// <summary>
|
|
/// 用户分数
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int Score {
|
|
get { return score_; }
|
|
set {
|
|
score_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RankInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(RankInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(Audience, other.Audience)) return false;
|
|
if (Rank != other.Rank) return false;
|
|
if (Score != other.Score) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (audience_ != null) hash ^= Audience.GetHashCode();
|
|
if (Rank != 0) hash ^= Rank.GetHashCode();
|
|
if (Score != 0) hash ^= Score.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 (audience_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Audience);
|
|
}
|
|
if (Rank != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Rank);
|
|
}
|
|
if (Score != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Score);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (audience_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Audience);
|
|
}
|
|
if (Rank != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rank);
|
|
}
|
|
if (Score != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(RankInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.audience_ != null) {
|
|
if (audience_ == null) {
|
|
audience_ = new global::Message.Audience();
|
|
}
|
|
Audience.MergeFrom(other.Audience);
|
|
}
|
|
if (other.Rank != 0) {
|
|
Rank = other.Rank;
|
|
}
|
|
if (other.Score != 0) {
|
|
Score = other.Score;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
if (audience_ == null) {
|
|
audience_ = new global::Message.Audience();
|
|
}
|
|
input.ReadMessage(audience_);
|
|
break;
|
|
}
|
|
case 16: {
|
|
Rank = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Score = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|