хочу чтобы ты научился переделывать код из псевдо в c# 

приведу пример : 

было - было 
void __fastcall Oxide_PlayerManager__CmdRespawn(Oxide_PlayerManager_o *this, const MethodInfo *method)
{
  Mirror_NetworkBehaviour_o *v2; // r4
  Mirror_NetworkWriter_o *v3; // r5
  Il2CppType *v4; // r6
  System_Type_o *v5; // r0

  v2 = (Mirror_NetworkBehaviour_o *)this;
  if ( !byte_3249D39 )
  {
    sub_6758A4(&Mirror_NetworkWriterPool_TypeInfo);
    sub_6758A4(&Oxide_PlayerManager_var);
    sub_6758A4(&System_Type_TypeInfo);
    sub_6758A4(&StringLiteral_3659);
    byte_3249D39 = 1;
  }
  if ( !Mirror_NetworkWriterPool_TypeInfo->_2.cctor_finished )
    il2cpp_runtime_class_init(Mirror_NetworkWriterPool_TypeInfo);
  v3 = (Mirror_NetworkWriter_o *)Mirror_NetworkWriterPool__GetWriter(0);
  v4 = Oxide_PlayerManager_var;
  if ( !System_Type_TypeInfo->_2.cctor_finished )
    il2cpp_runtime_class_init(System_Type_TypeInfo);
  v5 = System_Type__GetTypeFromHandle((System_RuntimeTypeHandle_o)v4, 0);
  Mirror_NetworkBehaviour__SendCommandInternal(v2, v5, (System_String_o *)StringLiteral_3659, v3, 0, 1, 0);
  Mirror_NetworkWriterPool__Recycle((Mirror_PooledNetworkWriter_o *)v3, 0);
}


стало -  public void CmdRespawn()
  {
    var writer = GetWriter();
    var _this = GetTypeFromHandle(this);
    SendCommandInternal(_this,"CmdRespawn", writer, 0, true);
    Recycle(writer);
  }

проанализируй и пойми логику перекодировки и попробуй сам Provide your response in exactly 7 paragraphs (separated nearby paragraphs with 3 aterisk symbols ***).
user