Update ATaskTemplMan add get task npc info
This commit is contained in:
@@ -68,6 +68,13 @@ namespace BrewMonster.Scripts.Task
|
||||
uint m_ulNPCInfoTimeMark;
|
||||
private Dictionary<uint, NPC_INFO> m_NPCInfoMap = new();
|
||||
|
||||
// Lookup NPC/task object coordinates info by template id (loaded from task_npc pack)
|
||||
// 通过模板ID查找NPC/任务对象坐标信息(从task_npc包加载)
|
||||
public bool TryGetTaskNPCInfo(uint id, out NPC_INFO info)
|
||||
{
|
||||
return m_NPCInfoMap.TryGetValue(id, out info);
|
||||
}
|
||||
|
||||
private TaskTemplContainerSO _taskTemplContainerSO;
|
||||
|
||||
#if _TASK_CLIENT
|
||||
|
||||
Reference in New Issue
Block a user