加入隊伍

隊伍
伺服器端
可在 Mobile 端和 PC 端使用
擁有者:
玩家

使目標加入指定隊伍,會使目標退出原先所屬隊伍

聲明

func JoinTeam(target entity<Entity>, targetTeam entity<Team>, out var statusCode StatusCode)
go

參數

輸入

名稱 類型 描述
目標 Entity 需要加入隊伍的目標
目標隊伍 Team 加入的隊伍

輸出

名稱 類型 描述
狀態碼 ErrorCode 是否成功