コード例 #1
0
        public async Task <IActionResult> UpdateUserPicture([FromBody] LevelUpCommand command)
        {
            command.UserId = UserId;

            var result = await Mediator.Send(command);

            return(Ok(result));
        }
コード例 #2
0
ファイル: RewardWindow.cs プロジェクト: KonH/BattlerGame
 Task OnLevelUp(LevelUpCommand cmd)
 {
     return(AddFragment($"{cmd.UnitId}: +1 Level"));
 }
コード例 #3
0
 private static string GetCommandText(LevelUpCommand command, MapInstance map)
 {
     return(Strings.EventCommandList.levelup);
 }