|
实在不懂HaveSavedHandle函数是干什么用的?我的理解是哈唏表,主索引,次索引,已经保存了一个handle类的数据就返回true,null就返回false
但我测试的时候总是返回false,难道我理解错了?
求各位大神指点!!谢谢
call SaveUnitHandle(udg_frankhash,123456 , 123456,GetTriggerUnit())
set frank_b = HaveSavedHandle(udg_frankhash, 123456, 123456)
if(frank_b) then
call BJDebugMsg( "true" )
else
call BJDebugMsg( "false" )
endif
//call SaveInteger(udg_frankhash,GetHandleId(GetTriggerPlayer()), GetHandleId(GetTriggerUnit()),123)
call SaveUnitHandle(udg_frankhash,123456 , 123456,GetTriggerUnit())
|
|