Server.Items.AddonComponent.OnLocationChange C# (CSharp) Method

OnLocationChange() public method

public OnLocationChange ( Point3D old ) : void
old Point3D
return void
        public override void OnLocationChange(Point3D old)
        {
            if (m_Addon != null)
                m_Addon.Location = new Point3D(X - m_Offset.X, Y - m_Offset.Y, Z - m_Offset.Z);
        }