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