HologramManager

interface HologramManager

The hologram manager class contains all the hologram methods.

Functions

Link copied to clipboard
abstract fun deleteHologram(hologram: Hologram)

Delete a hologram.

Link copied to clipboard
abstract fun getAllHolograms(): Map<String, Hologram>

Get all holograms from storage. Use HololibManager.cachedHolograms for the cache.

Link copied to clipboard
open fun getFromCache(name: String): Hologram?

Get the hologram with name name from the cache.

Link copied to clipboard
abstract fun getHologram(name: String): Hologram?

Get a hologram from the storage.

Link copied to clipboard
abstract fun rename(hologram: Hologram, newName: String)

Rename a hologram.

Link copied to clipboard
abstract fun saveHologram(name: String, hologram: Hologram)

Save a hologram to the storage.

Properties

Link copied to clipboard
abstract val gson: Gson
Link copied to clipboard
abstract val hololibManager: HololibManager