Ejemplo n.º 1
0
        public static string Path()
        {
            if (GameSetup.IsMultiplayer)
            {
                if (GameSetup.IsMpClient)
                {
                    return("Mods/Champions of the Forest/Multiplayer/" + PlayerSpawn.GetClientSaveFileName());
                }
                else if (GameSetup.IsMpServer)
                {
                    if (GameSetup.Slot.ToString() == "0")
                    {
                        return(string.Empty);
                    }

                    return("Mods/Champions of the Forest/Multiplayer/" + GameSetup.Slot.ToString());
                }
            }
            if (GameSetup.Slot.ToString() == "0")
            {
                return(string.Empty);
            }

            return("Mods/Champions of the Forest/Singleplayer/" + GameSetup.Slot.ToString());
        }