mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
vars and target-typed new
This commit is contained in:
@@ -58,7 +58,7 @@ public class Deck
|
||||
{
|
||||
get
|
||||
{
|
||||
var str = "";
|
||||
var str = string.Empty;
|
||||
|
||||
if (Number <= 10 && Number > 1)
|
||||
{
|
||||
@@ -106,7 +106,7 @@ public class Deck
|
||||
|
||||
public string GetEmojiString()
|
||||
{
|
||||
var str = "";
|
||||
var str = string.Empty;
|
||||
|
||||
str += _regIndicators[this.Number - 1];
|
||||
str += _suitToSuitChar[this.Suit];
|
||||
|
@@ -71,7 +71,7 @@ public class GameStatusEvent : ICurrencyEvent
|
||||
private async void OnTimerTick(object state)
|
||||
{
|
||||
var potEmpty = PotEmptied;
|
||||
List<ulong> toAward = new List<ulong>();
|
||||
var toAward = new List<ulong>();
|
||||
while (_toAward.TryDequeue(out var x))
|
||||
{
|
||||
toAward.Add(x);
|
||||
|
@@ -67,7 +67,7 @@ public class ReactionEvent : ICurrencyEvent
|
||||
private async void OnTimerTick(object state)
|
||||
{
|
||||
var potEmpty = PotEmptied;
|
||||
List<ulong> toAward = new List<ulong>();
|
||||
var toAward = new List<ulong>();
|
||||
while (_toAward.TryDequeue(out var x))
|
||||
{
|
||||
toAward.Add(x);
|
||||
|
Reference in New Issue
Block a user