C-DEngine 5.105

TheRulesFactory..::..ActivateRule Method

Activates a given rule

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool ActivateRule(
	Guid pRuleID,
	bool pTurnActive
)
Public Shared Function ActivateRule ( _
	pRuleID As Guid, _
	pTurnActive As Boolean _
) As Boolean
public:
static bool^ ActivateRule(
	Guid^ pRuleID, 
	bool^ pTurnActive
)

Parameters

pRuleID
Type: Guid
ID To activate
pTurnActive
Type: Boolean
if true, the rule will be activated otherwise deactivated

Return Value