// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.Enum
#include "System/Enum.hpp"
// Completed includes
// Type namespace: LiteNetLib
namespace LiteNetLib {
  // Size: 0x4
  #pragma pack(push, 1)
  // Autogenerated type: LiteNetLib.DisconnectResult
  struct DisconnectResult/*, public System::Enum*/ {
    public:
    // public System.Int32 value__
    // Size: 0x4
    // Offset: 0x0
    int value;
    // Field size check
    static_assert(sizeof(int) == 0x4);
    // Creating value type constructor for type: DisconnectResult
    constexpr DisconnectResult(int value_ = {}) noexcept : value{value_} {}
    // Creating interface conversion operator: operator System::Enum
    operator System::Enum() noexcept {
      return *reinterpret_cast<System::Enum*>(this);
    }
    // Creating conversion operator: operator int
    constexpr operator int() const noexcept {
      return value;
    }
    // static field const value: static public LiteNetLib.DisconnectResult None
    static constexpr const int None = 0;
    // Get static field: static public LiteNetLib.DisconnectResult None
    static LiteNetLib::DisconnectResult _get_None();
    // Set static field: static public LiteNetLib.DisconnectResult None
    static void _set_None(LiteNetLib::DisconnectResult value);
    // static field const value: static public LiteNetLib.DisconnectResult Reject
    static constexpr const int Reject = 1;
    // Get static field: static public LiteNetLib.DisconnectResult Reject
    static LiteNetLib::DisconnectResult _get_Reject();
    // Set static field: static public LiteNetLib.DisconnectResult Reject
    static void _set_Reject(LiteNetLib::DisconnectResult value);
    // static field const value: static public LiteNetLib.DisconnectResult Disconnect
    static constexpr const int Disconnect = 2;
    // Get static field: static public LiteNetLib.DisconnectResult Disconnect
    static LiteNetLib::DisconnectResult _get_Disconnect();
    // Set static field: static public LiteNetLib.DisconnectResult Disconnect
    static void _set_Disconnect(LiteNetLib::DisconnectResult value);
  }; // LiteNetLib.DisconnectResult
  #pragma pack(pop)
  static check_size<sizeof(DisconnectResult), 0 + sizeof(int)> __LiteNetLib_DisconnectResultSizeCheck;
  static_assert(sizeof(DisconnectResult) == 0x4);
}
#include "extern/beatsaber-hook/shared/utils/il2cpp-type-check.hpp"
DEFINE_IL2CPP_ARG_TYPE(LiteNetLib::DisconnectResult, "LiteNetLib", "DisconnectResult");
