Class EscortingNPCFacePanel
Displays faces of quest NPCs escorted by player. Unlike Daggerfall will try to remove face when related quest ends, even if quest script forgets to drop face.
Inherited Members
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class EscortingNPCFacePanel : Panel, IDisposable
Constructors
| Improve this Doc View SourceEscortingNPCFacePanel()
Declaration
public EscortingNPCFacePanel()
Methods
| Improve this Doc View SourceAddFace(Foe)
Adds a Foe face to HUD. Foe faces should always be humanoid as there are no portraits for monstrous enemies. Always creates a Breton face for now.
Declaration
public void AddFace(Foe foe)
Parameters
Type | Name | Description |
---|---|---|
Foe | foe | Target Foe resource to add. |
AddFace(Person)
Adds a Person face to HUD.
Declaration
public void AddFace(Person person)
Parameters
Type | Name | Description |
---|---|---|
Person | person | Target Person resource to add. |
ClearFaces()
Declaration
public void ClearFaces()
DropFace(Foe)
Drops a Foe face from HUD.
Declaration
public void DropFace(Foe foe)
Parameters
Type | Name | Description |
---|---|---|
Foe | foe | Target Foe resource to remove. |
DropFace(Person)
Drops a Person face from HUD.
Declaration
public void DropFace(Person person)
Parameters
Type | Name | Description |
---|---|---|
Person | person | Target Person resource to remove. |
GetSaveData()
Declaration
public FaceDetails[] GetSaveData()
Returns
Type | Description |
---|---|
FaceDetails[] |
RefreshFaces()
Declaration
public void RefreshFaces()
RestoreSaveData(FaceDetails[])
Declaration
public void RestoreSaveData(FaceDetails[] faces)
Parameters
Type | Name | Description |
---|---|---|
FaceDetails[] | faces |
Update()
Declaration
public override void Update()