示例#1
0
        public override void CopyCustomBiomesTo(Player other)
        {
            EastsFishingGlobalPlayer modOther = other.GetModPlayer <EastsFishingGlobalPlayer>(mod);

            modOther.ZoneMarble  = ZoneMarble;
            modOther.ZoneForest  = ZoneForest;
            modOther.ZoneGranite = ZoneGranite;
            modOther.ZoneOcean   = ZoneOcean;
            modOther.ZoneHive    = ZoneHive;
            modOther.ZoneHell    = ZoneHell;
        }
示例#2
0
        public override bool CustomBiomesMatch(Player other)
        {
            EastsFishingGlobalPlayer modOther = other.GetModPlayer <EastsFishingGlobalPlayer>(mod);

            return(ZoneMarble == modOther.ZoneMarble);

            return(ZoneForest == modOther.ZoneForest);

            return(ZoneGranite == modOther.ZoneGranite);

            return(ZoneOcean == modOther.ZoneOcean);

            return(ZoneHive == modOther.ZoneHive);

            return(ZoneHell == modOther.ZoneHell);
        }