mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Initial position to DID conversion * Some cleanup * Update WorldObject_Magic.cs * Update WorldObject_Magic.cs * Update EmoteManager.cs * Update WorldObject_Magic.cs * Update WorldObject_Magic.cs * Clear away warnings * Add cast motion to CastSpell emote * Update EmoteManager.cs * Change debug output for positions to be teleloc friendly * Update changelog.md * Add OnPortal to EmoteManager and use it on Portals * Update changelog.md
47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using ACE.Server.Physics.Animation;
|
|
|
|
namespace ACE.Server.Physics.Common
|
|
{
|
|
public class PartCell
|
|
{
|
|
public List<ShadowPart> ShadowPartList { get; set; }
|
|
|
|
public PartCell()
|
|
{
|
|
ShadowPartList = new List<ShadowPart>();
|
|
}
|
|
|
|
public void AddPart(PhysicsPart part, List<int> planes, AFrame frame, int numShadowParts)
|
|
{
|
|
return;
|
|
|
|
/*
|
|
if (part == null) return;
|
|
|
|
var shadowPart = new ShadowPart();
|
|
if (planes != null)
|
|
shadowPart = new ShadowPart(1, planes, frame, part);
|
|
else
|
|
shadowPart = new ShadowPart(null, null, part);
|
|
|
|
ShadowPartList.Add(shadowPart);
|
|
*/
|
|
}
|
|
|
|
public void RemovePart(PhysicsPart part)
|
|
{
|
|
return;
|
|
|
|
/*
|
|
if (part == null) return;
|
|
|
|
var shadowPart = ShadowPartList.FirstOrDefault(p => p != null && p.Part != null && p.Part.Equals(part));
|
|
|
|
if (shadowPart != null)
|
|
ShadowPartList.Remove(shadowPart);
|
|
*/
|
|
}
|
|
}
|
|
}
|