Beispiel #1
0
        public void CheckToUpdate(L2Object obj, int _x, int _y, int radius, int height, bool delLongest, bool zones)
        {
            L2WorldRegion reg = GetRegion(_x, _y);

            if (reg != null)
            {
                reg.showObjects(obj, true, radius, height, delLongest, zones);
            }
            else
            {
                CLogger.warning("l2world: unrealiseEntry error, object on unk territory " + obj.X + " " + obj.Y + " " + obj.Z);
            }
        }
Beispiel #2
0
        public void GetKnowns(L2Object obj, int range, int height, bool zones)
        {
            L2WorldRegion reg = GetRegion(obj.X, obj.Y);

            obj.CurrentRegion = reg.getName();
            if (reg != null)
            {
                reg.showObjects(obj, true, range, height, true, zones);
            }
            else
            {
                CLogger.warning("l2world: unrealiseEntry error, object on unk territory " + obj.X + " " + obj.Y + " " + obj.Z);
            }
        }