mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 08:25:32 +01:00
serverlist handler + basic crypto, rename project
This commit is contained in:
532
Novaria.Common/Protos/CharacterVoiceControl.cs
Normal file
532
Novaria.Common/Protos/CharacterVoiceControl.cs
Normal file
@@ -0,0 +1,532 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: CharacterVoiceControl.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 CharacterVoiceControl.proto</summary>
|
||||
public static partial class CharacterVoiceControlReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for CharacterVoiceControl.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CharacterVoiceControlReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChtDaGFyYWN0ZXJWb2ljZUNvbnRyb2wucHJvdG8iuwEKFUNoYXJhY3RlclZv",
|
||||
"aWNlQ29udHJvbBIKCgJpZBgBIAEoCRITCgtwcm9iYWJpbGl0eRgCIAEoBRIQ",
|
||||
"CghyZXNfdHlwZRgDIAEoBRITCgtjb21iYXRfb25seRgEIAEoCBIZChF3b3Js",
|
||||
"ZF9sZXZlbF90eXBlcxgFIAMoBRIOCgZidWJibGUYBiABKAgSCgoCY2QYByAB",
|
||||
"KAISEQoJdm9fcGxheWVyGAggASgFEhAKCHByaW9yaXR5GAkgASgFQg6qAgtO",
|
||||
"b3ZhLkNsaWVudGIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterVoiceControl), global::Nova.Client.CharacterVoiceControl.Parser, new[]{ "Id", "Probability", "ResType", "CombatOnly", "WorldLevelTypes", "Bubble", "Cd", "VoPlayer", "Priority" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CharacterVoiceControl : pb::IMessage<CharacterVoiceControl>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CharacterVoiceControl> _parser = new pb::MessageParser<CharacterVoiceControl>(() => new CharacterVoiceControl());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CharacterVoiceControl> 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.CharacterVoiceControlReflection.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 CharacterVoiceControl() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CharacterVoiceControl(CharacterVoiceControl other) : this() {
|
||||
id_ = other.id_;
|
||||
probability_ = other.probability_;
|
||||
resType_ = other.resType_;
|
||||
combatOnly_ = other.combatOnly_;
|
||||
worldLevelTypes_ = other.worldLevelTypes_.Clone();
|
||||
bubble_ = other.bubble_;
|
||||
cd_ = other.cd_;
|
||||
voPlayer_ = other.voPlayer_;
|
||||
priority_ = other.priority_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CharacterVoiceControl Clone() {
|
||||
return new CharacterVoiceControl(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "id" field.</summary>
|
||||
public const int IdFieldNumber = 1;
|
||||
private string id_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Id {
|
||||
get { return id_; }
|
||||
set {
|
||||
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "probability" field.</summary>
|
||||
public const int ProbabilityFieldNumber = 2;
|
||||
private int probability_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Probability {
|
||||
get { return probability_; }
|
||||
set {
|
||||
probability_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "res_type" field.</summary>
|
||||
public const int ResTypeFieldNumber = 3;
|
||||
private int resType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ResType {
|
||||
get { return resType_; }
|
||||
set {
|
||||
resType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "combat_only" field.</summary>
|
||||
public const int CombatOnlyFieldNumber = 4;
|
||||
private bool combatOnly_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool CombatOnly {
|
||||
get { return combatOnly_; }
|
||||
set {
|
||||
combatOnly_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "world_level_types" field.</summary>
|
||||
public const int WorldLevelTypesFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<int> _repeated_worldLevelTypes_codec
|
||||
= pb::FieldCodec.ForInt32(42);
|
||||
private readonly pbc::RepeatedField<int> worldLevelTypes_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> WorldLevelTypes {
|
||||
get { return worldLevelTypes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "bubble" field.</summary>
|
||||
public const int BubbleFieldNumber = 6;
|
||||
private bool bubble_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Bubble {
|
||||
get { return bubble_; }
|
||||
set {
|
||||
bubble_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "cd" field.</summary>
|
||||
public const int CdFieldNumber = 7;
|
||||
private float cd_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float Cd {
|
||||
get { return cd_; }
|
||||
set {
|
||||
cd_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "vo_player" field.</summary>
|
||||
public const int VoPlayerFieldNumber = 8;
|
||||
private int voPlayer_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int VoPlayer {
|
||||
get { return voPlayer_; }
|
||||
set {
|
||||
voPlayer_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "priority" field.</summary>
|
||||
public const int PriorityFieldNumber = 9;
|
||||
private int priority_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Priority {
|
||||
get { return priority_; }
|
||||
set {
|
||||
priority_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CharacterVoiceControl);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CharacterVoiceControl other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Probability != other.Probability) return false;
|
||||
if (ResType != other.ResType) return false;
|
||||
if (CombatOnly != other.CombatOnly) return false;
|
||||
if(!worldLevelTypes_.Equals(other.worldLevelTypes_)) return false;
|
||||
if (Bubble != other.Bubble) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Cd, other.Cd)) return false;
|
||||
if (VoPlayer != other.VoPlayer) return false;
|
||||
if (Priority != other.Priority) 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.Length != 0) hash ^= Id.GetHashCode();
|
||||
if (Probability != 0) hash ^= Probability.GetHashCode();
|
||||
if (ResType != 0) hash ^= ResType.GetHashCode();
|
||||
if (CombatOnly != false) hash ^= CombatOnly.GetHashCode();
|
||||
hash ^= worldLevelTypes_.GetHashCode();
|
||||
if (Bubble != false) hash ^= Bubble.GetHashCode();
|
||||
if (Cd != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Cd);
|
||||
if (VoPlayer != 0) hash ^= VoPlayer.GetHashCode();
|
||||
if (Priority != 0) hash ^= Priority.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.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Id);
|
||||
}
|
||||
if (Probability != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Probability);
|
||||
}
|
||||
if (ResType != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(ResType);
|
||||
}
|
||||
if (CombatOnly != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(CombatOnly);
|
||||
}
|
||||
worldLevelTypes_.WriteTo(output, _repeated_worldLevelTypes_codec);
|
||||
if (Bubble != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(Bubble);
|
||||
}
|
||||
if (Cd != 0F) {
|
||||
output.WriteRawTag(61);
|
||||
output.WriteFloat(Cd);
|
||||
}
|
||||
if (VoPlayer != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(VoPlayer);
|
||||
}
|
||||
if (Priority != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(Priority);
|
||||
}
|
||||
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.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Id);
|
||||
}
|
||||
if (Probability != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt32(Probability);
|
||||
}
|
||||
if (ResType != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(ResType);
|
||||
}
|
||||
if (CombatOnly != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(CombatOnly);
|
||||
}
|
||||
worldLevelTypes_.WriteTo(ref output, _repeated_worldLevelTypes_codec);
|
||||
if (Bubble != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(Bubble);
|
||||
}
|
||||
if (Cd != 0F) {
|
||||
output.WriteRawTag(61);
|
||||
output.WriteFloat(Cd);
|
||||
}
|
||||
if (VoPlayer != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(VoPlayer);
|
||||
}
|
||||
if (Priority != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(Priority);
|
||||
}
|
||||
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.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
|
||||
}
|
||||
if (Probability != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Probability);
|
||||
}
|
||||
if (ResType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResType);
|
||||
}
|
||||
if (CombatOnly != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
size += worldLevelTypes_.CalculateSize(_repeated_worldLevelTypes_codec);
|
||||
if (Bubble != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (Cd != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (VoPlayer != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(VoPlayer);
|
||||
}
|
||||
if (Priority != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CharacterVoiceControl other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id.Length != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Probability != 0) {
|
||||
Probability = other.Probability;
|
||||
}
|
||||
if (other.ResType != 0) {
|
||||
ResType = other.ResType;
|
||||
}
|
||||
if (other.CombatOnly != false) {
|
||||
CombatOnly = other.CombatOnly;
|
||||
}
|
||||
worldLevelTypes_.Add(other.worldLevelTypes_);
|
||||
if (other.Bubble != false) {
|
||||
Bubble = other.Bubble;
|
||||
}
|
||||
if (other.Cd != 0F) {
|
||||
Cd = other.Cd;
|
||||
}
|
||||
if (other.VoPlayer != 0) {
|
||||
VoPlayer = other.VoPlayer;
|
||||
}
|
||||
if (other.Priority != 0) {
|
||||
Priority = other.Priority;
|
||||
}
|
||||
_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 10: {
|
||||
Id = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Probability = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
ResType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
CombatOnly = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
worldLevelTypes_.AddEntriesFrom(input, _repeated_worldLevelTypes_codec);
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Bubble = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 61: {
|
||||
Cd = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
VoPlayer = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
Priority = 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 10: {
|
||||
Id = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Probability = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
ResType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
CombatOnly = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
worldLevelTypes_.AddEntriesFrom(ref input, _repeated_worldLevelTypes_codec);
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Bubble = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 61: {
|
||||
Cd = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
VoPlayer = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
Priority = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user