Integration Guide

  • Import package.
  • Go to tab MFPS > Addons > Competitive > Enable.
  • Add this snippet to bl_UserMetaData.cs in RawData class if not done this step for Battle Pass or Challenges:
public SeasonInfo SeasonData = new SeasonInfo();
  • Run integration by going MFPS > Addons > Competitive > Integrate and follow the steps.
  • Now add this snippet to bl_GameFinish.cs at the start of Show() to check for ranked modes:
if (CompetitiveData.Instance.IsCompetitiveMode())
{
    bool isWinner = bl_GameManager.Instance.isLocalPlayerWinner();
    CompetitiveData.Instance.UpdateILO(isWinner);
}
  • Add above snippet to bl_GameResumeProUI.cs at the start of CalculateStats() to check for ranked modes.

  • If you encounter errors for namespace Newtonsoft, go to Window > Package Manager. Click the + icon on top left of package manager. Select add package by name. Enter this and hit enter:
com.unity.nuget.newtonsoft-json

Powered by BetterDocs

Login
Loading...
Sign Up
Loading...