EnvironmentVar.cs 633 B

1234567891011121314151617181920212223242526
  1. using CommonAI.Zone.Instance;
  2. using CommonAI.Zone.ZoneEditor;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. namespace CommonAI.Zone.Helper
  8. {
  9. public class EnvironmentVar
  10. {
  11. public static bool ALWAYS_SYNC_ENVIRONMENT_VAR = false;
  12. public string Key { get; private set; }
  13. public bool SyncToClient { get; private set; }
  14. public object Value { get; internal set; }
  15. public EnvironmentVar(string key, bool sync, object obj)
  16. {
  17. this.Key = key;
  18. this.SyncToClient = sync;
  19. this.Value = obj;
  20. }
  21. }
  22. }