File tree Expand file tree Collapse file tree
com.unity.netcode.gameobjects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2891,14 +2891,6 @@ private MethodDefinition GenerateStaticHandler(MethodDefinition methodDefinition
28912891
28922892 var processor = rpcHandler. Body. GetILProcessor( ) ;
28932893
2894- var isServerRpc = rpcAttribute. AttributeType. FullName == CodeGenHelpers. ServerRpcAttribute_FullName;
2895- foreach ( var attrField in rpcAttribute. Fields)
2896- {
2897- switch ( attrField. Name)
2898- {
2899- }
2900- }
2901-
29022894 rpcHandler. Body. InitLocals = true;
29032895 // NetworkManager networkManager;
29042896 rpcHandler. Body. Variables. Add( new VariableDefinition( m_NetworkManager_TypeRef) ) ;
Original file line number Diff line number Diff line change @@ -3861,17 +3861,6 @@ protected void Initialize()
38613861
38623862 #region PARENTING AND OWNERSHIP
38633863 /// <inheritdoc/>
3864- public override void OnLostOwnership ( )
3865- {
3866- base . OnLostOwnership ( ) ;
3867- }
3868-
3869- /// <inheritdoc/>
3870- public override void OnGainedOwnership ( )
3871- {
3872- base . OnGainedOwnership ( ) ;
3873- }
3874- /// <inheritdoc/>
38753864 protected override void OnOwnershipChanged ( ulong previous , ulong current )
38763865 {
38773866 // If we were the previous owner or the newly assigned owner then reinitialize
You can’t perform that action at this time.
0 commit comments