Advertisement
Guest User

Untitled

a guest
Oct 5th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using Mono.Cecil;
  5. using Mono.Cecil.Cil;
  6. using SDX.Compiler;
  7.  
  8. public class LogicGatesPatcher : IPatcherMod
  9. {
  10.  
  11.  
  12.  
  13.     public bool Patch(ModuleDefinition module)
  14.     {
  15.         Console.WriteLine("==LogicGates Patch===");
  16.  
  17.         //var pt= module.Types.First(d => d.Name == "PowerTrigger");
  18.         //var field = pt.Fields.First(d=> d.Name == "TriggerPowerDurationTypes")
  19.         //field = TriggerPowerDurationTypes;
  20.  
  21.         return true;
  22.  
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement