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:
503
Novaria.Common/Protos/StarTowerBookPotentialReward.cs
Normal file
503
Novaria.Common/Protos/StarTowerBookPotentialReward.cs
Normal file
@@ -0,0 +1,503 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: StarTowerBookPotentialReward.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 StarTowerBookPotentialReward.proto</summary>
|
||||
public static partial class StarTowerBookPotentialRewardReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for StarTowerBookPotentialReward.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static StarTowerBookPotentialRewardReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiJTdGFyVG93ZXJCb29rUG90ZW50aWFsUmV3YXJkLnByb3RvIpgBChxTdGFy",
|
||||
"VG93ZXJCb29rUG90ZW50aWFsUmV3YXJkEgoKAmlkGAEgASgFEg8KB2NoYXJf",
|
||||
"aWQYAiABKAUSDAoEZGVzYxgDIAEoCRIMCgRzb3J0GAQgASgFEgwKBGNvbmQY",
|
||||
"BSABKAUSDgoGcGFyYW1zGAYgASgJEg8KB2l0ZW1faWQYByABKAUSEAoIaXRl",
|
||||
"bV9xdHkYCCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookPotentialReward), global::Nova.Client.StarTowerBookPotentialReward.Parser, new[]{ "Id", "CharId", "Desc", "Sort", "Cond", "Params", "ItemId", "ItemQty" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class StarTowerBookPotentialReward : pb::IMessage<StarTowerBookPotentialReward>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<StarTowerBookPotentialReward> _parser = new pb::MessageParser<StarTowerBookPotentialReward>(() => new StarTowerBookPotentialReward());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<StarTowerBookPotentialReward> 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.StarTowerBookPotentialRewardReflection.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 StarTowerBookPotentialReward() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StarTowerBookPotentialReward(StarTowerBookPotentialReward other) : this() {
|
||||
id_ = other.id_;
|
||||
charId_ = other.charId_;
|
||||
desc_ = other.desc_;
|
||||
sort_ = other.sort_;
|
||||
cond_ = other.cond_;
|
||||
params_ = other.params_;
|
||||
itemId_ = other.itemId_;
|
||||
itemQty_ = other.itemQty_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StarTowerBookPotentialReward Clone() {
|
||||
return new StarTowerBookPotentialReward(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 "char_id" field.</summary>
|
||||
public const int CharIdFieldNumber = 2;
|
||||
private int charId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CharId {
|
||||
get { return charId_; }
|
||||
set {
|
||||
charId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "desc" field.</summary>
|
||||
public const int DescFieldNumber = 3;
|
||||
private string desc_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Desc {
|
||||
get { return desc_; }
|
||||
set {
|
||||
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "sort" field.</summary>
|
||||
public const int SortFieldNumber = 4;
|
||||
private int sort_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Sort {
|
||||
get { return sort_; }
|
||||
set {
|
||||
sort_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "cond" field.</summary>
|
||||
public const int CondFieldNumber = 5;
|
||||
private int cond_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Cond {
|
||||
get { return cond_; }
|
||||
set {
|
||||
cond_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "params" field.</summary>
|
||||
public const int ParamsFieldNumber = 6;
|
||||
private string params_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Params {
|
||||
get { return params_; }
|
||||
set {
|
||||
params_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_id" field.</summary>
|
||||
public const int ItemIdFieldNumber = 7;
|
||||
private int itemId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemId {
|
||||
get { return itemId_; }
|
||||
set {
|
||||
itemId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_qty" field.</summary>
|
||||
public const int ItemQtyFieldNumber = 8;
|
||||
private int itemQty_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemQty {
|
||||
get { return itemQty_; }
|
||||
set {
|
||||
itemQty_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as StarTowerBookPotentialReward);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(StarTowerBookPotentialReward other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (CharId != other.CharId) return false;
|
||||
if (Desc != other.Desc) return false;
|
||||
if (Sort != other.Sort) return false;
|
||||
if (Cond != other.Cond) return false;
|
||||
if (Params != other.Params) return false;
|
||||
if (ItemId != other.ItemId) return false;
|
||||
if (ItemQty != other.ItemQty) 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 (CharId != 0) hash ^= CharId.GetHashCode();
|
||||
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
||||
if (Sort != 0) hash ^= Sort.GetHashCode();
|
||||
if (Cond != 0) hash ^= Cond.GetHashCode();
|
||||
if (Params.Length != 0) hash ^= Params.GetHashCode();
|
||||
if (ItemId != 0) hash ^= ItemId.GetHashCode();
|
||||
if (ItemQty != 0) hash ^= ItemQty.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 (CharId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(CharId);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (Sort != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Sort);
|
||||
}
|
||||
if (Cond != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(Cond);
|
||||
}
|
||||
if (Params.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(Params);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ItemId);
|
||||
}
|
||||
if (ItemQty != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(ItemQty);
|
||||
}
|
||||
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 (CharId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(CharId);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (Sort != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(Sort);
|
||||
}
|
||||
if (Cond != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(Cond);
|
||||
}
|
||||
if (Params.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(Params);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ItemId);
|
||||
}
|
||||
if (ItemQty != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(ItemQty);
|
||||
}
|
||||
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 (CharId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
||||
}
|
||||
if (Sort != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort);
|
||||
}
|
||||
if (Cond != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond);
|
||||
}
|
||||
if (Params.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Params);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId);
|
||||
}
|
||||
if (ItemQty != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(StarTowerBookPotentialReward other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.CharId != 0) {
|
||||
CharId = other.CharId;
|
||||
}
|
||||
if (other.Desc.Length != 0) {
|
||||
Desc = other.Desc;
|
||||
}
|
||||
if (other.Sort != 0) {
|
||||
Sort = other.Sort;
|
||||
}
|
||||
if (other.Cond != 0) {
|
||||
Cond = other.Cond;
|
||||
}
|
||||
if (other.Params.Length != 0) {
|
||||
Params = other.Params;
|
||||
}
|
||||
if (other.ItemId != 0) {
|
||||
ItemId = other.ItemId;
|
||||
}
|
||||
if (other.ItemQty != 0) {
|
||||
ItemQty = other.ItemQty;
|
||||
}
|
||||
_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: {
|
||||
CharId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Sort = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
Cond = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
Params = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ItemId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
ItemQty = 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: {
|
||||
CharId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Sort = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
Cond = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
Params = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ItemId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
ItemQty = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user