public object ReadData(AMFReader reader, ClassDefinition classDefinition) {
			ASObject aso = new ASObject(_typeIdentifier);
			reader.AddAMF3ObjectReference(aso);
			string key = reader.ReadAMF3String();
			aso.TypeName = _typeIdentifier;
			while (key != string.Empty) {
				object value = reader.ReadAMF3Data();
				aso.Add(key, value);
				key = reader.ReadAMF3String();
			}
			return aso;
		}
        public object ReadData(AMFReader reader, ClassDefinition classDefinition)
        {
            ASObject aso = new ASObject(_typeIdentifier);

            reader.AddAMF3ObjectReference(aso);
            string key = reader.ReadAMF3String();

            aso.TypeName = _typeIdentifier;
            while (key != string.Empty)
            {
                object value = reader.ReadAMF3Data();
                aso.Add(key, value);
                key = reader.ReadAMF3String();
            }
            return(aso);
        }
        public object ReadData(AMFReader reader, ClassDefinition classDefinition)
        {
            ASObject instance = new ASObject(this._typeIdentifier);

            reader.AddAMF3ObjectReference(instance);
            string key = reader.ReadAMF3String();

            instance.TypeName = this._typeIdentifier;
            while (key != string.Empty)
            {
                object obj3 = reader.ReadAMF3Data();
                instance.Add(key, obj3);
                key = reader.ReadAMF3String();
            }
            return(instance);
        }
Beispiel #4
0
 public object ReadData(AMFReader reader)
 {
     return(reader.ReadAMF3String());
 }
Beispiel #5
0
		public object ReadData(AMFReader reader)
		{
			return reader.ReadAMF3String();
		}