public static bool CanWeLoadThisDLCFake(string DLCName) { DLCManager.SetHostOwnedDLCs(GetOwnedDLCsFake()); Chat.LogError("FakeDLC Load " + DLCName, true); return(true); //(SteamManager.IsSubscribedApp(DLCManager.NameToDLCInfo(DLCName).AppId) || DLCManager.HostDLCs.Contains(DLCName)); }
public static void LoadFake(DLCManager instance, string DLCName) { DLCManager.SetHostOwnedDLCs(GetOwnedDLCsFake()); // I don't remember if this is needed. DLCWebsiteInfo dlcInfo = DLCManager.NameToDLCInfo(DLCName); /*if (!SteamManager.IsSubscribedApp(dlcInfo.AppId)) * { * Chat.Log("You do not own DLC " + dlcInfo.Name + ". Cannot load.", Colour.red, ChatMessageType.Game, * false); * TTSUtilities.OpenURL("http://store.steampowered.com/app/" + dlcInfo.AppId.ToString()); * } * else * { * * }*/ Chat.Log(dlcInfo.Name + " has been haxed. Thanks & have fun.", Colour.Red, ChatMessageType.Game, false); instance.StartCoroutine(instance.LoadSaveFile(dlcInfo)); }
public static void DLCStartFake() { DLCManager.SetHostOwnedDLCs(GetOwnedDLCsFake()); }