C# Class WarTornLands.Entities.Modules.Interact.Dialog

Inheritance: BaseModule, IInteractModule
Afficher le fichier Open project: floAr/WarTornLands

Méthodes publiques

Méthode Description
Dialog ( DataRow data ) : System
Dialog ( List conversations, int cooldown = 2000 ) : System
Interact ( System.Entity user ) : void
SetNewDefault ( string newDefaultID, string calledByID ) : void

Sets the new default conversation. See @class ComboBreaker for more information. This method should only be called by ConversationItems

SetOwner ( System.Entity owner ) : void
ShutDown ( ) : void

Deactivates this instance. This method should only be called by ConversationItems

Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
ComboBreakerFromData ( DataRow data ) : ComboBreaker
ItemContainerFromData ( DataRow data ) : ItemContainer
OnBang ( object sender, BangEventArgs e ) : void
OnEnter ( object sender, EventArgs e ) : void
ReadConversations ( DataSet data ) : List
TextLineAndEventFromData ( DataRow data ) : TextLineAndEvent
TextLineFromData ( DataRow data ) : TextLine

Method Details

Dialog() public méthode

public Dialog ( DataRow data ) : System
data System.Data.DataRow
Résultat System

Dialog() public méthode

public Dialog ( List conversations, int cooldown = 2000 ) : System
conversations List
cooldown int
Résultat System

Interact() public méthode

public Interact ( System.Entity user ) : void
user System.Entity
Résultat void

SetNewDefault() public méthode

Sets the new default conversation. See @class ComboBreaker for more information. This method should only be called by ConversationItems
public SetNewDefault ( string newDefaultID, string calledByID ) : void
newDefaultID string The new default ID.
calledByID string
Résultat void

SetOwner() public méthode

public SetOwner ( System.Entity owner ) : void
owner System.Entity
Résultat void

ShutDown() public méthode

Deactivates this instance. This method should only be called by ConversationItems
public ShutDown ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void