添加getEntityAllEffects接口

This commit is contained in:
子沐呀
2024-08-01 21:23:33 +08:00
Unverified
parent 2f987b1c93
commit 4857867821
3 changed files with 26 additions and 15 deletions
+6 -6
View File
@@ -1097,12 +1097,6 @@ interface Player {
/** 方块对象 */
block: Block
): number;
/** (GMLIB)玩家是否拥有buff效果 */
hasEffect(
/** 效果ID */
effectId: number
): boolean;
}
interface Entity {
@@ -1162,6 +1156,12 @@ interface Entity {
family: string
): boolean;
/** (GMLIB)实体是否拥有buff效果 */
hasEffect(
/** 效果ID */
effectId: number
): boolean;
/** (GMLIB)获取buff信息 */
getEffectInfo(
/** 效果ID */