Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • Globals
  • modules
  • uis
  • showCustomFormUI

Function showCustomFormUI

  • showCustomFormUI(
        UIId: String,
        player: Player,
    ): {
        customUI: {
            code: string;
            codeIds: string[];
            codeValues: string[];
            optionElements: Globals.modules.main.customFormUIElement[];
            optionPropertyIds: string[];
            optionPropertyValues: string[];
        };
        form: ModalFormData
        | ActionFormData
        | MessageFormData;
        formResponse: ModalFormResponse | ActionFormResponse | MessageFormResponse;
        optionElements: Globals.modules.main.customFormUIElement[];
    }

    Parameters

    • UIId: String
    • player: Player

    Returns {
        customUI: {
            code: string;
            codeIds: string[];
            codeValues: string[];
            optionElements: Globals.modules.main.customFormUIElement[];
            optionPropertyIds: string[];
            optionPropertyValues: string[];
        };
        form: ModalFormData
        | ActionFormData
        | MessageFormData;
        formResponse: ModalFormResponse | ActionFormResponse | MessageFormResponse;
        optionElements: Globals.modules.main.customFormUIElement[];
    }

    • Defined in modules/ui/functions/showCustomFormUI.ts:9

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc