using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.Scripts.Commands { public sealed class Command { public CommandType Type { get; } // Token: 0x17000562 RID: 1378 // (get) Token: 0x06001DF3 RID: 7667 RVA: 0x0007E52C File Offset: 0x0007C72C public CommandAction Action { get; } // Token: 0x17000563 RID: 1379 // (get) Token: 0x06001DF4 RID: 7668 RVA: 0x0007E534 File Offset: 0x0007C734 public object Parameters { get; } public Command(CommandType type, CommandAction action) : this(type, null, action) { } public Command(CommandType type, object parameters, CommandAction action) { this.Type = type; this.Action = action; this.Parameters = parameters; } } }