Example #1
0
 /// <summary>
 /// Will declare an entity in a container with a specific name and visibility
 /// </summary>
 /// <param name="entity_type">Type of the entity to declare</param>
 /// <param name="containerID">Identifier of the container in which declare the entity</param>
 /// <param name="name">Name of the declared entity</param>
 /// <param name="visibility">Visibility of the declared entity</param>
 /// <returns>Identifier of the freshly declared entity</returns>
 public UInt32 Declare(EntityFactory.ENTITY entity_type, UInt32 containerID, string name, EntityFactory.VISIBILITY visibility)
 {
     return(entity_factory.Declare(entity_type, containerID, name, visibility));
 }
Example #2
0
 /// <summary>
 /// Will expose all externals entities of a specific type in a given container
 /// </summary>
 /// <param name="entities_type">Type of the entities to expose</param>
 /// <param name="containerID"></param>
 /// <returns></returns>
 public List <EntityFactory.Entity> GetEntitiesOfType(EntityFactory.ENTITY entities_type, UInt32 containerID)
 {
     return(entity_factory.GetEntitiesOfType(entities_type, containerID));
 }