Esempio n. 1
0
        public override void CopyCustomBiomesTo(Player other)
        {
            BiomeHandler modOther = other.GetModPlayer <BiomeHandler>();

            modOther.ZoneGlass         = ZoneGlass;
            modOther.ZoneVoidPre       = ZoneVoidPre;
            modOther.ZoneJungleCorrupt = ZoneJungleCorrupt;
            modOther.ZoneJungleBloody  = ZoneJungleBloody;
            modOther.ZoneJungleHoly    = ZoneJungleHoly;
        }
Esempio n. 2
0
        public override bool CustomBiomesMatch(Player other)
        {
            BiomeHandler modOther = other.GetModPlayer <BiomeHandler>();
            bool         allMatch = true;

            allMatch &= ZoneGlass == modOther.ZoneGlass;
            allMatch &= ZoneVoidPre == modOther.ZoneVoidPre;
            allMatch &= ZoneJungleCorrupt == modOther.ZoneJungleCorrupt;
            allMatch &= ZoneJungleBloody == modOther.ZoneJungleBloody;
            allMatch &= ZoneJungleHoly == modOther.ZoneJungleHoly;
            return(allMatch);
        }
Esempio n. 3
0
        public override void CopyCustomBiomesTo(Player other)
        {
            BiomeHandler modOther = other.GetModPlayer <BiomeHandler>();

            modOther.ZoneGlass         = ZoneGlass;
            modOther.ZoneVoidPre       = ZoneVoidPre;
            modOther.ZoneJungleCorrupt = ZoneJungleCorrupt;
            modOther.ZoneJungleBloody  = ZoneJungleBloody;
            modOther.ZoneJungleHoly    = ZoneJungleHoly;
            modOther.ZoneOvergrow      = ZoneOvergrow;
            modOther.zoneAluminum      = zoneAluminum;
            modOther.zonePermafrost    = zonePermafrost;
            modOther.zoneAshhell       = zoneAshhell;
        }
Esempio n. 4
0
        public override bool CustomBiomesMatch(Player other)
        {
            BiomeHandler modOther = other.GetModPlayer <BiomeHandler>();
            bool         allMatch = true;

            allMatch &= ZoneGlass == modOther.ZoneGlass;
            allMatch &= ZoneVoidPre == modOther.ZoneVoidPre;
            allMatch &= ZoneJungleCorrupt == modOther.ZoneJungleCorrupt;
            allMatch &= ZoneJungleBloody == modOther.ZoneJungleBloody;
            allMatch &= ZoneJungleHoly == modOther.ZoneJungleHoly;
            allMatch &= ZoneOvergrow == modOther.ZoneOvergrow;
            allMatch &= zoneAluminum == modOther.zoneAluminum;
            allMatch &= zonePermafrost == modOther.zonePermafrost;
            allMatch &= zoneAshhell == modOther.zoneAshhell;
            return(allMatch);
        }