For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/reference/sdk/sapi/runtime/functions/getSignFacing.md.
  • English
  • Function: getSignFacing()

    function getSignFacing(direction: number, face: number): number;

    Defined in: sapi/runtime/tools.ts:99

    获取悬挂墙牌所需的 facing_direction 数值属性(与箱子布局匹配)。

    Parameters

    ParameterTypeDescription
    directionnumber主方向代号。
    facenumber相对偏移正负符号。

    Returns

    number

    墙牌朝向数值。