C# 클래스 PolaMUD.Room

상속: Entity
파일 보기 프로젝트 열기: Polatrite/PolaMUD 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Area PolaMUD.Area
Description string
Exits Exit>.Dictionary
MobResets List
Terrain Terrain

공개 메소드들

메소드 설명
Display ( Player player ) : void

Show the Room to Player, including all contents.

GetThing ( Type reference, string name ) : Thing

Get a Thing from the room with the provided Type (Mob, Player, etc.) that matches Name.

Load ( XmlNode room ) : void

Loads a new room from the provided XmlNode.

Load ( XmlNode room, PolaMUD.Area area ) : void

Loads a new room from the provided XmlNode while automatically setting the area that the room belongs to.

Room ( int number ) : System

Creates a new room with the specified IndexNumber and adds it to Global.RoomTable.

SendMessage ( string message ) : void
SendMessage ( string message, string mobileMessage ) : void

Send a message to all valid Mobs in the Room.

SendMobileMessage ( string mobileMessage ) : void
ToString ( ) : string

Displays the short descriptive string of the room.

메소드 상세

Display() 공개 메소드

Show the Room to Player, including all contents.
public Display ( Player player ) : void
player Player
리턴 void

GetThing() 공개 메소드

Get a Thing from the room with the provided Type (Mob, Player, etc.) that matches Name.
public GetThing ( Type reference, string name ) : Thing
reference System.Type The Type to search for (Mob, Player, etc.)
name string Name to match
리턴 Thing

Load() 공개 메소드

Loads a new room from the provided XmlNode.
public Load ( XmlNode room ) : void
room System.Xml.XmlNode
리턴 void

Load() 공개 메소드

Loads a new room from the provided XmlNode while automatically setting the area that the room belongs to.
public Load ( XmlNode room, PolaMUD.Area area ) : void
room System.Xml.XmlNode
area PolaMUD.Area
리턴 void

Room() 공개 메소드

Creates a new room with the specified IndexNumber and adds it to Global.RoomTable.
public Room ( int number ) : System
number int
리턴 System

SendMessage() 공개 메소드

public SendMessage ( string message ) : void
message string
리턴 void

SendMessage() 공개 메소드

Send a message to all valid Mobs in the Room.
public SendMessage ( string message, string mobileMessage ) : void
message string
mobileMessage string
리턴 void

SendMobileMessage() 공개 메소드

public SendMobileMessage ( string mobileMessage ) : void
mobileMessage string
리턴 void

ToString() 공개 메소드

Displays the short descriptive string of the room.
public ToString ( ) : string
리턴 string

프로퍼티 상세

Area 공개적으로 프로퍼티

public Area,PolaMUD Area
리턴 PolaMUD.Area

Description 공개적으로 프로퍼티

public string Description
리턴 string

Exits 공개적으로 프로퍼티

public Dictionary Exits
리턴 Exit>.Dictionary

MobResets 공개적으로 프로퍼티

public List MobResets
리턴 List

Terrain 공개적으로 프로퍼티

public Terrain,PolaMUD Terrain
리턴 Terrain