    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005    import java.io.File;
    006
    007    @SideOnly(Side.CLIENT)
    008    public class SaveHandlerMP implements ISaveHandler
    009    {
    010        /**
    011         * Loads and returns the world info
    012         */
    013        public WorldInfo loadWorldInfo()
    014        {
    015            return null;
    016        }
    017
    018        /**
    019         * Checks the session lock to prevent save collisions
    020         */
    021        public void checkSessionLock() throws MinecraftException {}
    022
    023        /**
    024         * Returns the chunk loader with the provided world provider
    025         */
    026        public IChunkLoader getChunkLoader(WorldProvider par1WorldProvider)
    027        {
    028            return null;
    029        }
    030
    031        /**
    032         * Saves the given World Info with the given NBTTagCompound as the Player.
    033         */
    034        public void saveWorldInfoWithPlayer(WorldInfo par1WorldInfo, NBTTagCompound par2NBTTagCompound) {}
    035
    036        /**
    037         * Saves the passed in world info.
    038         */
    039        public void saveWorldInfo(WorldInfo par1WorldInfo) {}
    040
    041        /**
    042         * returns null if no saveHandler is relevent (eg. SMP)
    043         */
    044        public IPlayerFileData getSaveHandler()
    045        {
    046            return null;
    047        }
    048
    049        /**
    050         * Called to flush all changes to disk, waiting for them to complete.
    051         */
    052        public void flush() {}
    053
    054        /**
    055         * Gets the file location of the given map
    056         */
    057        public File getMapFileFromName(String par1Str)
    058        {
    059            return null;
    060        }
    061
    062        /**
    063         * Returns the name of the directory where world information is saved.
    064         */
    065        public String getSaveDirectoryName()
    066        {
    067            return "none";
    068        }
    069    }