Skip to content
Version 2.11.0
↓ Get the launcher

EquipResult enumeration

Outcome of an IModuleEquip dispatch. Maps the game’s EErrorCode reply to plugin-friendly cases — plugins should never need to read raw error codes.

public enum EquipResult
name value description
Success 0 Game accepted the request; matching event fired.
GameApiUnavailable 1 Reflection couldn’t resolve the game’s Lua bridge (ZLuaFramework / ModVM). Typically appears at boot before HybridCLR finishes loading.
PlayerNotInWorld 2 No live player entity (character select / loading screen).
SlotLocked 3 Game returned slot-not-unlocked (Tips lang 1042105).
SlotConflict 4 Game returned mod-type conflict or category cap exceeded (Tips lang 1042106 / 1042110).
SlotEmpty 5 Returned by UninstallAsync when the target slot was already empty. Not an error.
ModuleNotInInventory 6 The supplied module UUID isn’t in the player’s current inventory snapshot.
RpcError 7 Server-side EErrorCode was non-zero but didn’t match any specific case.
Timeout 8 6 seconds elapsed without the matching event firing (matches the Lua coro_util.async_to_sync(..., 6) timeout).
Cancelled 9 Caller’s CancellationToken fired before completion.