C# 클래스 NetMud.Communication.Messaging.MessageCluster

Used by the system to produce output for commands and events
상속: IMessageCluster
파일 보기 프로젝트 열기: SwiftAusterity/NetMud 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteMessaging ( IEntity Actor, IEntity Subject, IEntity Target, IEntity OriginLocation, IEntity DestinationLocation ) : void

Executes the messaging, sending messages using WriteTo on all relevant entities

MessageCluster ( ) : System

New up an empty cluster

MessageCluster ( IEnumerable actor, IEnumerable subject, IEnumerable target, IEnumerable origin, IEnumerable destination ) : System

New up a full cluster

비공개 메소드들

메소드 설명
TranslateOutput ( IEnumerable output, IEntity[]>.Dictionary entities ) : IEnumerable

Translates output text with color codes and entity variables

메소드 상세

ExecuteMessaging() 공개 메소드

Executes the messaging, sending messages using WriteTo on all relevant entities
public ExecuteMessaging ( IEntity Actor, IEntity Subject, IEntity Target, IEntity OriginLocation, IEntity DestinationLocation ) : void
Actor IEntity The acting entity
Subject IEntity The command's subject entity
Target IEntity The command's target entity
OriginLocation IEntity The location the acting entity acted in
DestinationLocation IEntity The location the command is targetting
리턴 void

MessageCluster() 공개 메소드

New up an empty cluster
public MessageCluster ( ) : System
리턴 System

MessageCluster() 공개 메소드

New up a full cluster
public MessageCluster ( IEnumerable actor, IEnumerable subject, IEnumerable target, IEnumerable origin, IEnumerable destination ) : System
actor IEnumerable Message to send to the acting entity
subject IEnumerable Message to send to the subject of the command
target IEnumerable Message to send to the target of the command
origin IEnumerable Message to send to the origin location of the command/event
destination IEnumerable Message to send to the destination location of the command/event
리턴 System