Пример #1
0
 /// <summary>
 /// Transfers codepoints from an arbitrary character to the save file.
 /// </summary>
 /// <param name="who">The character name</param>
 /// <param name="amount">The amount of Codepoints.</param>
 public static void TransferCodepointsFrom(string who, ulong amount)
 {
     NotificationDaemon.AddNotification(NotificationType.CodepointsReceived, amount);
     CurrentSave.Codepoints += amount;
 }
Пример #2
0
 /// <summary>
 /// Deducts a set amount of Codepoints from the save file... and sends them to a place where they'll never be seen again.
 /// </summary>
 /// <param name="amount">The amount of Codepoints to deduct.</param>
 public static void TransferCodepointsToVoid(ulong amount)
 {
     CurrentSave.Codepoints -= amount;
     NotificationDaemon.AddNotification(NotificationType.CodepointsSent, amount);
 }