Beispiel #1
0
        public static object setField(object obj, string field, int fieldHash, object @value)
        {
            haxe.lang.HxObject hxObj = obj as haxe.lang.HxObject;
            if (hxObj != null)
            {
                return(hxObj.__hx_setField(field, (fieldHash == 0) ? haxe.lang.FieldLookup.hash(field) : fieldHash, value, false));
            }

            return(slowSetField(obj, field, value));
        }
Beispiel #2
0
 public static object setField(haxe.lang.HxObject obj, string field, int fieldHash, object value)
 {
     return(obj.__hx_setField(field, (fieldHash == 0) ? haxe.lang.FieldLookup.hash(field) : fieldHash, value, false));
 }