mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
GenerateSyncListInstanceInitializer comment added
This commit is contained in:
parent
648cb0ba1a
commit
91e13ce87a
@ -283,6 +283,7 @@ void GenerateConstants()
|
|||||||
m_td.Attributes = m_td.Attributes & ~TypeAttributes.BeforeFieldInit;
|
m_td.Attributes = m_td.Attributes & ~TypeAttributes.BeforeFieldInit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// generates 'syncListInt = new SyncListInt()' if user didn't do that yet
|
||||||
void GenerateSyncListInstanceInitializer(ILProcessor ctorWorker, FieldDefinition fd)
|
void GenerateSyncListInstanceInitializer(ILProcessor ctorWorker, FieldDefinition fd)
|
||||||
{
|
{
|
||||||
// check the ctor's instructions for an Stfld op-code for this specific sync list field.
|
// check the ctor's instructions for an Stfld op-code for this specific sync list field.
|
||||||
|
Loading…
Reference in New Issue
Block a user