|
@@ -52,6 +52,7 @@ typedef SEncoded = Int
|
|
typedef SSerialized = String
|
|
typedef SSerialized = String
|
|
typedef SNekoSerialized = String
|
|
typedef SNekoSerialized = String
|
|
|
|
|
|
|
|
+@:native("Int")
|
|
extern class SFlags<T> {
|
|
extern class SFlags<T> {
|
|
public inline function get( v : T ) : Bool {
|
|
public inline function get( v : T ) : Bool {
|
|
return (cast this) & (1 << Type.enumIndex(v)) != 0;
|
|
return (cast this) & (1 << Type.enumIndex(v)) != 0;
|