From 63c65ff0321d3d67674607c08766f115333c5623 Mon Sep 17 00:00:00 2001 From: RobinCode Date: Mon, 13 Nov 2023 16:07:17 +0800 Subject: [PATCH] Update panorama api --- packages/panorama-types/types/api.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/panorama-types/types/api.d.ts b/packages/panorama-types/types/api.d.ts index 02fa14f..95fae64 100644 --- a/packages/panorama-types/types/api.d.ts +++ b/packages/panorama-types/types/api.d.ts @@ -836,6 +836,8 @@ interface CScriptBindingPR_Entities { IsBoss(nEntityIndex: EntityIndex): boolean; + IsBossCreature(nEntityIndex: EntityIndex): boolean; + IsRoshan(nEntityIndex: EntityIndex): boolean; IsBuilding(nEntityIndex: EntityIndex): boolean; @@ -1039,7 +1041,7 @@ interface CScriptBindingPR_Entities { ManaFraction(nEntityIndex: EntityIndex): number; - GetClassname(nEntityIndex: EntityIndex): string; + GetClassNameAsCStr(nEntityIndex: EntityIndex): string; GetDisplayedUnitName(nEntityIndex: EntityIndex): string;