DOTA2 SiltBreaker更新内容

  1. API更新
API更新
ItemDefOwnedCount(int1, int2) 功能未知,只在地形内部的实体代码中使用
LocalTime() 获取本地时间
CBaseAnimating:SetProceduralIKTarget(pCHainName, pTargetName, vTargetPosition, qTargetRotation)
CBaseAnimating:SetProceduralIKTargetWeight(pCHainName, pTargetName, flWeight)
CBaseEntity:GetAbsScale() 获取绝对尺寸大小
CBaseEntity:GetLocalScale() 获取本地尺寸大小
CBaseEntity:SetAbsScale() 设置绝对尺寸大小
CBaseEntity:SetLocalScale() 设置本地尺寸大小
CDOTABaseAbility:IsRefreshable() 技能是否可刷新
CDOTABaseAbility:RefreshCharges() 刷新技能充能
CDOTABaseAbility:SetFrozenCOoldown(bFrozenCooldown) 锁定技能冷却时间
CDOTABaseGameMode:SetCameraSmoothCountOverride(nSmoothCount) 重写镜头平滑数
CDOTABaseGameMode:SetCustomTerrainWeatherEffect(pszEffectName) 设置自定义地形特效
CDOTABaseGameMode:SetDeathOverlayDiabled(bDisabled) 禁用死亡画面效果
CDOTABaseGameMode:SetHudCombatEventDisabled(bDisabled) 禁用UI战斗事件显示
CDOTABaseGameMode:SetSelectionGoldPenaltyEnabled(bEnabled)
GameRules:AddEventMetadataLeaderboardEntry(szNameSuffix, nStars, nMaxStars, nExtraData, unsigned6, unsigned7, unsigned8, unsigned9) 多了最后三个参数,谁知道是什么呢
GameRules:SetEventSignoutCustomTable(hMetadataTable)
GameRules:GetGameFrameTime() 获取服务器帧时间
GameRules:SetCustomGameAllowBattleMusic(bAllowed) 设置是否禁用战斗音乐
GameRules:SetCustomGameAllowHeroPickMusic(bAllowed) 设置是否禁用英雄选择音乐
GameRules:SetCustomGameAllowMusicAtGameStart(bAllowed) 设置是否禁用游戏开始音乐
CDOTA_Ability_Lua:OnProjectileHitHandle(hTarget, vLocation, nHandle)
CDOTA_Ability_Lua:OnProjectileHitHandle(nHandle)
CDOTA_BaseNPC:FindItemInInventory(pszName) 到背包中寻找物品
CDOTA_BaseNPC_Hero:IsStashEnabled()
CDOTA_BaseNPC_Hero:SetStashEnabled()
CDOTA_Buff:IsStunDebuff() 是否是眩晕效果
CDOTA_Buff:HasFunction(iFunction) 是否有某个函数
CDOTA_Item:SetCastOnPickUp(bCastOnPickup) 设置物品是否拾取使用
CDOTA_Item_Lua:IsMuted() 物品是否被禁用
Entities:GetLocalPlayer() 获取本地玩家
ProjectileManager:GetLinearProjectileLocation(nProjectileID) 获取弹道位置
ProjectileManager:GetLinearProjectileRadius(nProjectileID) 获取弹道碰撞半径
ProjectileManager:UpdateProjectileDirection(nProjectileID, vVelocity, flMaxDistance?) 更改弹道方向
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容