Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Mono.Cecil;
- using Mono.Cecil.Cil;
- using SDX.Compiler;
- public class LogicGatesPatcher : IPatcherMod
- {
- public bool Patch(ModuleDefinition module)
- {
- Console.WriteLine("==LogicGates Patch===");
- //var pt= module.Types.First(d => d.Name == "PowerTrigger");
- //var field = pt.Fields.First(d=> d.Name == "TriggerPowerDurationTypes")
- //field = TriggerPowerDurationTypes;
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement