Skip to content

Mirror::Weaver::Writers

Public Functions

Name
void Init()
void Register(TypeReference dataType, MethodReference methodReference)
MethodReference GetWriteFunc(TypeReference variable)
Finds existing writer for type, if non exists trys to create one

Public Functions Documentation

function Init

static inline void Init()

function Register

static inline void Register(
    TypeReference dataType,
    MethodReference methodReference
)

function GetWriteFunc

static inline MethodReference GetWriteFunc(
    TypeReference variable
)

Finds existing writer for type, if non exists trys to create one

Parameters:

  • variable
  • recursionCount

Return: Returns MethodReference or null

This method is recursive


Updated on 21 January 2021 at 21:34:07 UTC