Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
essentials.action.Entities.AI.Interaction.INpcInteraction Interface Reference
Inheritance diagram for essentials.action.Entities.AI.Interaction.INpcInteraction:
essentials.action.Entities.AI.Interaction.NPCInteraction

Public Member Functions

IEnumerable< IInteractableFindNear (Vector3d pos, double maxDist=NPCInteraction.MAX_NEAR_DIST)
 Finds an interactable near a position More...
 
IInteractable FindFirstNear (Vector3d pos, double maxDist=NPCInteraction.MAX_NEAR_DIST)
 Finds the first entity that's interactable near a position More...
 
void InteractWith (IActor me, IInteractable entity)
 Start an interaction between self an another entity More...
 
void InteractWith (IActor me, IInteractable entity, string key)
 Start an interaction between self and another entity with the given conversation key More...
 
void InteractNear (IActor me, string key)
 Starts an interaction with an interactable near self More...
 
void InteractNear (IActor me)
 Starts an interaction with an interactable near self More...
 

Detailed Description

Attribute: Injectable

Member Function Documentation

IInteractable essentials.action.Entities.AI.Interaction.INpcInteraction.FindFirstNear ( Vector3d  pos,
double  maxDist = NPCInteraction.MAX_NEAR_DIST 
)

Finds the first entity that's interactable near a position

Returns
The first near.
Parameters
posPosition.
maxDistMax dist.

Implemented in essentials.action.Entities.AI.Interaction.NPCInteraction.

IEnumerable<IInteractable> essentials.action.Entities.AI.Interaction.INpcInteraction.FindNear ( Vector3d  pos,
double  maxDist = NPCInteraction.MAX_NEAR_DIST 
)

Finds an interactable near a position

Returns
The near.
Parameters
posPosition.
maxDistMax dist.

Implemented in essentials.action.Entities.AI.Interaction.NPCInteraction.

void essentials.action.Entities.AI.Interaction.INpcInteraction.InteractNear ( IActor  me,
string  key 
)

Starts an interaction with an interactable near self

Parameters
meMe.
keyKey.

Implemented in essentials.action.Entities.AI.Interaction.NPCInteraction.

void essentials.action.Entities.AI.Interaction.INpcInteraction.InteractNear ( IActor  me)

Starts an interaction with an interactable near self

Parameters
meMe.

Implemented in essentials.action.Entities.AI.Interaction.NPCInteraction.

void essentials.action.Entities.AI.Interaction.INpcInteraction.InteractWith ( IActor  me,
IInteractable  entity 
)

Start an interaction between self an another entity

Parameters
meMe.
entityEntity.

Implemented in essentials.action.Entities.AI.Interaction.NPCInteraction.

void essentials.action.Entities.AI.Interaction.INpcInteraction.InteractWith ( IActor  me,
IInteractable  entity,
string  key 
)

Start an interaction between self and another entity with the given conversation key

Parameters
meMe.
entityEntity.
keyKey.

Implemented in essentials.action.Entities.AI.Interaction.NPCInteraction.


The documentation for this interface was generated from the following file: