Exemple #1
0
        private static void PatchASMCSharp()
        {
            try {
                BootstrapAttachPatch();

                ChatPatch();
                ClientAuthPatch();
                BeingHammeredPatch();
                BuildingBlockDemolishedPatch();
                CombatEntityHurtPatch();
                CraftingStartPatch();
                ConsumeFuel();

                DoUpgradeToGradePatch();
                DoPlacementPatch();
                DoorCodePatch();
                DoorUsePatch();

                ItemPickup();
                ItemUsed();
                ItemRepaired();
                ItemLoseCondition();

                LandmineArmed();
                LandmineExploded();
                LandmineTriggered();

                FieldsUpdate();

                GiveItemsPatch();

                PlayerConnectedPatch();
                PlayerDisconnectedPatch();
                PlayerStartLootingPatch();
                PlayerTakeRadiationPatch();
                PlayerDiedPatch();
                PlayerSleep();
                PlayerWakeUp();
                PlayerLoaded();
                PlayerWounded();
                PlayerAssisted();
                PlayerSyringeSelf();
                PlayerSyringeOther();
                PlayerClothingChanged();
                PlayerHealthChange();

                InventoryModificationPatch();

                NetworkableKillPatch();

                NPCDiedPatch();

                RespawnPatch();
                RocketShootEvent();

                ServerShutdownPatch();
                ServerSavedPatch();
                ServerInitPatch();
                SetModdedPatch();

                ClientConsoleCommandPatch();
                ServerConsoleCommandPatch();
                EventTriggeredPatch();
                ShootEvent();

                Mining();

                WeaponThrown();

                rustAssembly.CreateType("", "PlutonPatched");
            } catch (Exception ex) {
                Console.WriteLine(ex.ToString());
            }
        }