Skip to content

Global Class "ItemOverlay"⚓︎

Info

You can get this class by using the ItemOverlay global table.

注意:调用这些函数时,必须使用 .(句点)而非 :(冒号)!

Example Code
1
local overlaysprite = ItemOverlay.GetSprite()

Functions⚓︎

GetDelay ()⚓︎

int GetDelay ( )⚓︎


GetMegaMushPlayerSprite ()⚓︎

Sprite GetMegaMushPlayerSprite ( )⚓︎


GetOverlayID ()⚓︎

Giantbook GetOverlayID ( )⚓︎

Info

If none have played yet, returns 0. Returns the last Giantbook animation that played. This is the current Giantbook if one is currently playing.

GetPlayer ()⚓︎

EntityPlayer GetPlayer ( )⚓︎


GetSprite ()⚓︎

Sprite GetSprite ( )⚓︎


Show ()⚓︎

void Show ( Giantbook GiantbookID, int Delay = 3, EntityPlayer = nil )⚓︎