예제 #1
0
 public Event(string id, string desc, ILogic requirements, IExecute dirExec, EventOption[] options, Parameter[] parameters)
 {
     Identifier = id;
     Description = desc;
     ActionRequirements = requirements;
     DirectExecute = dirExec;
     Options = options;
     Parameters = parameters;
 }
예제 #2
0
        public int Expires { get; private set; } //In days

        public Information(string identifier, string description, int expires, Parameter[] parameters, IExecute onObserve, IExecute onTold)
        {
            Identifier = identifier;
            Description = description;
            Expires = expires;
            Parameters = parameters;
            OnObserve = onObserve;
            OnTold = onTold;
        }