plugin interface id
This commit is contained in:
@ -14,7 +14,8 @@ class ChatlogPlugin implements CallbackListener, Plugin {
|
||||
/**
|
||||
* Constants
|
||||
*/
|
||||
const VERSION = 1.0;
|
||||
const ID = 1;
|
||||
const VERSION = 0.1;
|
||||
const SETTING_FOLDERNAME = 'Log-Folder Name';
|
||||
const SETTING_FILENAME = 'Log-File Name';
|
||||
const SETTING_USEPID = 'Use Process-Id for File Name';
|
||||
@ -71,6 +72,14 @@ class ChatlogPlugin implements CallbackListener, Plugin {
|
||||
'handlePlayerChatCallback');
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @see \ManiaControl\Plugins\Plugin::getId()
|
||||
*/
|
||||
public static function getId() {
|
||||
return self::ID;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @see \ManiaControl\Plugins\Plugin::getName()
|
||||
|
Reference in New Issue
Block a user