Files
test/Assets/PerfectWorld/Scripts/UI/EC_UIHelper.cs
T

30 lines
1.0 KiB
C#

using BrewMonster.Scripts.Task;
using CSNetwork.GPDataType;
namespace BrewMonster.Scripts.UI
{
public class CECUIHelper
{
public static A3DVECTOR3 GetTaskObjectCoordinates(int id, ref bool in_table)
{
in_table = false;
return new A3DVECTOR3(0);
// TODO: Implement this method properly
// A3DVECTOR3 ret(0.f);
// in_table = false;
// CECGame::ObjectCoords TargetTemp;
// ret = g_pGame->GetGameRun()->GetHostPlayer()->GetObjectCoordinates(
// id, TargetTemp, in_table);
// if (!in_table && MAJOR_MAP == g_pGame->GetGameRun()->GetWorld()->GetInstanceID()) {
// ATaskTemplMan *pMan = g_pGame->GetTaskTemplateMan();
// const NPC_INFO* pInfo = pMan->GetTaskNPCInfo(id);
// if(pInfo) {
// ret.Set(pInfo->x, pInfo->z, pInfo->y);
// in_table = true;
// }
// }
// return ret;
}
}
}