private void LootItemsCallback(CommandDTO commandDTO) { var lootItemsParams = ((LootItemsDTO)commandDTO).command.parameters; AddLootItems(lootItemsParams.items); }