using System.Collections.Generic; using System.Runtime.Serialization; using Protocol.Components; using Protocol.Types; namespace Protocol.Messages { public class EntityView : Typeable { [DataMember] public List added; [DataMember] public List changed; [DataMember] public Entity entity; [DataMember] public List removed; public EntityView() { } public EntityView(Entity entity, List changed, List added, List removed) { this.entity = Entity.Strip(entity); this.changed = changed; this.added = added; this.removed = removed; } } }