Beispiel #1
0
        public static object callField(object obj, string field, int fieldHash, global::haxe.root.Array args)
        {
            haxe.lang.HxObject hxObj = obj as haxe.lang.HxObject;
            if (hxObj != null)
            {
                return(hxObj.__hx_invokeField(field, (fieldHash == 0) ? haxe.lang.FieldLookup.hash(field) : fieldHash, args));
            }

            return(slowCallField(obj, field, args));
        }
Beispiel #2
0
 public static object callField(haxe.lang.HxObject obj, string field, int fieldHash, Array args)
 {
     return(obj.__hx_invokeField(field, (fieldHash == 0) ? haxe.lang.FieldLookup.hash(field) : fieldHash, args));
 }