Mirror::Weaver::NetworkBehaviourProcessor
processes SyncVars, Cmds, Rpcs, etc. of NetworkBehaviours
Public Classes
Public Functions
|
Name |
|
NetworkBehaviourProcessor(TypeDefinition td) |
bool |
Process() |
void |
WriteClientActiveCheck(ILProcessor worker, string mdName, Instruction label, string errString) |
void |
WriteServerActiveCheck(ILProcessor worker, string mdName, Instruction label, string errString) |
void |
WriteSetupLocals(ILProcessor worker) |
void |
WriteCreateWriter(ILProcessor worker) |
void |
WriteRecycleWriter(ILProcessor worker) |
bool |
WriteArguments(ILProcessor worker, MethodDefinition method, RemoteCallType callType) |
bool |
WasProcessed(TypeDefinition td) |
void |
MarkAsProcessed(TypeDefinition td) |
bool |
ReadArguments(MethodDefinition method, ILProcessor worker, RemoteCallType callType) |
void |
AddInvokeParameters(ICollection< ParameterDefinition > collection) |
bool |
ValidateRemoteCallAndParameters(MethodDefinition method, RemoteCallType callType) |
bool |
IsSenderConnection(ParameterDefinition param, RemoteCallType callType) |
Public Attributes
Public Functions Documentation
function NetworkBehaviourProcessor
inline NetworkBehaviourProcessor(
TypeDefinition td
)
function Process
function WriteClientActiveCheck
static inline void WriteClientActiveCheck(
ILProcessor worker,
string mdName,
Instruction label,
string errString
)
function WriteServerActiveCheck
static inline void WriteServerActiveCheck(
ILProcessor worker,
string mdName,
Instruction label,
string errString
)
function WriteSetupLocals
static inline void WriteSetupLocals(
ILProcessor worker
)
function WriteCreateWriter
static inline void WriteCreateWriter(
ILProcessor worker
)
function WriteRecycleWriter
static inline void WriteRecycleWriter(
ILProcessor worker
)
function WriteArguments
static inline bool WriteArguments(
ILProcessor worker,
MethodDefinition method,
RemoteCallType callType
)
function WasProcessed
static inline bool WasProcessed(
TypeDefinition td
)
function MarkAsProcessed
static inline void MarkAsProcessed(
TypeDefinition td
)
function ReadArguments
static inline bool ReadArguments(
MethodDefinition method,
ILProcessor worker,
RemoteCallType callType
)
function AddInvokeParameters
static inline void AddInvokeParameters(
ICollection< ParameterDefinition > collection
)
function ValidateRemoteCallAndParameters
static inline bool ValidateRemoteCallAndParameters(
MethodDefinition method,
RemoteCallType callType
)
function IsSenderConnection
static inline bool IsSenderConnection(
ParameterDefinition param,
RemoteCallType callType
)
Public Attributes Documentation
variable ProcessedFunctionName
const string ProcessedFunctionName = "MirrorProcessed";
Updated on 17 January 2021 at 15:32:35 UTC