Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace LiquidRegistry

Index

Variables

liquidStorageSaverId

liquidStorageSaverId: number

Functions

Storage

getEmptyItem

  • getEmptyItem(id: number, data: number): { data: number; id: number; liquid: string }
  • Parameters

    • id: number
    • data: number

    Returns { data: number; id: number; liquid: string }

    • data: number
    • id: number
    • liquid: string

getFullItem

  • getFullItem(id: number, data: number, liquid: string): { data: number; id: number }
  • Parameters

    • id: number
    • data: number
    • liquid: string

    Returns { data: number; id: number }

    • data: number
    • id: number

getItemLiquid

  • getItemLiquid(id: number, data: number): string

getLiquidData

  • getLiquidData(key: string): any

getLiquidName

  • getLiquidName(key: string): string

getLiquidUIBitmap

  • getLiquidUIBitmap(key: string, width: number, height: number): Bitmap

getLiquidUITexture

  • getLiquidUITexture(key: string, width: number, height: number): string

isExists

  • isExists(key: string): boolean

registerItem

  • registerItem(liquid: string, empty: { data: number; id: number }, full: { data: number; id: number }): void
  • Parameters

    • liquid: string
    • empty: { data: number; id: number }
      • data: number
      • id: number
    • full: { data: number; id: number }
      • data: number
      • id: number

    Returns void

registerLiquid

  • registerLiquid(key: string, name: string, uiTextures: string[], modelTextures?: string[]): void
  • Parameters

    • key: string
    • name: string
    • uiTextures: string[]
    • Optional modelTextures: string[]

    Returns void

Generated using TypeDoc