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:
466
Novaria.Common/Protos/MallShopPage.cs
Normal file
466
Novaria.Common/Protos/MallShopPage.cs
Normal file
@@ -0,0 +1,466 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: MallShopPage.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 MallShopPage.proto</summary>
|
||||
public static partial class MallShopPageReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for MallShopPage.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static MallShopPageReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChJNYWxsU2hvcFBhZ2UucHJvdG8ijQEKDE1hbGxTaG9wUGFnZRIKCgJpZBgB",
|
||||
"IAEoBRIMCgRzb3J0GAIgASgFEgwKBG5hbWUYAyABKAkSGQoRcmVmcmVzaF90",
|
||||
"aW1lX3R5cGUYBCABKAUSEQoJc2hvcF9jb2luGAUgASgFEhEKCWxpc3RfdGlt",
|
||||
"ZRgGIAEoCRIUCgxkZV9saXN0X3RpbWUYByABKAlCDqoCC05vdmEuQ2xpZW50",
|
||||
"YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallShopPage), global::Nova.Client.MallShopPage.Parser, new[]{ "Id", "Sort", "Name", "RefreshTimeType", "ShopCoin", "ListTime", "DeListTime" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class MallShopPage : pb::IMessage<MallShopPage>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<MallShopPage> _parser = new pb::MessageParser<MallShopPage>(() => new MallShopPage());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<MallShopPage> 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.MallShopPageReflection.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 MallShopPage() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MallShopPage(MallShopPage other) : this() {
|
||||
id_ = other.id_;
|
||||
sort_ = other.sort_;
|
||||
name_ = other.name_;
|
||||
refreshTimeType_ = other.refreshTimeType_;
|
||||
shopCoin_ = other.shopCoin_;
|
||||
listTime_ = other.listTime_;
|
||||
deListTime_ = other.deListTime_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MallShopPage Clone() {
|
||||
return new MallShopPage(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 "sort" field.</summary>
|
||||
public const int SortFieldNumber = 2;
|
||||
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 "name" field.</summary>
|
||||
public const int NameFieldNumber = 3;
|
||||
private string name_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Name {
|
||||
get { return name_; }
|
||||
set {
|
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "refresh_time_type" field.</summary>
|
||||
public const int RefreshTimeTypeFieldNumber = 4;
|
||||
private int refreshTimeType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RefreshTimeType {
|
||||
get { return refreshTimeType_; }
|
||||
set {
|
||||
refreshTimeType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "shop_coin" field.</summary>
|
||||
public const int ShopCoinFieldNumber = 5;
|
||||
private int shopCoin_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ShopCoin {
|
||||
get { return shopCoin_; }
|
||||
set {
|
||||
shopCoin_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_time" field.</summary>
|
||||
public const int ListTimeFieldNumber = 6;
|
||||
private string listTime_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ListTime {
|
||||
get { return listTime_; }
|
||||
set {
|
||||
listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "de_list_time" field.</summary>
|
||||
public const int DeListTimeFieldNumber = 7;
|
||||
private string deListTime_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string DeListTime {
|
||||
get { return deListTime_; }
|
||||
set {
|
||||
deListTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as MallShopPage);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(MallShopPage other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Sort != other.Sort) return false;
|
||||
if (Name != other.Name) return false;
|
||||
if (RefreshTimeType != other.RefreshTimeType) return false;
|
||||
if (ShopCoin != other.ShopCoin) return false;
|
||||
if (ListTime != other.ListTime) return false;
|
||||
if (DeListTime != other.DeListTime) 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 (Sort != 0) hash ^= Sort.GetHashCode();
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (RefreshTimeType != 0) hash ^= RefreshTimeType.GetHashCode();
|
||||
if (ShopCoin != 0) hash ^= ShopCoin.GetHashCode();
|
||||
if (ListTime.Length != 0) hash ^= ListTime.GetHashCode();
|
||||
if (DeListTime.Length != 0) hash ^= DeListTime.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 (Sort != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Sort);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (RefreshTimeType != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(RefreshTimeType);
|
||||
}
|
||||
if (ShopCoin != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(ShopCoin);
|
||||
}
|
||||
if (ListTime.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(ListTime);
|
||||
}
|
||||
if (DeListTime.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(DeListTime);
|
||||
}
|
||||
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 (Sort != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Sort);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (RefreshTimeType != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(RefreshTimeType);
|
||||
}
|
||||
if (ShopCoin != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(ShopCoin);
|
||||
}
|
||||
if (ListTime.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(ListTime);
|
||||
}
|
||||
if (DeListTime.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(DeListTime);
|
||||
}
|
||||
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 (Sort != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (RefreshTimeType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshTimeType);
|
||||
}
|
||||
if (ShopCoin != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShopCoin);
|
||||
}
|
||||
if (ListTime.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(ListTime);
|
||||
}
|
||||
if (DeListTime.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(DeListTime);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(MallShopPage other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Sort != 0) {
|
||||
Sort = other.Sort;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.RefreshTimeType != 0) {
|
||||
RefreshTimeType = other.RefreshTimeType;
|
||||
}
|
||||
if (other.ShopCoin != 0) {
|
||||
ShopCoin = other.ShopCoin;
|
||||
}
|
||||
if (other.ListTime.Length != 0) {
|
||||
ListTime = other.ListTime;
|
||||
}
|
||||
if (other.DeListTime.Length != 0) {
|
||||
DeListTime = other.DeListTime;
|
||||
}
|
||||
_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: {
|
||||
Sort = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
RefreshTimeType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ShopCoin = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
ListTime = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
DeListTime = input.ReadString();
|
||||
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: {
|
||||
Sort = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
RefreshTimeType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
ShopCoin = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
ListTime = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
DeListTime = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user