알림 및 메시지를 관리하는 클래스입니다.
devCheck(player : PlayerObject)
개발 버전 모드를 대응하는 메서드입니다.
Dev의 값에 따라 모드 전환을 결정합니다.
info()
help()
infoPlayer()
notice()
cnot()
locked()
unlocked()
acess(player : PlayerObject)
권한을 필요로 하는 메시지를 출력하는 메서드입니다.
msgCommand(msg : string)
alterMsg(player : PlayerObject)
욕설이 감지되면 알림 메시지를 출력하는 메서드입니다.
ruleCommand(msg : string)
anounce(msg : string, target : playerid, color : color, style : int, sound : int)
알림 메시지 함수입니다.
color의 인자값으로 setColor()를 호출합니다.
style의 인자값으로 setStyle()을 호출합니다.
sound의 인자값이 0이면 무음으로, 1이면 기본값으로, 2이면 크게 출력합니다.
setColor(color : color)
알림 메시지의 글꼴 색상을 지정합니다.
color가 조건문 외의 값을 가지면 "0xFFFFFF"로 반환합니다.
setStyle
알림 메시지의 글꼴 형식을 지정합니다.
API 레벨 6(2.0.1) 이후에는 문자열을 style의 인자값으로 전달할 수 있습니다.
Comments