jyx2/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs
/// <summary>Writes a value to the writer with the given key, using the given type rather than the generic parameter.</summary>
/// <param name="key">The key which uniquely identifies this value.</param>
/// <param name="value">The value we want to write.</param>
/// <param name="type">The type we want to use for the header, and to retrieve an ES3Type.</param>
Writes a value to the writer with the given key, using the given type rather than the generic parameter.
Writes a value to the writer with the given key using the given type rather than the generic parameter .
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
	public virtual void Write(Type type, string key, object value)
	{ 
		StartWriteProperty(key);
		StartWriteObject(key);
		WriteType(type);
		WriteProperty("value", value, ES3TypeMgr.GetOrCreateES3Type(type), settings.referenceMode);
		EndWriteObject(key);
        EndWriteProperty(key);
		MarkKeyForDeletion(key);
	}
[ System . ComponentModel . EditorBrowsable ( System . ComponentModel . EditorBrowsableState . Never ) ] public virtual void Write ( Type type , string key , object value ) { StartWriteProperty ( key ) ; StartWriteObject ( key ) ; WriteType ( type ) ; WriteProperty ( " " , value , ES3TypeMgr . GetOrCreateES3Type ( type ) , settings . referenceMode ) ; EndWriteObject ( key ) ; EndWriteProperty ( key ) ; MarkKeyForDeletion ( key ) ; }
Writes a value to the writer with the given key, using the given type rather than the generic parameter.
Writes a value to the writer with the given key using the given type rather than the generic parameter .
type
Type
The type we want to use for the header, and to retrieve an ES3Type.
The type we want to use for the header and to retrieve an ES3Type .
key
string
The key which uniquely identifies this value.
The key which uniquely identifies this value .
value
object
The value we want to write.
The value we want to write .