private void AddCollection(string name, IInternalCollection collection) { _collections.Add(collection); _collectionsByName.Add(name, collection); }
private bool GetPoolFromPointer(IntPtr entityPointer, out IInternalCollection collection) { return(Collections.TryGetPool(Rage.Entity.Entity_GetType(entityPointer), out collection)); }
public static bool TryGetPool(byte entityType, out IInternalCollection collection) { return(_entityPoolMapping.TryGetValue(entityType, out collection)); }