Exemplo n.º 1
0
 // END
 // if (API.Features.Scp096.TurnedPlayers.Contains(Player.Get(referenceHub)))
 //      continue;
 // START
 new CodeInstruction(OpCodes.Call, PropertyGetter(typeof(Scp096), nameof(Scp096.TurnedPlayers))).WithLabels(secondCheckPointer),
Exemplo n.º 2
0
 new CodeInstruction(OpCodes.Call, SymbolExtensions.GetMethodInfo(() => TestRect(default)))
Exemplo n.º 3
0
 // if (!InventoryItemLoader.AvailableItems.TryGetValue(ev.Type, out itemBase) || !(itemBase is ThrowableItem throwableItem))
 //    return;
 new CodeInstruction(OpCodes.Call, PropertyGetter(typeof(InventoryItemLoader), nameof(InventoryItemLoader.AvailableItems))).WithLabels(dontResetLabel),
Exemplo n.º 4
0
 new CodeInstruction(OpCodes.Call, PropertyGetter(typeof(Warhead), nameof(Warhead.CanBeStarted))).MoveLabelsFrom(newInstructions[index]),