public static Wireframe GetWireframe(this BaseMulti multi, IBlock3D offset) { return(GetWireframe(multi, multi.ItemID, offset)); }
public static Wireframe GetWireframe(this BaseMulti multi, int multiID, IPoint3D offset) { return(GetWireframe(multi, multiID, offset, 0)); }
public static MultiComponentList GetComponents(this BaseMulti multi) { return(GetComponents(multi, multi.ItemID)); }
public static Wireframe GetWireframe(this BaseMulti multi, IPoint3D offset, int hOffset) { return(GetWireframe(multi, multi.ItemID, offset, hOffset)); }
public static Rectangle3D GetBoundsOffset(this BaseMulti multi, Point3D offset) { return(GetBounds(multi).Resize(offset.X, offset.Y, offset.Z)); }
public static Rectangle3D GetBounds(this BaseMulti multi) { return(GetBounds(multi, multi.ItemID)); }
public static Wireframe GetWireframe(this BaseMulti multi) { return(GetWireframe(multi, multi.ItemID)); }
public void OnMultiLeave(BaseMulti multi) { this.Remove(ref this.m_Multis, multi); }
public static Wireframe GetWireframe(this BaseMulti multi, int multiID, IBlock3D offset) { return(GetWireframe(multi, multiID, offset, offset.H)); }
public static Wireframe GetWireframe(this BaseMulti multi, int multiID, IPoint3D offset, int hOffset) { return (new Wireframe( GetWireframe(multi, multiID).Select(box => new Block3D(box.Clone3D(offset.X, offset.Y, offset.Z), box.H + hOffset)))); }
public GumpMulti(int x, int y, BaseMulti multi) : this(x, y, multi.Hue, multi.GetComponents()) { }
public static bool IsMultiOwner(this BaseMulti multi, Mobile mobile) => multi switch {
public static Wireframe GetWireframe(this BaseMulti multi, int multiID, IPoint3D offset, int hOffset) { var o = GetWireframe(multi, multiID); return(new Wireframe(o.Select(b => b.Offset(offset.X, offset.Y, offset.Z, hOffset)))); }
public void OnMultiLeave(BaseMulti multi) { Remove(ref m_Multis, multi); }
public static Rectangle3D GetBoundsOffset(this BaseMulti multi) { return(GetBoundsOffset(multi, multi.Location)); }
public void OnMultiEnter(BaseMulti multi) { Add(ref m_Multis, multi); }
public void OnMultiEnter(BaseMulti multi) { this.Add(ref this.m_Multis, multi); }