Difference between revisions of "CFilter"

From Project X Wiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 03:50, 27 July 2011

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.