Ejemplo n.º 1
0
 public async Task RespondToMissionHandler(RespondToMissionMessage message, Player player)
 {
     await player.GetComponent <MissionInventoryComponent>().RespondToMissionAsync(
         message.MissionId,
         message.Receiver,
         message.RewardItem
         );
 }
Ejemplo n.º 2
0
 public async Task RespondToMissionHandler(RespondToMissionMessage message, Player player)
 {
     await player.OnRespondToMission.InvokeAsync(message.MissionId, message.Receiver, message.RewardItem);
 }