CFilter

From Project X Wiki
Jump to: navigation, search
Up one category:
Scripting


Worms Armageddon class

Class name: CFilter
Description: Pass or blocks messages to children
Constructor: CFilter::CFilter(CObject* parent,int storeType);


Fields

 class CFilter : CObject
 { 
  void CFilter(CObject* parent, int storeType);          
  void AllowAll();    
  void Allow(EMType mt);
  void ForbidAll();
  void Forbid(EMType mt);
 };
void AllowAll(); 

Allows passing of every message type.

void Allow(EMType mt);

Allows passing of mt type.

void ForbidAll();

Forbids passing of every message type.

void Forbid(EMType mt);

Forbids passing of mt type.