public ComponentReadMessage(int entityId, IComponentReader reader) { EntityId = entityId; Reader = reader; }
public ComponentsController(IComponentReader reader, IComponentWriter writer) : base(reader, writer) { _reader = reader ?? throw new ArgumentNullException(nameof(reader)); _writer = writer ?? throw new ArgumentNullException(nameof(writer)); }
/// <summary> /// The method adds a new component reader. /// </summary> /// <param name="name">the name of adding component</param> /// <param name="component">an adding component</param> protected void Add(string name, IComponentReader component) { this.components.Add(name, component); }
public QueryComponentsMessage(uint entityId, IComponentReader reader) { EntityId = entityId; Reader = reader; }