public void UpdateSingle(ZGame game, ZPlayMode mode) { _SingleRichPresence.Assets.LargeImageKey = _GetLargeImageKeyByGame(game); _SingleRichPresence.Assets.LargeImageText = _GetTitleByGame(game); _SingleRichPresence.Details = mode == ZPlayMode.Singleplayer ? "Singleplayer" : "Playground"; _SingleRichPresence.Timestamps = Timestamps.Now; _gamePresence = _SingleRichPresence; _gamePresenceToggle = true; }
public void UpdateCoop(ZPlayMode mode, CoopMissionModel model) { _CoopRichPresence.Assets.LargeImageKey = _GetLargeImageKeyByGame(ZGame.BF3); _CoopRichPresence.Assets.LargeImageText = mode == ZPlayMode.CooperativeHost ? _CoopRichPresence.Assets.LargeImageText = $"Host | {model.Name} | {model.Difficulty}" : _CoopRichPresence.Assets.LargeImageText = "In the lobby with my friend"; _CoopRichPresence.Timestamps = Timestamps.Now; _gamePresence = _CoopRichPresence; _gamePresenceToggle = true; }