本文整理汇总了C#中Common.Replace方法的典型用法代码示例。如果您正苦于以下问题:C# Common.Replace方法的具体用法?C# Common.Replace怎么用?C# Common.Replace使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Common
的用法示例。
在下文中一共展示了Common.Replace方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddInteraction
public virtual void AddInteraction(Common.InteractionInjectorList interactions)
{
if (!Common.AssemblyCheck.IsInstalled("NRaasShooless"))
{
interactions.Replace<IShowerable, Shower.TakeShower.Definition>(Singleton);
}
}
示例2: AddInteraction
public override void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<ShowerOutdoor, ShowerOutdoor.TakeShower.Definition>(ShowerOutdoor.TakeShower.Singleton);
// The other interactions are added by ShowerWoohoo itself
interactions.Add<IShowerable>(ShowerWoohoo.SafeSingleton);
}
示例3: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<WeatherStone, WeatherStone.SummonWeather.Definition>(Singleton);
}
示例4: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<GameObject, PlantObjectHere.Definition>(Singleton);
}
示例5: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<Sim, MagicWand.CastGoodLuckCharm.Definition>(MagicWand.CastGoodLuckCharm.Singleton);
}
示例6: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
if (!GameUtils.IsInstalled(ProductVersion.EP4)) return;
interactions.Replace<Sim, OccultImaginaryFriend.OfferToTurnReal.Definition>(Singleton);
}
示例7: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<Phone, Phone.CallThrowParty.Definition>(Singleton);
}
示例8: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<TimePortal, TimePortal.ActivateDeactivate.Definition>(Singleton);
}
示例9: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<VanityDresser, VanityDresser.ChangeAppearance.Definition>(Singleton);
}
示例10: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Add<RoutineMachine>(PrivacyInteraction.Singleton);
interactions.Replace<RoutineMachine, RoutineMachine.TeleportToCommunityLot.Definition>(Singleton);
}
示例11: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<CityHall, CityHall.ScheduleFireworkShow.ScheduleFireworkDefinition>(Singleton);
}
示例12: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<Computer, Computer.TravelToVacationWorld.Definition>(Singleton);
}
示例13: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<Sim, MagicWand.CastFireBlast.Definition>(MagicWand.CastFireBlast.Singleton);
}
示例14: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<Plant, Plant.Bloom.Definition>(Singleton);
}
示例15: AddInteraction
public void AddInteraction(Common.InteractionInjectorList interactions)
{
interactions.Replace<RoutineMachine, RoutineMachine.TeleportToGym.Definition>(Singleton);
}