C# 클래스 wmib.Extensions.LogsModule

상속: Module
파일 보기 프로젝트 열기: benapetr/wikimedia-bot

공개 프로퍼티들

프로퍼티 타입 설명
TextPath string

공개 메소드들

메소드 설명
ChanLog ( string message, Channel channel, string user, string host, bool noac = true ) : void

Log file

Construct ( ) : bool

Start work

Hook_ACTN ( Channel channel, libirc invoker, string message ) : void
Hook_ChannelDrop ( Channel chan ) : void
Hook_ChannelQuit ( Channel channel, libirc user, string mesg ) : void
Hook_GetWriterSize ( ) : uint
Hook_Join ( Channel channel, libirc user ) : void
Hook_Kick ( wmib channel, libirc source, string user ) : void
Hook_Nick ( Channel channel, libirc Target, string OldNick, string NewNick ) : void
Hook_OnRegister ( ) : bool
Hook_OnSelf ( Channel channel, libirc self, string message, bool is_act = false ) : void
Hook_OnUnload ( ) : bool
Hook_PRIV ( Channel channel, libirc invoker, string message ) : void
Hook_Part ( Channel channel, libirc user ) : void
Load ( ) : void
Writer ( ) : void

비공개 메소드들

메소드 설명
Finish ( ) : void
TDToString ( int number ) : string

Convert the number to format we want to have in log

UpdateConfig ( Channel channel ) : void
WriteData ( ) : int
WriteLog ( string message, Channel channel, System.DateTime _datetime ) : bool

메소드 상세

ChanLog() 공개 메소드

Log file
public ChanLog ( string message, Channel channel, string user, string host, bool noac = true ) : void
message string Message
channel Channel Channel
user string User
host string Host
noac bool Action (if true it's logged as message, if false it's action)
리턴 void

Construct() 공개 메소드

Start work
public Construct ( ) : bool
리턴 bool

Hook_ACTN() 공개 메소드

public Hook_ACTN ( Channel channel, libirc invoker, string message ) : void
channel Channel
invoker libirc
message string
리턴 void

Hook_ChannelDrop() 공개 메소드

public Hook_ChannelDrop ( Channel chan ) : void
chan Channel
리턴 void

Hook_ChannelQuit() 공개 메소드

public Hook_ChannelQuit ( Channel channel, libirc user, string mesg ) : void
channel Channel
user libirc
mesg string
리턴 void

Hook_GetWriterSize() 공개 메소드

public Hook_GetWriterSize ( ) : uint
리턴 uint

Hook_Join() 공개 메소드

public Hook_Join ( Channel channel, libirc user ) : void
channel Channel
user libirc
리턴 void

Hook_Kick() 공개 메소드

public Hook_Kick ( wmib channel, libirc source, string user ) : void
channel wmib
source libirc
user string
리턴 void

Hook_Nick() 공개 메소드

public Hook_Nick ( Channel channel, libirc Target, string OldNick, string NewNick ) : void
channel Channel
Target libirc
OldNick string
NewNick string
리턴 void

Hook_OnRegister() 공개 메소드

public Hook_OnRegister ( ) : bool
리턴 bool

Hook_OnSelf() 공개 메소드

public Hook_OnSelf ( Channel channel, libirc self, string message, bool is_act = false ) : void
channel Channel
self libirc
message string
is_act bool
리턴 void

Hook_OnUnload() 공개 메소드

public Hook_OnUnload ( ) : bool
리턴 bool

Hook_PRIV() 공개 메소드

public Hook_PRIV ( Channel channel, libirc invoker, string message ) : void
channel Channel
invoker libirc
message string
리턴 void

Hook_Part() 공개 메소드

public Hook_Part ( Channel channel, libirc user ) : void
channel Channel
user libirc
리턴 void

Load() 공개 메소드

public Load ( ) : void
리턴 void

Writer() 공개 메소드

public Writer ( ) : void
리턴 void

프로퍼티 상세

TextPath 공개적으로 프로퍼티

public string TextPath
리턴 string