Inheritance: MonoBehaviour
 set => SetProperty(ref _root, value);
 search(_root, result, value, distanceTolerance);
        public void TypelessWrite(_root.Date date)
        {
            TypelessWrite(1);

			double ticks = date.getTime();
            TypelessWrite(ticks);

			StoreObject(date);
        }
        public void TypelessWrite(_root.Array array)
        {
			if (TrackArrayReferences) {
				if (CheckObjectTable(array))
					return;

				StoreObject(array);
			} else {
				StoreObject(null);
			}

            TypelessWrite((array.length << 1) | 1);

			var dc = (PlayScript.IDynamicClass)array;
            WriteDynamicClass(dc);

            foreach (object i in array) {
                Write(i);
            }
        }
 public void Write(_root.Array array)
 {
     Write(Amf3TypeCode.Array);
     TypelessWrite(array);
 }
 public void Write(_root.Date date)
 {
     Write(Amf3TypeCode.Date);
     TypelessWrite(date);
 }
Exemple #7
0
 : new HashFilePath(_root, _currentPath[.._currentPath.LastIndexOf('/')]);
Exemple #8
0
		public static object InvokeStaticMethod(System.Type type, String methodName, _root.Array args)
		{
			var method = type.GetMethod(methodName);
			if (method == null) throw new Exception("Method not found");
			return method.Invoke(null, args.ToArray());
		}
Exemple #9
0
 get => TryGetValue(_root, _props, out var value) ? value : null;