Skip to content

Client Auth (Login / Register)

Overview

AMIPClientAuthGameMode is a lightweight GameMode that exposes ClientAuthLogin and ClientAuthRegister, wiring ULoginAsyncAPITask / URegisterAsyncAPITask and delegating results on OnLoginResponseDelegate / OnRegisterResponseDelegate. It connects a socket in BeginPlay (ConnectSIO) and exposes Blueprint events K2_OnClientAuthCompleted and K2_InitializeOnClient for UI flow.

All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.


Key Classes & Files

Class File
AMIPClientAuthGameMode Public/ClientAuth/MIPClientAuthGameMode.h
ULoginAsyncAPITask, URegisterAsyncAPITask Public/API/LoginAsyncAPITask.h, RegisterAsyncAPITask.h

AMIPClientAuthGameMode

  • API: ClientAuthLogin(FMIPLoginRequest), ClientAuthRegister(FMIPRegisterRequest).
  • Delegates: OnLoginResponseDelegate, OnRegisterResponseDelegate.
  • Internals: OnLoggedIn, OnRegistered, OnSocketConnected; OnCharacterSelectionResponseCallback for downstream character flow.

Integration