public PlaceableDataObservable() { GlobalID = Guid.NewGuid().ToString(); Name = string.Empty; Tag = string.Empty; Resref = string.Empty; Description = string.Empty; Comment = string.Empty; IsPlot = false; IsKeyRequired = false; IsLocked = false; IsStatic = false; IsUseable = false; AutoRemoveKey = false; OnAttacked = string.Empty; OnClosed = string.Empty; OnDamaged = string.Empty; OnDeath = string.Empty; OnDisturbed = string.Empty; OnHeartbeat = string.Empty; OnLocked = string.Empty; OnOpened = string.Empty; OnUnlocked = string.Empty; OnUsed = string.Empty; LocalVariables = new LocalVariableDataObservable(); LocalVariables.VariablesPropertyChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesCollectionChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesItemPropertyChanged += (sender, args) => RaisePropertyChanged(); }
public ModuleDataObservable() { GlobalID = Guid.NewGuid().ToString(); Name = string.Empty; Tag = string.Empty; Resref = string.Empty; Description = string.Empty; Comment = string.Empty; OnHeartbeat = string.Empty; OnModuleLoad = string.Empty; OnPlayerDeath = string.Empty; OnPlayerDying = string.Empty; OnPlayerEnter = string.Empty; OnPlayerLeaving = string.Empty; OnPlayerLeft = string.Empty; OnPlayerLevelUp = string.Empty; OnPlayerRespawn = string.Empty; LocalVariables = new LocalVariableDataObservable(); LevelChart = new LevelChartDataObservable(); AbilityIDs = new ObservableCollectionEx <string>(); ClassIDs = new ObservableCollectionEx <string>(); CreatureIDs = new ObservableCollectionEx <string>(); ItemIDs = new ObservableCollectionEx <string>(); ItemPropertyIDs = new ObservableCollectionEx <string>(); PlaceableIDs = new ObservableCollectionEx <string>(); ScriptIDs = new ObservableCollectionEx <string>(); SkillIDs = new ObservableCollectionEx <string>(); TilesetIDs = new ObservableCollectionEx <string>(); LocalVariables.VariablesPropertyChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesCollectionChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesItemPropertyChanged += (sender, args) => RaisePropertyChanged(); }
public ItemDataObservable() { GlobalID = Guid.NewGuid().ToString(); Name = string.Empty; Tag = string.Empty; Resref = string.Empty; Description = string.Empty; Comment = string.Empty; ItemTypeResref = string.Empty; IsUndroppable = false; IsPlot = false; IsStolen = false; OnActivated = string.Empty; OnAcquired = string.Empty; OnEquipped = string.Empty; OnUnacquired = string.Empty; OnUnequipped = string.Empty; ClassRequirements = new ObservableCollectionEx <ClassRequirementDataObservable>(); ItemPropertyResrefs = new ObservableCollectionEx <string>(); LocalVariables = new LocalVariableDataObservable(); LocalVariables.VariablesPropertyChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesCollectionChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesItemPropertyChanged += (sender, args) => RaisePropertyChanged(); }
public AreaDataObservable() { GlobalID = Guid.NewGuid().ToString(); Name = string.Empty; Tag = string.Empty; Resref = string.Empty; Description = string.Empty; Comments = string.Empty; OnAreaEnter = string.Empty; OnAreaExit = string.Empty; OnAreaHeartbeat = string.Empty; LocalVariables = new LocalVariableDataObservable(); Width = 8; Height = 8; TilesetGlobalID = string.Empty; LocalVariables.VariablesPropertyChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesCollectionChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesItemPropertyChanged += (sender, args) => RaisePropertyChanged(); }
public CreatureDataObservable() { GlobalID = Guid.NewGuid().ToString(); Name = string.Empty; Tag = string.Empty; Resref = string.Empty; Description = string.Empty; Comment = string.Empty; OnAttacked = string.Empty; OnConversation = string.Empty; OnDamaged = string.Empty; OnDeath = string.Empty; OnDisturbed = string.Empty; OnHeartbeat = string.Empty; OnSpawned = string.Empty; Level = 0; ClassResref = string.Empty; DialogResref = string.Empty; LocalVariables = new LocalVariableDataObservable(); LocalVariables.VariablesPropertyChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesCollectionChanged += (sender, args) => RaisePropertyChanged(); LocalVariables.VariablesItemPropertyChanged += (sender, args) => RaisePropertyChanged(); }