public override Entity Create(Region tregion, byte[] data) { int col = Utilities.BytesToInt(Utilities.BytesPartial(data, PhysicsEntity.PhysicsNetworkDataLength, 4)); GlowstickEntity ge = new GlowstickEntity(tregion, col); ge.ApplyPhysicsNetworkData(data); return ge; }
public override Entity Create(Region tregion, byte[] data) { int col = Utilities.BytesToInt(Utilities.BytesPartial(data, PhysicsEntity.PhysicsNetworkDataLength, 4)); GlowstickEntity ge = new GlowstickEntity(tregion, col); ge.ApplyPhysicsNetworkData(data); return(ge); }