C# Class NScumm.Platform

Inheritance: IPlatform
Mostra file Open project: scemino/nscumm

Public Methods

Method Description
FromStructure ( object obj ) : byte[]
LoadAssembly ( string dll ) : Assembly
SizeOf ( Type type ) : int
Sleep ( int timeInMs ) : void
ToStructure ( byte data, int offset, Type type ) : object
WriteStructure ( byte data, int offset, Type type ) : IWrappedObject

Method Details

FromStructure() public method

public FromStructure ( object obj ) : byte[]
obj object
return byte[]

LoadAssembly() public method

public LoadAssembly ( string dll ) : Assembly
dll string
return System.Reflection.Assembly

SizeOf() public method

public SizeOf ( Type type ) : int
type System.Type
return int

Sleep() public method

public Sleep ( int timeInMs ) : void
timeInMs int
return void

ToStructure() public method

public ToStructure ( byte data, int offset, Type type ) : object
data byte
offset int
type System.Type
return object

WriteStructure() public method

public WriteStructure ( byte data, int offset, Type type ) : IWrappedObject
data byte
offset int
type System.Type
return IWrappedObject