C# Class Unity.IL2CPP.Marshaling.MarshalInfoWriters.DelegateMarshalInfoWriter

Inheritance: MarshalableMarshalInfoWriter
Show file Open project: CarlosHBC/UnityDecompiled

Public Properties

Property Type Description
_marshaledTypes Unity.IL2CPP.Marshaling.MarshaledType[]

Public Methods

Method Description
DelegateMarshalInfoWriter ( TypeReference type ) : Mono.Cecil
WriteMarshalCleanupVariable ( CppCodeWriter writer, string variableName, IRuntimeMetadataAccess metadataAccess, [ managedVariableName ) : void
WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, ManagedMarshalValue destinationVariable, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : void
WriteMarshalVariableToNative ( CppCodeWriter writer, ManagedMarshalValue sourceVariable, string destinationVariable, string managedVariableName, IRuntimeMetadataAccess metadataAccess ) : void
WriteMarshaledTypeForwardDeclaration ( CppCodeWriter writer ) : void
WriteNativeVariableDeclarationOfType ( CppCodeWriter writer, string variableName ) : void

Method Details

DelegateMarshalInfoWriter() public method

public DelegateMarshalInfoWriter ( TypeReference type ) : Mono.Cecil
type Mono.Cecil.TypeReference
return Mono.Cecil

WriteMarshalCleanupVariable() public method

public WriteMarshalCleanupVariable ( CppCodeWriter writer, string variableName, IRuntimeMetadataAccess metadataAccess, [ managedVariableName ) : void
writer CppCodeWriter
variableName string
metadataAccess IRuntimeMetadataAccess
managedVariableName [
return void

WriteMarshalVariableFromNative() public method

public WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, ManagedMarshalValue destinationVariable, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
variableName string
destinationVariable Unity.IL2CPP.Marshaling.ManagedMarshalValue
methodParameters IList
returnValue bool
forNativeWrapperOfManagedMethod bool
metadataAccess IRuntimeMetadataAccess
return void

WriteMarshalVariableToNative() public method

public WriteMarshalVariableToNative ( CppCodeWriter writer, ManagedMarshalValue sourceVariable, string destinationVariable, string managedVariableName, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
sourceVariable Unity.IL2CPP.Marshaling.ManagedMarshalValue
destinationVariable string
managedVariableName string
metadataAccess IRuntimeMetadataAccess
return void

WriteMarshaledTypeForwardDeclaration() public method

public WriteMarshaledTypeForwardDeclaration ( CppCodeWriter writer ) : void
writer CppCodeWriter
return void

WriteNativeVariableDeclarationOfType() public method

public WriteNativeVariableDeclarationOfType ( CppCodeWriter writer, string variableName ) : void
writer CppCodeWriter
variableName string
return void

Property Details

_marshaledTypes public property

public MarshaledType[],Unity.IL2CPP.Marshaling _marshaledTypes
return Unity.IL2CPP.Marshaling.MarshaledType[]