_xiaofang/xiaofang/Assets/ProtoBuf/Proto/Config.cs

84 lines
2.4 KiB
C#
Raw Normal View History

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config.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;
/// <summary>Holder for reflection information generated from config.proto</summary>
public static partial class ConfigReflection {
#region Descriptor
/// <summary>File descriptor for config.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ConfigReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cgxjb25maWcucHJvdG8qnQEKCkVSUk9SX0NPREUSCgoGRVJSX09rEAASEAoM",
"RVJSX05vUGxheWVyEAESDgoKRVJSX05vUm9vbRACEg0KCUVSUl9Ub2tlbhAE",
"Eg0KCUVSUl9Mb2dpbhAFEg4KCkVSUl9BY3Rpb24QBhIOCgpFUlJfUGFyYW1z",
"EAcSDgoKRVJSX1NlcnZlchAIEhMKD0VSUl9Ob0F1dGhvcml0eRAJQgdaBS4v",
"O3BiYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ERROR_CODE), }, null, null));
}
#endregion
}
#region Enums
/// <summary>
///错误码
/// </summary>
public enum ERROR_CODE {
/// <summary>
///OK
/// </summary>
[pbr::OriginalName("ERR_Ok")] ErrOk = 0,
/// <summary>
///没有这个玩家
/// </summary>
[pbr::OriginalName("ERR_NoPlayer")] ErrNoPlayer = 1,
/// <summary>
///加入房间失败
/// </summary>
[pbr::OriginalName("ERR_NoRoom")] ErrNoRoom = 2,
/// <summary>
///Token验证失败
/// </summary>
[pbr::OriginalName("ERR_Token")] ErrToken = 4,
/// <summary>
///登录失败
/// </summary>
[pbr::OriginalName("ERR_Login")] ErrLogin = 5,
/// <summary>
///操作失败
/// </summary>
[pbr::OriginalName("ERR_Action")] ErrAction = 6,
/// <summary>
///参数错误
/// </summary>
[pbr::OriginalName("ERR_Params")] ErrParams = 7,
/// <summary>
///服务器内部错误
/// </summary>
[pbr::OriginalName("ERR_Server")] ErrServer = 8,
/// <summary>
///没有权限
/// </summary>
[pbr::OriginalName("ERR_NoAuthority")] ErrNoAuthority = 9,
}
#endregion
#endregion Designer generated code