public override void Process(NetMessage msg) { if (msg.Type == AnimateType.Portal) { SpawnByPortal.AnimatePortal(msg.Entity, msg.Settings); } else { SpawnByPortal.AnimateObject(msg.Entity, msg.Settings); } }
public override void Process() { if (Type == AnimateType.Portal) { SpawnByPortal.AnimatePortal(Entity, Settings); } else { SpawnByPortal.AnimateObject(Entity, Settings); } }