仙魔无双SDK
面向策划逻辑制作的游戏开发包
映射操作

和ID映射有关的操作 更多...

函数

FxCreature * GetActorByID (unsigned long nID)
 根据指定的ID查找对象实例。 更多...
 
unsigned long GetActorID (FxCreature *pActor)
 返回角色pActor的ID。 更多...
 
FxAcquisition * GetDoodadByID (unsigned long nID)
 根据指定的ID查找Doodad。 更多...
 

详细描述

和ID映射有关的操作

函数说明

◆ GetActorByID()

FxCreature* GetActorByID ( unsigned long  nID)

根据指定的ID查找对象实例。

参数
nID[整数] 要查找对象的ID。
返回
[角色] nil 表示没有找到。
返回值
其他返回的对象
注解
buff_2013.lua StartEffect

◆ GetActorID()

unsigned long GetActorID ( FxCreature *  pActor)

返回角色pActor的ID。

参数
pActor[角色] 要查看ID的对象。
返回
[整数] 对象pActor的ID。
注解
buff_2013.lua StartEffect

◆ GetDoodadByID()

FxAcquisition* GetDoodadByID ( unsigned long  nID)

根据指定的ID查找Doodad。

参数
nID[整数]要查找的对象ID。
返回
[整数] nil 表示没有找到。
返回值
其他查找到的Doodad对象。
注解
Doodad_20033.lua