mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 16:34:44 +01:00
serverlist handler + basic crypto, rename project
This commit is contained in:
429
Novaria.Common/Protos/VampireRankReward.cs
Normal file
429
Novaria.Common/Protos/VampireRankReward.cs
Normal file
@@ -0,0 +1,429 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: VampireRankReward.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021, 8981
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Nova.Client {
|
||||
|
||||
/// <summary>Holder for reflection information generated from VampireRankReward.proto</summary>
|
||||
public static partial class VampireRankRewardReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for VampireRankReward.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static VampireRankRewardReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChdWYW1waXJlUmFua1Jld2FyZC5wcm90byKXAQoRVmFtcGlyZVJhbmtSZXdh",
|
||||
"cmQSCgoCaWQYASABKAUSEgoKcmFua19sb3dlchgCIAEoBRIXCg9hd2FyZF9p",
|
||||
"dGVtX3RpZDEYAyABKAUSFwoPYXdhcmRfaXRlbV9udW0xGAQgASgFEhcKD2F3",
|
||||
"YXJkX2l0ZW1fdGlkMhgFIAEoBRIXCg9hd2FyZF9pdGVtX251bTIYBiABKAVC",
|
||||
"DqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireRankReward), global::Nova.Client.VampireRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class VampireRankReward : pb::IMessage<VampireRankReward>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<VampireRankReward> _parser = new pb::MessageParser<VampireRankReward>(() => new VampireRankReward());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<VampireRankReward> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Nova.Client.VampireRankRewardReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public VampireRankReward() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public VampireRankReward(VampireRankReward other) : this() {
|
||||
id_ = other.id_;
|
||||
rankLower_ = other.rankLower_;
|
||||
awardItemTid1_ = other.awardItemTid1_;
|
||||
awardItemNum1_ = other.awardItemNum1_;
|
||||
awardItemTid2_ = other.awardItemTid2_;
|
||||
awardItemNum2_ = other.awardItemNum2_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public VampireRankReward Clone() {
|
||||
return new VampireRankReward(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "id" field.</summary>
|
||||
public const int IdFieldNumber = 1;
|
||||
private int id_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Id {
|
||||
get { return id_; }
|
||||
set {
|
||||
id_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rank_lower" field.</summary>
|
||||
public const int RankLowerFieldNumber = 2;
|
||||
private int rankLower_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RankLower {
|
||||
get { return rankLower_; }
|
||||
set {
|
||||
rankLower_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_tid1" field.</summary>
|
||||
public const int AwardItemTid1FieldNumber = 3;
|
||||
private int awardItemTid1_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemTid1 {
|
||||
get { return awardItemTid1_; }
|
||||
set {
|
||||
awardItemTid1_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_num1" field.</summary>
|
||||
public const int AwardItemNum1FieldNumber = 4;
|
||||
private int awardItemNum1_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemNum1 {
|
||||
get { return awardItemNum1_; }
|
||||
set {
|
||||
awardItemNum1_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_tid2" field.</summary>
|
||||
public const int AwardItemTid2FieldNumber = 5;
|
||||
private int awardItemTid2_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemTid2 {
|
||||
get { return awardItemTid2_; }
|
||||
set {
|
||||
awardItemTid2_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_num2" field.</summary>
|
||||
public const int AwardItemNum2FieldNumber = 6;
|
||||
private int awardItemNum2_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemNum2 {
|
||||
get { return awardItemNum2_; }
|
||||
set {
|
||||
awardItemNum2_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as VampireRankReward);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(VampireRankReward other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (RankLower != other.RankLower) return false;
|
||||
if (AwardItemTid1 != other.AwardItemTid1) return false;
|
||||
if (AwardItemNum1 != other.AwardItemNum1) return false;
|
||||
if (AwardItemTid2 != other.AwardItemTid2) return false;
|
||||
if (AwardItemNum2 != other.AwardItemNum2) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Id != 0) hash ^= Id.GetHashCode();
|
||||
if (RankLower != 0) hash ^= RankLower.GetHashCode();
|
||||
if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode();
|
||||
if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode();
|
||||
if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode();
|
||||
if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Id != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Id);
|
||||
}
|
||||
if (RankLower != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(RankLower);
|
||||
}
|
||||
if (AwardItemTid1 != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(AwardItemTid1);
|
||||
}
|
||||
if (AwardItemNum1 != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(AwardItemNum1);
|
||||
}
|
||||
if (AwardItemTid2 != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(AwardItemTid2);
|
||||
}
|
||||
if (AwardItemNum2 != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(AwardItemNum2);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Id != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Id);
|
||||
}
|
||||
if (RankLower != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(RankLower);
|
||||
}
|
||||
if (AwardItemTid1 != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(AwardItemTid1);
|
||||
}
|
||||
if (AwardItemNum1 != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(AwardItemNum1);
|
||||
}
|
||||
if (AwardItemTid2 != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(AwardItemTid2);
|
||||
}
|
||||
if (AwardItemNum2 != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(AwardItemNum2);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Id != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
||||
}
|
||||
if (RankLower != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower);
|
||||
}
|
||||
if (AwardItemTid1 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1);
|
||||
}
|
||||
if (AwardItemNum1 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1);
|
||||
}
|
||||
if (AwardItemTid2 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2);
|
||||
}
|
||||
if (AwardItemNum2 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(VampireRankReward other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.RankLower != 0) {
|
||||
RankLower = other.RankLower;
|
||||
}
|
||||
if (other.AwardItemTid1 != 0) {
|
||||
AwardItemTid1 = other.AwardItemTid1;
|
||||
}
|
||||
if (other.AwardItemNum1 != 0) {
|
||||
AwardItemNum1 = other.AwardItemNum1;
|
||||
}
|
||||
if (other.AwardItemTid2 != 0) {
|
||||
AwardItemTid2 = other.AwardItemTid2;
|
||||
}
|
||||
if (other.AwardItemNum2 != 0) {
|
||||
AwardItemNum2 = other.AwardItemNum2;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
RankLower = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
AwardItemTid1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
AwardItemNum1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
AwardItemTid2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
AwardItemNum2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
RankLower = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
AwardItemTid1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
AwardItemNum1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
AwardItemTid2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
AwardItemNum2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user