update
This commit is contained in:
15
src/cc/periphs/Command.hx
Normal file
15
src/cc/periphs/Command.hx
Normal file
@@ -0,0 +1,15 @@
|
||||
package cc.periphs;
|
||||
|
||||
@:multiReturn
|
||||
extern class CommandResult {
|
||||
var success:Bool;
|
||||
var failMessage:Null<String>;
|
||||
}
|
||||
|
||||
extern class Command {
|
||||
public static function getCommand():String;
|
||||
|
||||
public static function setCommand(command:String):Void;
|
||||
|
||||
public static function runCommand():CommandResult;
|
||||
}
|
||||
Reference in New Issue
Block a user