public void Defunct_ReportLevelTime(FreshLevels.Type type, float levelTime) { if (fa.dontConnect3rdParty) { return; } if (RemoteData.myAccount != null) { RemoteData.ReportLevelTime(RemoteData.myAccount, type.ToString(), "" + levelTime, (data) => { genericDebug += "" + data; }); } }
public void Defunct_CallReportLevelTime(FreshLevels.Type type, float levelTime) { if (fa.dontConnect3rdParty) { return; } RemoteData.Account a = new RemoteData.Account(); a.username = "******"; a.token = "valid"; RemoteData.ReportLevelTime(a, type.ToString(), "" + levelTime, (data) => { genericPrint += "" + data; }); }
public void RequestLeaderboard(FreshLevels.Type type) { if (fa.dontConnect3rdParty) { return; } if (RemoteData.myAccount != null) { RemoteData.RequestLeaderboard(RemoteData.myAccount, type.ToString(), (data) => { resultFromRequestLeaderboard = true; resultFromRequestLeaderboard_data = data; }); } }