text: // Autogenerated from CppHeaderCreator
  // Created by Sc2ad
  // =========================================================================
  #pragma once
  // Begin includes
  #include "extern/beatsaber-hook/shared/utils/typedefs.h"
  #include "extern/beatsaber-hook/shared/utils/byref.hpp"
  // Including type: BaseMasterServerReliableResponse
  #include "GlobalNamespace/BaseMasterServerReliableResponse.hpp"
  // Including type: MasterServer.IHandshakeClientToServerMessage
  #include "MasterServer/IHandshakeClientToServerMessage.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-properties.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-fields.hpp"
  #include "extern/beatsaber-hook/shared/utils/utils.h"
  // Completed includes
  // Begin forward declares
  // Forward declaring namespace: GlobalNamespace
  namespace GlobalNamespace {
    // Forward declaring type: ByteArrayNetSerializable
    class ByteArrayNetSerializable;
    // Forward declaring type: PacketPool`1<T>
    template<typename T>
    class PacketPool_1;
  }
  // Forward declaring namespace: LiteNetLib::Utils
  namespace LiteNetLib::Utils {
    // Forward declaring type: NetDataWriter
    class NetDataWriter;
    // Forward declaring type: NetDataReader
    class NetDataReader;
  }
  // Completed forward declares
  // Type namespace: MasterServer
  namespace MasterServer {
    // Size: 0x20
    #pragma pack(push, 1)
    // Autogenerated type: MasterServer.ClientKeyExchangeRequest
    // [TokenAttribute] Offset: FFFFFFFF
    class ClientKeyExchangeRequest : public GlobalNamespace::BaseMasterServerReliableResponse/*, public MasterServer::IHandshakeClientToServerMessage*/ {
      public:
      // public readonly ByteArrayNetSerializable clientPublicKey
      // Size: 0x8
      // Offset: 0x18
      GlobalNamespace::ByteArrayNetSerializable* clientPublicKey;
      // Field size check
      static_assert(sizeof(GlobalNamespace::ByteArrayNetSerializable*) == 0x8);
      // Creating value type constructor for type: ClientKeyExchangeRequest
      ClientKeyExchangeRequest(GlobalNamespace::ByteArrayNetSerializable* clientPublicKey_ = {}) noexcept : clientPublicKey{clientPublicKey_} {}
      // Creating interface conversion operator: operator MasterServer::IHandshakeClientToServerMessage
      operator MasterServer::IHandshakeClientToServerMessage() noexcept {
        return *reinterpret_cast<MasterServer::IHandshakeClientToServerMessage*>(this);
      }
      // Creating conversion operator: operator GlobalNamespace::ByteArrayNetSerializable*
      constexpr operator GlobalNamespace::ByteArrayNetSerializable*() const noexcept {
        return clientPublicKey;
      }
      // Get instance field reference: public readonly ByteArrayNetSerializable clientPublicKey
      GlobalNamespace::ByteArrayNetSerializable*& dyn_clientPublicKey();
      // static public PacketPool`1<MasterServer.ClientKeyExchangeRequest> get_pool()
      // Offset: 0x1218E9C
      static GlobalNamespace::PacketPool_1<MasterServer::ClientKeyExchangeRequest*>* get_pool();
      // public MasterServer.ClientKeyExchangeRequest Init(System.Byte[] clientPublicKey)
      // Offset: 0x1218EE4
      MasterServer::ClientKeyExchangeRequest* Init(::Array<uint8_t>* clientPublicKey);
      // public System.Void .ctor()
      // Offset: 0x121AE4C
      // Implemented from: BaseMasterServerReliableResponse
      // Base method: System.Void BaseMasterServerReliableResponse::.ctor()
      // Base method: System.Void Object::.ctor()
      template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
      static ClientKeyExchangeRequest* New_ctor() {
        static auto ___internal__logger = ::Logger::get().WithContext("MasterServer::ClientKeyExchangeRequest::.ctor");
        return THROW_UNLESS((::il2cpp_utils::New<ClientKeyExchangeRequest*, creationType>()));
      }
      // public override System.Void Serialize(LiteNetLib.Utils.NetDataWriter writer)
      // Offset: 0x121AD68
      // Implemented from: BaseMasterServerReliableResponse
      // Base method: System.Void BaseMasterServerReliableResponse::Serialize(LiteNetLib.Utils.NetDataWriter writer)
      void Serialize(LiteNetLib::Utils::NetDataWriter* writer);
      // public override System.Void Deserialize(LiteNetLib.Utils.NetDataReader reader)
      // Offset: 0x121ADA4
      // Implemented from: BaseMasterServerReliableResponse
      // Base method: System.Void BaseMasterServerReliableResponse::Deserialize(LiteNetLib.Utils.NetDataReader reader)
      void Deserialize(LiteNetLib::Utils::NetDataReader* reader);
      // public override System.Void Release()
      // Offset: 0x121ADE0
      // Implemented from: BaseMasterServerReliableResponse
      // Base method: System.Void BaseMasterServerReliableResponse::Release()
      void Release();
    }; // MasterServer.ClientKeyExchangeRequest
    #pragma pack(pop)
    static check_size<sizeof(ClientKeyExchangeRequest), 24 + sizeof(GlobalNamespace::ByteArrayNetSerializable*)> __MasterServer_ClientKeyExchangeRequestSizeCheck;
    static_assert(sizeof(ClientKeyExchangeRequest) == 0x20);
  }
  DEFINE_IL2CPP_ARG_TYPE(MasterServer::ClientKeyExchangeRequest*, "MasterServer", "ClientKeyExchangeRequest");
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  // Writing MetadataGetter for method: MasterServer::ClientKeyExchangeRequest::get_pool
  // Il2CppName: get_pool
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<GlobalNamespace::PacketPool_1<MasterServer::ClientKeyExchangeRequest*>* (*)()>(&MasterServer::ClientKeyExchangeRequest::get_pool)> {
    static const MethodInfo* get() {
      return ::il2cpp_utils::FindMethod(classof(MasterServer::ClientKeyExchangeRequest*), "get_pool", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
    }
  };
  // Writing MetadataGetter for method: MasterServer::ClientKeyExchangeRequest::Init
  // Il2CppName: Init
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<MasterServer::ClientKeyExchangeRequest* (MasterServer::ClientKeyExchangeRequest::*)(::Array<uint8_t>*)>(&MasterServer::ClientKeyExchangeRequest::Init)> {
    static const MethodInfo* get() {
      static auto* clientPublicKey = &il2cpp_functions::array_class_get(::il2cpp_utils::GetClassFromName("System", "Byte"), 1)->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(MasterServer::ClientKeyExchangeRequest*), "Init", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{clientPublicKey});
    }
  };
  // Writing MetadataGetter for method: MasterServer::ClientKeyExchangeRequest::New_ctor
  // Il2CppName: .ctor
  // Cannot get method pointer of value based method overload from template for constructor!
  // Try using FindMethod instead!
  // Writing MetadataGetter for method: MasterServer::ClientKeyExchangeRequest::Serialize
  // Il2CppName: Serialize
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (MasterServer::ClientKeyExchangeRequest::*)(LiteNetLib::Utils::NetDataWriter*)>(&MasterServer::ClientKeyExchangeRequest::Serialize)> {
    static const MethodInfo* get() {
      static auto* writer = &::il2cpp_utils::GetClassFromName("LiteNetLib.Utils", "NetDataWriter")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(MasterServer::ClientKeyExchangeRequest*), "Serialize", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{writer});
    }
  };
  // Writing MetadataGetter for method: MasterServer::ClientKeyExchangeRequest::Deserialize
  // Il2CppName: Deserialize
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (MasterServer::ClientKeyExchangeRequest::*)(LiteNetLib::Utils::NetDataReader*)>(&MasterServer::ClientKeyExchangeRequest::Deserialize)> {
    static const MethodInfo* get() {
      static auto* reader = &::il2cpp_utils::GetClassFromName("LiteNetLib.Utils", "NetDataReader")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(MasterServer::ClientKeyExchangeRequest*), "Deserialize", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{reader});
    }
  };
  // Writing MetadataGetter for method: MasterServer::ClientKeyExchangeRequest::Release
  // Il2CppName: Release
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (MasterServer::ClientKeyExchangeRequest::*)()>(&MasterServer::ClientKeyExchangeRequest::Release)> {
    static const MethodInfo* get() {
      return ::il2cpp_utils::FindMethod(classof(MasterServer::ClientKeyExchangeRequest*), "Release", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
    }
  };
  