added Pocket
This commit is contained in:
parent
f98698cb4e
commit
61ee283113
13
src/cc/Pocket.hx
Normal file
13
src/cc/Pocket.hx
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
package cc;
|
||||||
|
|
||||||
|
@:multiReturn
|
||||||
|
extern class PocketActionResult {
|
||||||
|
public var successful:Bool;
|
||||||
|
public var error:String;
|
||||||
|
}
|
||||||
|
|
||||||
|
@:native("pocket")
|
||||||
|
extern class Pocket {
|
||||||
|
public static function equipBack(): PocketActionResult;
|
||||||
|
public static function unequipBack(): PocketActionResult;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user