32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
using BrewMonster.Scripts.Task;
|
|
using CSNetwork.GPDataType;
|
|
|
|
namespace BrewMonster.Scripts.UI
|
|
{
|
|
public class CECUIHelper
|
|
{
|
|
public static string DlgTaskName = "Win_Quest";
|
|
|
|
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;
|
|
}
|
|
}
|
|
} |