Exemplo n.º 1
0
 /// <summary>
 /// Adds the given <see cref="DateEvent" /> to the game.
 /// </summary>
 /// <param name="base">The <see cref="ModBase" /> that owns the <see cref="DateEvent" />.</param>
 /// <param name="internalName">The internal name of the <see cref="DateEvent" />.</param>
 /// <param name="event">The <see cref="DateEvent" /> to add.</param>
 public static void AddToGame(ModBase @base, string internalName, DateEvent @event)
 {
     events.Add(@base.mod.InternalName + ":" + internalName, @event);
 }
 /// <summary>
 /// Adds the given <see cref="DateEvent" /> to the game.
 /// </summary>
 /// <param name="base">The <see cref="ModBase" /> that owns the <see cref="DateEvent" />.</param>
 /// <param name="internalName">The internal name of the <see cref="DateEvent" />.</param>
 /// <param name="event">The <see cref="DateEvent" /> to add.</param>
 public static void AddToGame(ModBase @base, string internalName, DateEvent @event)
 {
     events.Add(@base.mod.InternalName + ":" + internalName, @event);
 }