Exemple #1
0
        public void undo()
        {
            ActionAPI action = this.actions.Pop();

            action.undo();
            throw new NotImplementedException();
        }
Exemple #2
0
        public async Task <Embed> GetAction(ulong itemId)
        {
            XIVAPI.Action action = await ActionAPI.Get(itemId);

            EmbedBuilder embed = action.ToEmbed();

            return(embed.Build());
        }
Exemple #3
0
 /// <summary>
 ///  Adds an action performed during the turn
 /// </summary>
 public void addAction(ActionAPI a)
 {
     this.actions.Push(a);
 }