C# Class CryEngine.Serialization.CrySerializer

Inheritance: IFormatter, ICrySerialize
Afficher le fichier Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Свойство Type Description
GetIEnumerableElementType System.Type
GetType System.Type
ReadAny void
ReadArray void
ReadDelegate System.Delegate
ReadDelegate void
ReadEnum void
ReadEnumerable void
ReadGenericEnumerable void
ReadIntPtr void
ReadLine string
ReadMemberInfo MemberInfo
ReadMemberInfo void
ReadObject void
ReadReference void
ReadString void
ReadType Type
ReadType void
ReadUnusedMarker void
TryWriteReference bool
WriteAny void
WriteArray void
WriteDelegate void
WriteDelegate void
WriteEnum void
WriteEnumerable void
WriteGenericEnumerable void
WriteIntPtr void
WriteLine void
WriteMemberInfo void
WriteMemberInfo void
WriteObject void
WriteReference void
WriteString void
WriteType void
WriteType void
WriteUnusedMarker void

Méthodes publiques

Méthode Description
BeginGroup ( string name ) : void
CrySerializer ( ) : System
Deserialize ( Stream stream ) : object
DeserializeFromString ( string data ) : object
EndGroup ( ) : void
EnumValue ( string name, int &obj, int first, int last ) : void
EnumValue ( string name, uint &obj, uint first, uint last ) : void
FlagPartialRead ( ) : void
Serialize ( Stream stream, object graph ) : void
SerializeToString ( object graph ) : string
StartRead ( ) : ObjectReference

Starts reading an reference that was written with StartWrite.

StartWrite ( ObjectReference objectReference ) : void

Starts writing the specified reference.

Value ( string name, EntityId &obj, string policy = null ) : void
Value ( string name, Quat &obj, string policy = null ) : void
Value ( string name, Vec3 &obj, string policy = null ) : void
Value ( string name, bool &obj, string policy = null ) : void
Value ( string name, float &obj, string policy = null ) : void
Value ( string name, int &obj, string policy = null ) : void
Value ( string name, string &obj, string policy = null ) : void
Value ( string name, uint &obj, string policy = null ) : void

Private Methods

Méthode Description
GetIEnumerableElementType ( Type enumerableType ) : Type
GetType ( string typeName ) : Type
ReadAny ( ObjectReference objReference ) : void
ReadArray ( ObjectReference objReference ) : void
ReadDelegate ( ) : Delegate
ReadDelegate ( ObjectReference objReference ) : void
ReadEnum ( ObjectReference objReference ) : void
ReadEnumerable ( ObjectReference objReference ) : void
ReadGenericEnumerable ( ObjectReference objReference ) : void
ReadIntPtr ( ObjectReference objReference ) : void
ReadLine ( ) : string
ReadMemberInfo ( ) : MemberInfo
ReadMemberInfo ( ObjectReference objReference ) : void
ReadObject ( ObjectReference objReference ) : void
ReadReference ( ObjectReference objReference ) : void
ReadString ( ObjectReference objReference ) : void
ReadType ( ) : Type
ReadType ( ObjectReference objReference ) : void
ReadUnusedMarker ( ObjectReference objReference ) : void
TryWriteReference ( ObjectReference objectReference ) : bool

Checks if this object has already been serialized.

WriteAny ( ObjectReference objectReference ) : void
WriteArray ( ObjectReference objectReference ) : void
WriteDelegate ( Delegate _delegate ) : void
WriteDelegate ( ObjectReference objectReference ) : void
WriteEnum ( ObjectReference objectReference ) : void
WriteEnumerable ( ObjectReference objectReference ) : void
WriteGenericEnumerable ( ObjectReference objectReference ) : void
WriteIntPtr ( ObjectReference objectReference ) : void
WriteLine ( object value ) : void
WriteMemberInfo ( MemberInfo memberInfo ) : void
WriteMemberInfo ( ObjectReference objectReference ) : void
WriteObject ( ObjectReference objectReference ) : void
WriteReference ( ObjectReference objReference, int line ) : void
WriteString ( ObjectReference objectReference ) : void
WriteType ( ObjectReference objectReference ) : void
WriteType ( Type type ) : void
WriteUnusedMarker ( ObjectReference objectReference ) : void

Method Details

BeginGroup() public méthode

public BeginGroup ( string name ) : void
name string
Résultat void

CrySerializer() public méthode

public CrySerializer ( ) : System
Résultat System

Deserialize() public méthode

public Deserialize ( Stream stream ) : object
stream Stream
Résultat object

DeserializeFromString() public static méthode

public static DeserializeFromString ( string data ) : object
data string
Résultat object

EndGroup() public méthode

public EndGroup ( ) : void
Résultat void

EnumValue() public méthode

public EnumValue ( string name, int &obj, int first, int last ) : void
name string
obj int
first int
last int
Résultat void

EnumValue() public méthode

public EnumValue ( string name, uint &obj, uint first, uint last ) : void
name string
obj uint
first uint
last uint
Résultat void

FlagPartialRead() public méthode

public FlagPartialRead ( ) : void
Résultat void

Serialize() public méthode

public Serialize ( Stream stream, object graph ) : void
stream Stream
graph object
Résultat void

SerializeToString() public static méthode

public static SerializeToString ( object graph ) : string
graph object
Résultat string

StartRead() public méthode

Starts reading an reference that was written with StartWrite.
public StartRead ( ) : ObjectReference
Résultat ObjectReference

StartWrite() public méthode

Starts writing the specified reference.
public StartWrite ( ObjectReference objectReference ) : void
objectReference ObjectReference
Résultat void

Value() public méthode

public Value ( string name, EntityId &obj, string policy = null ) : void
name string
obj EntityId
policy string
Résultat void

Value() public méthode

public Value ( string name, Quat &obj, string policy = null ) : void
name string
obj Quat
policy string
Résultat void

Value() public méthode

public Value ( string name, Vec3 &obj, string policy = null ) : void
name string
obj Vec3
policy string
Résultat void

Value() public méthode

public Value ( string name, bool &obj, string policy = null ) : void
name string
obj bool
policy string
Résultat void

Value() public méthode

public Value ( string name, float &obj, string policy = null ) : void
name string
obj float
policy string
Résultat void

Value() public méthode

public Value ( string name, int &obj, string policy = null ) : void
name string
obj int
policy string
Résultat void

Value() public méthode

public Value ( string name, string &obj, string policy = null ) : void
name string
obj string
policy string
Résultat void

Value() public méthode

public Value ( string name, uint &obj, string policy = null ) : void
name string
obj uint
policy string
Résultat void