added Pocket

This commit is contained in:
Djeeberjr 2024-04-10 14:14:19 +02:00
parent f98698cb4e
commit 61ee283113

13
src/cc/Pocket.hx Normal file
View 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;
}