設置玩家是否可攻擊 [已廢棄]

隊伍
已廢棄
伺服器端
可在 Mobile 端和 PC 端使用

設定可攻擊玩家

聲明

func SetAttackablePlayer_Deprecated(attacker entity<Player>, target entity<Player>, attackable AttackableType)
go

參數

輸入

名稱 類型 描述
造成傷害的實體 Player 玩家
目標 Player 可攻擊玩家
可攻擊 AttackableOption 是否可攻擊