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;OnCharacterSelectionResponseCallbackfor downstream character flow.
Integration¶
- Backend API — REST tasks and
UMIPAPIUrlSubsystemtoken storage. - Char Selection — post-auth character selection / travel.
- Architecture: Auth & Join Flow — full pipeline.