public static string GenerateMissionId(string missId, TalkDataMissionType talkDataMissionType) { string result = string.Empty; switch (talkDataMissionType) { case TalkDataMissionType.Task: result = "task-" + missId; break; case TalkDataMissionType.Level: result = "level-" + missId; break; case TalkDataMissionType.Tutorial: result = "tutorial-" + missId; break; } return(result); }
public void TDGAMissionOnCompleted(string missId, TalkDataMissionType talkDataMissionType) { TDGAMission.OnCompleted(GenerateMissionId(missId, talkDataMissionType)); }
public void TDGAMissionOnBegin(string missId, TalkDataMissionType talkDataMissionType) { TDGAMission.OnBegin(GenerateMissionId(missId, talkDataMissionType)); }