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