Exemple #1
0
        public BoolFlagAction(Objects.XObject currentObject, string objectId, string flagId, bool isInstant)
        {
            this.isInstant = isInstant;
            target = currentObject.FindGlobal(objectId);

            if (target == null)
                throw new InvalidOperationException(string.Format("Could not find object with Id: [{0}]", objectId));

            evnt = objectId + ":" + flagId;
        }