C# 클래스 RohBot.Rooms.Room

파일 보기 프로젝트 열기: Rohansi/RohBot 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DisableBanning bool
IsHidden bool
IsLogging bool
IsPrivate bool
IsWhitelisted bool
RoomInfo RoomInfo
ShowWebStates bool

공개 메소드들

메소드 설명
Ban ( string name ) : void
Demod ( string name ) : void
GetHistoryLines ( Connection connection ) : List

Called by SendHistory.

IsBanned ( string name ) : bool
IsMod ( string name ) : bool
Leave ( ) : void

Called when leaving the room. Must call base.

Mod ( string name ) : void
Room ( RoomInfo roomInfo ) : System
Send ( string str ) : void

Send a message as the bot. Should call base.

SendHistory ( Connection connection ) : void

Called when somebody joins the room. Should call base.

SendLine ( HistoryLine line ) : void

Called when a message is being sent to the room. Should call base.

SendLineFilter ( HistoryLine line, IEnumerable sessions ) : IEnumerable

Filter sessions which receive lines from SendLine.

SendMessage ( Connection connection, string message ) : void

Called when somebody sends a message.

SessionDisconnect ( Session session ) : void
SessionEnter ( Session session ) : void
SessionLeft ( Session session ) : void
Unban ( string name ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
AddHistory ( HistoryLine line ) : void
ClearScrollbackFor ( Connection connection ) : void

메소드 상세

Ban() 공개 메소드

public Ban ( string name ) : void
name string
리턴 void

Demod() 공개 메소드

public Demod ( string name ) : void
name string
리턴 void

GetHistoryLines() 공개 메소드

Called by SendHistory.
public GetHistoryLines ( Connection connection ) : List
connection Connection
리턴 List

IsBanned() 공개 메소드

public IsBanned ( string name ) : bool
name string
리턴 bool

IsMod() 공개 메소드

public IsMod ( string name ) : bool
name string
리턴 bool

Leave() 공개 메소드

Called when leaving the room. Must call base.
public Leave ( ) : void
리턴 void

Mod() 공개 메소드

public Mod ( string name ) : void
name string
리턴 void

Room() 공개 메소드

public Room ( RoomInfo roomInfo ) : System
roomInfo RoomInfo
리턴 System

Send() 공개 메소드

Send a message as the bot. Should call base.
public Send ( string str ) : void
str string
리턴 void

SendHistory() 공개 메소드

Called when somebody joins the room. Should call base.
public SendHistory ( Connection connection ) : void
connection Connection
리턴 void

SendLine() 공개 메소드

Called when a message is being sent to the room. Should call base.
public SendLine ( HistoryLine line ) : void
line HistoryLine
리턴 void

SendLineFilter() 공개 메소드

Filter sessions which receive lines from SendLine.
public SendLineFilter ( HistoryLine line, IEnumerable sessions ) : IEnumerable
line HistoryLine
sessions IEnumerable
리턴 IEnumerable

SendMessage() 공개 메소드

Called when somebody sends a message.
public SendMessage ( Connection connection, string message ) : void
connection Connection
message string
리턴 void

SessionDisconnect() 공개 메소드

public SessionDisconnect ( Session session ) : void
session Session
리턴 void

SessionEnter() 공개 메소드

public SessionEnter ( Session session ) : void
session Session
리턴 void

SessionLeft() 공개 메소드

public SessionLeft ( Session session ) : void
session Session
리턴 void

Unban() 공개 메소드

public Unban ( string name ) : void
name string
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

DisableBanning 공개적으로 프로퍼티

public bool DisableBanning
리턴 bool

IsHidden 공개적으로 프로퍼티

public bool IsHidden
리턴 bool

IsLogging 공개적으로 프로퍼티

public bool IsLogging
리턴 bool

IsPrivate 공개적으로 프로퍼티

public bool IsPrivate
리턴 bool

IsWhitelisted 공개적으로 프로퍼티

public bool IsWhitelisted
리턴 bool

RoomInfo 공개적으로 프로퍼티

public RoomInfo RoomInfo
리턴 RoomInfo

ShowWebStates 공개적으로 프로퍼티

public bool ShowWebStates
리턴 bool