Ejemplo n.º 1
0
 public static NetworkingEntity GetEntityWithPlayer(this NetworkingContext context, int id)
 {
     return(((Entitas.PrimaryEntityIndex <NetworkingEntity, int>)context.GetEntityIndex(Contexts.Player)).GetEntity(id));
 }
Ejemplo n.º 2
0
 public static System.Collections.Generic.HashSet <NetworkingEntity> GetEntitiesWithOwner(this NetworkingContext context, int value)
 {
     return(((Entitas.EntityIndex <NetworkingEntity, int>)context.GetEntityIndex(Contexts.Owner)).GetEntities(value));
 }