hlsdk

Untitled

May 25th, 2010
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.63 KB | None | 0 0
  1. //=========== Copyright © 1990-2010, HL-SDK, All rights reserved. ===========//
  2. //
  3. // Purpose: Entity Filtering
  4. // 05/25/2010 HL-SDK -- Started log
  5. //
  6. //===========================================================================//
  7.  
  8. #pragma once
  9.  
  10. namespace Zeus
  11. {
  12.     namespace Entity
  13.     {
  14.         enum EntityFilterType_e
  15.         {
  16.             ENT_ALL,
  17.             ENT_PLAYER,
  18.             ENT_REFLECTABLE,
  19.             ENT_ITEM,
  20.             ENT_BUILDING
  21.         };
  22.  
  23.         class CEntityFilter
  24.         {
  25.         public:
  26.             CEntityFilter(EntityFilterType_e entType);
  27.             ~CEntityFilter();
  28.  
  29.             void* First();
  30.             void* Next();
  31.  
  32.         private:
  33.             EntityFilterType_e m_entType;
  34.             int m_curIndex;
  35.         };
  36.     }
  37. }
Add Comment
Please, Sign In to add comment