Namespace Resources

Available in preloader scripts only!

Functions

  • Creatings runtime pack, that will be removed on next launching game stage. Useful for both: client and server.

    Parameters

    • typeStr: string

      one of: resource or behavior

    • name: string

      generated pack name that additionaly hashes

    Returns string

    Complete path to generated pack, it might be used to working with files and directories.

  • Parameters

    • regex: string

    Returns string[]

    Available in preloader scripts only!

    2.0.2b24

  • Parameters

    • directory: Object
    • regex: string

    Returns string[]

    Available in preloader scripts only!

  • Parameters

    • directory: Object
    • regex: string

    Returns string[]

    Available in preloader scripts only!

  • Returns string[]

    Available in preloader scripts only!

  • Returns string[]

    Available in preloader scripts only!

    2.0.2b24

  • Parameters

    • path: string

    Returns Nullable<string>

    Available in preloader scripts only!

    2.0.2b24

  • Parameters

    • result: string[]
    • baseDir: File
    • file: File
    • regex: string

    Returns void

    Available in preloader scripts only!

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.