C# 클래스 FOnline.NativeFields

파일 보기 프로젝트 열기: wladimiiir/vault112 1 사용 예제들

공개 메소드들

메소드 설명
GetBoolean ( IntPtr ptr, int offset ) : bool
GetByte ( IntPtr ptr, int offset ) : byte
GetInt16 ( IntPtr ptr, int offset ) : short
GetInt32 ( IntPtr ptr, int offset ) : int
GetIntPtr ( IntPtr ptr, int offset ) : IntPtr
GetSByte ( IntPtr ptr, int offset ) : sbyte
GetUInt16 ( IntPtr ptr, int offset ) : ushort
GetUInt32 ( IntPtr ptr, int offset ) : uint
InitFieldOffsets ( Type type ) : void

Iterates over all fields with prefix offset and set them the native type field offsets.

SetBoolean ( IntPtr ptr, int offset, bool value ) : void
SetByte ( IntPtr ptr, int offset, byte value ) : void
SetInt16 ( IntPtr ptr, int offset, short value ) : void
SetInt32 ( IntPtr ptr, int offset, int value ) : void
SetIntPtr ( IntPtr ptr, int offset, IntPtr value ) : void
SetSByte ( IntPtr ptr, int offset, sbyte value ) : void
SetUInt16 ( IntPtr ptr, int offset, ushort value ) : void
SetUInt32 ( IntPtr ptr, int offset, uint value ) : void

비공개 메소드들

메소드 설명
GetFieldOffset ( string typename, string fieldname ) : int

메소드 상세

GetBoolean() 공개 정적인 메소드

public static GetBoolean ( IntPtr ptr, int offset ) : bool
ptr System.IntPtr
offset int
리턴 bool

GetByte() 공개 정적인 메소드

public static GetByte ( IntPtr ptr, int offset ) : byte
ptr System.IntPtr
offset int
리턴 byte

GetInt16() 공개 정적인 메소드

public static GetInt16 ( IntPtr ptr, int offset ) : short
ptr System.IntPtr
offset int
리턴 short

GetInt32() 공개 정적인 메소드

public static GetInt32 ( IntPtr ptr, int offset ) : int
ptr System.IntPtr
offset int
리턴 int

GetIntPtr() 공개 정적인 메소드

public static GetIntPtr ( IntPtr ptr, int offset ) : IntPtr
ptr System.IntPtr
offset int
리턴 System.IntPtr

GetSByte() 공개 정적인 메소드

public static GetSByte ( IntPtr ptr, int offset ) : sbyte
ptr System.IntPtr
offset int
리턴 sbyte

GetUInt16() 공개 정적인 메소드

public static GetUInt16 ( IntPtr ptr, int offset ) : ushort
ptr System.IntPtr
offset int
리턴 ushort

GetUInt32() 공개 정적인 메소드

public static GetUInt32 ( IntPtr ptr, int offset ) : uint
ptr System.IntPtr
offset int
리턴 uint

InitFieldOffsets() 공개 정적인 메소드

Iterates over all fields with prefix offset and set them the native type field offsets.
public static InitFieldOffsets ( Type type ) : void
type System.Type /// Type. ///
리턴 void

SetBoolean() 공개 정적인 메소드

public static SetBoolean ( IntPtr ptr, int offset, bool value ) : void
ptr System.IntPtr
offset int
value bool
리턴 void

SetByte() 공개 정적인 메소드

public static SetByte ( IntPtr ptr, int offset, byte value ) : void
ptr System.IntPtr
offset int
value byte
리턴 void

SetInt16() 공개 정적인 메소드

public static SetInt16 ( IntPtr ptr, int offset, short value ) : void
ptr System.IntPtr
offset int
value short
리턴 void

SetInt32() 공개 정적인 메소드

public static SetInt32 ( IntPtr ptr, int offset, int value ) : void
ptr System.IntPtr
offset int
value int
리턴 void

SetIntPtr() 공개 정적인 메소드

public static SetIntPtr ( IntPtr ptr, int offset, IntPtr value ) : void
ptr System.IntPtr
offset int
value System.IntPtr
리턴 void

SetSByte() 공개 정적인 메소드

public static SetSByte ( IntPtr ptr, int offset, sbyte value ) : void
ptr System.IntPtr
offset int
value sbyte
리턴 void

SetUInt16() 공개 정적인 메소드

public static SetUInt16 ( IntPtr ptr, int offset, ushort value ) : void
ptr System.IntPtr
offset int
value ushort
리턴 void

SetUInt32() 공개 정적인 메소드

public static SetUInt32 ( IntPtr ptr, int offset, uint value ) : void
ptr System.IntPtr
offset int
value uint
리턴 void