Exemplo n.º 1
0
        public VerbData(VerbData inData)
        {
            script = inData.script;

            label = inData.label;

            validInputs = new string[inData.validInputs.Length];
            Array.Copy(inData.validInputs, validInputs, validInputs.Length);

            data = new Dictionary <string, object>();
            foreach (KeyValuePair <string, object> pair in inData.data)
            {
                data[pair.Key] = pair.Value;
            }
        }
Exemplo n.º 2
0
 public ScriptReference(ScriptReference reference)
 {
     text = reference.text;
 }