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

Inheritance: DefaultMarshalInfoWriter
Datei anzeigen Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
LPStructMarshalInfoWriter ( TypeReference type, MarshalType marshalType ) : Mono.Cecil
WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : string
WriteMarshalVariableToNative ( CppCodeWriter writer, ManagedMarshalValue sourceVariable, string managedVariableName, IRuntimeMetadataAccess metadataAccess ) : string

Method Details

LPStructMarshalInfoWriter() public method

public LPStructMarshalInfoWriter ( TypeReference type, MarshalType marshalType ) : Mono.Cecil
type Mono.Cecil.TypeReference
marshalType MarshalType
return Mono.Cecil

WriteMarshalVariableFromNative() public method

public WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : string
writer CppCodeWriter
variableName string
methodParameters IList
returnValue bool
forNativeWrapperOfManagedMethod bool
metadataAccess IRuntimeMetadataAccess
return string

WriteMarshalVariableToNative() public method

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