Пример #1
0
 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));
 }
Пример #2
0
        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));
        }
Пример #3
0
 public static void DLCStartFake()
 {
     DLCManager.SetHostOwnedDLCs(GetOwnedDLCsFake());
 }