C# 클래스 CryEngine.Serialization.CrySerializer

상속: IFormatter, ICrySerialize
파일 보기 프로젝트 열기: PoppermostProductions/CryMono 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

BeginGroup() 공개 메소드

public BeginGroup ( string name ) : void
name string
리턴 void

CrySerializer() 공개 메소드

public CrySerializer ( ) : System
리턴 System

Deserialize() 공개 메소드

public Deserialize ( Stream stream ) : object
stream Stream
리턴 object

DeserializeFromString() 공개 정적인 메소드

public static DeserializeFromString ( string data ) : object
data string
리턴 object

EndGroup() 공개 메소드

public EndGroup ( ) : void
리턴 void

EnumValue() 공개 메소드

public EnumValue ( string name, int &obj, int first, int last ) : void
name string
obj int
first int
last int
리턴 void

EnumValue() 공개 메소드

public EnumValue ( string name, uint &obj, uint first, uint last ) : void
name string
obj uint
first uint
last uint
리턴 void

FlagPartialRead() 공개 메소드

public FlagPartialRead ( ) : void
리턴 void

Serialize() 공개 메소드

public Serialize ( Stream stream, object graph ) : void
stream Stream
graph object
리턴 void

SerializeToString() 공개 정적인 메소드

public static SerializeToString ( object graph ) : string
graph object
리턴 string

StartRead() 공개 메소드

Starts reading an reference that was written with StartWrite.
public StartRead ( ) : ObjectReference
리턴 ObjectReference

StartWrite() 공개 메소드

Starts writing the specified reference.
public StartWrite ( ObjectReference objectReference ) : void
objectReference ObjectReference
리턴 void

Value() 공개 메소드

public Value ( string name, EntityId &obj, string policy = null ) : void
name string
obj EntityId
policy string
리턴 void

Value() 공개 메소드

public Value ( string name, Quat &obj, string policy = null ) : void
name string
obj Quat
policy string
리턴 void

Value() 공개 메소드

public Value ( string name, Vec3 &obj, string policy = null ) : void
name string
obj Vec3
policy string
리턴 void

Value() 공개 메소드

public Value ( string name, bool &obj, string policy = null ) : void
name string
obj bool
policy string
리턴 void

Value() 공개 메소드

public Value ( string name, float &obj, string policy = null ) : void
name string
obj float
policy string
리턴 void

Value() 공개 메소드

public Value ( string name, int &obj, string policy = null ) : void
name string
obj int
policy string
리턴 void

Value() 공개 메소드

public Value ( string name, string &obj, string policy = null ) : void
name string
obj string
policy string
리턴 void

Value() 공개 메소드

public Value ( string name, uint &obj, string policy = null ) : void
name string
obj uint
policy string
리턴 void