diff --git a/src/cc/Pocket.hx b/src/cc/Pocket.hx new file mode 100644 index 0000000..22c529d --- /dev/null +++ b/src/cc/Pocket.hx @@ -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; +}