1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-01 14:20:07 +00:00
Tims-Chat/file/lib/system/chat/command/ICommand.class.php
2013-01-09 21:34:30 +01:00

50 lines
941 B
PHP

<?php
namespace wcf\system\chat\command;
/**
* Interface for chat-commands.
*
* @author Tim Düsterhus
* @copyright 2010-2012 Tim Düsterhus
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
* @package be.bastelstu.wcf.chat
* @subpackage system.chat.command
*/
interface ICommand {
/**
* Setting is forced to be disabled.
*
* @var integer
*/
const SETTING_OFF = 0;
/**
* Setting is forced to be enabled.
*
* @var integer
*/
const SETTING_ON = 1;
/**
* The user may decide whether this setting is on or off.
*
* @var integer
*/
const SETTING_USER = 2;
/**
* Returns the message-type for this command.
*/
public function getType();
/**
* Returns the message-text for this command.
*/
public function getMessage();
/**
* Returns the receiver for this command.
*/
public function getReceiver();
}