Skip to content

Global Class "Minimap"⚓︎

Info

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

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

Example Code
1
local size = Minimap.GetDisplayedSize()

Functions⚓︎

GetDisplayedSize ()⚓︎

Vector GetDisplayedSize ( )⚓︎

Returns the current display size of the minimap. When not expanded this is always Vector(47,47).

GetHoldTime ()⚓︎

int GetHoldTime ( )⚓︎


GetIconsSprite ()⚓︎

Sprite GetIconsSprite ( )⚓︎


GetItemIconsSprite ()⚓︎

Sprite GetItemIconsSprite ( )⚓︎


GetShakeDuration ()⚓︎

int GetShakeDuration ( )⚓︎


GetShakeOffset ()⚓︎

Vector GetShakeOffset ( )⚓︎


GetState ()⚓︎

MinimapState GetState ( )⚓︎


SetHoldTime ()⚓︎

void SetHoldTime ( int Time )⚓︎


SetShakeDuration ()⚓︎

void SetShakeDuration ( int Duration )⚓︎


SetShakeOffset ()⚓︎

void SetShakeOffset ( Vector Offset )⚓︎


SetState ()⚓︎

void SetState ( MinimapState State )⚓︎