コード例 #1
0
        public override bool CustomBiomesMatch(Player other)
        {
            BiomeManager modOther = other.GetModPlayer <BiomeManager>();
            bool         allMatch = true;

            allMatch &= ZoneGrove == modOther.ZoneGrove;
            return(allMatch);
        }
コード例 #2
0
        public override void CopyCustomBiomesTo(Player other)
        {
            BiomeManager modOther = other.GetModPlayer <BiomeManager>();

            modOther.ZoneGrove = ZoneGrove;
        }