public static void RegisterBindableObject(IBindableObject bindableObject) { if (bindableObject == null || string.IsNullOrEmpty(bindableObject.BindingId)) return; UnRegisterBindableObject(bindableObject); Instance.Repository.Add(bindableObject.BindingId, bindableObject); }
public void SetBindingSource(int index, IBindableObject bindableObject, string propertyDescriptor) { var binding = GetObjectBinding(index) as ObjectBinding; if (binding != null) { binding.SetSourceProperty(bindableObject, propertyDescriptor); } }
public void SetBinding(IBindableObject bindableObject, string objectProperty) { if (bindableObject == null) { BindableObject = null; BindableProperty = null; } else { BindableObject = bindableObject; BindableProperty = objectProperty; } OnBindingPropertyChanged(); }
public void SetSourceProperty(IBindableObject bindableObject, string property) { // Unbind previous UnBind(SourceObject, SourceProperty, Source_PropertyChanged); // store SourceObject = bindableObject; SourceProperty = property; // bind Bind(SourceObject, SourceProperty, Source_PropertyChanged); UpdateTarget(); }
public static void UnRegisterBindableObject(IBindableObject bindableObject) { if (bindableObject == null || string.IsNullOrEmpty(bindableObject.BindingId)) return; // search repository IBindableObject obj = null; if (!string.IsNullOrEmpty(bindableObject.BindingId)) { Instance.Repository.TryGetValue(bindableObject.BindingId, out obj); } // if object in repository -> remove it. if (obj != null) { Instance.Repository.Remove(bindableObject.BindingId); } }
public override void UpdateValue(IBindableObject _obj) { Camera obj = _obj as Camera; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if(this._width != obj.width) { this._width = obj.width; OnPropertyQuietChanged(new PropertyChangedEventArgs("width")); } if(this._height != obj.height) { this._height = obj.height; OnPropertyQuietChanged(new PropertyChangedEventArgs("height")); } if(this._depth != obj.depth) { this._depth = obj.depth; OnPropertyQuietChanged(new PropertyChangedEventArgs("depth")); } if(this._radius != obj.radius) { this._radius = obj.radius; OnPropertyQuietChanged(new PropertyChangedEventArgs("radius")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if(this._render_tech != obj.render_tech) { this._render_tech = obj.render_tech; OnPropertyQuietChanged(new PropertyChangedEventArgs("render_tech")); } if(this._progress != obj.progress) { this._progress = obj.progress; OnPropertyQuietChanged(new PropertyChangedEventArgs("progress")); } if(this._homezone != obj.homezone) { this._homezone = obj.homezone; OnPropertyQuietChanged(new PropertyChangedEventArgs("homezone")); } if(this._showboundingbox != obj.showboundingbox) { this._showboundingbox = obj.showboundingbox; OnPropertyQuietChanged(new PropertyChangedEventArgs("showboundingbox")); } if(this._PhysicsGroup != obj.PhysicsGroup) { this._PhysicsGroup = obj.PhysicsGroup; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsGroup")); } if(this._SelectGroupIndex != obj.SelectGroupIndex) { this._SelectGroupIndex = obj.SelectGroupIndex; OnPropertyQuietChanged(new PropertyChangedEventArgs("SelectGroupIndex")); } if(this._On_AssetLoaded != obj.On_AssetLoaded) { this._On_AssetLoaded = obj.On_AssetLoaded; OnPropertyQuietChanged(new PropertyChangedEventArgs("On_AssetLoaded")); } if(this._RenderImportance != obj.RenderImportance) { this._RenderImportance = obj.RenderImportance; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderImportance")); } if(this._AnimID != obj.AnimID) { this._AnimID = obj.AnimID; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimID")); } if(this._AnimFrame != obj.AnimFrame) { this._AnimFrame = obj.AnimFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimFrame")); } if(this._UseGlobalTime != obj.UseGlobalTime) { this._UseGlobalTime = obj.UseGlobalTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseGlobalTime")); } if(this._NearPlane != obj.NearPlane) { this._NearPlane = obj.NearPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("NearPlane")); } if(this._FarPlane != obj.FarPlane) { this._FarPlane = obj.FarPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("FarPlane")); } if(this._FieldOfView != obj.FieldOfView) { this._FieldOfView = obj.FieldOfView; OnPropertyQuietChanged(new PropertyChangedEventArgs("FieldOfView")); } if(this._AspectRatio != obj.AspectRatio) { this._AspectRatio = obj.AspectRatio; OnPropertyQuietChanged(new PropertyChangedEventArgs("AspectRatio")); } if(this._IsPerspectiveView != obj.IsPerspectiveView) { this._IsPerspectiveView = obj.IsPerspectiveView; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsPerspectiveView")); } if(this._OrthoWidth != obj.OrthoWidth) { this._OrthoWidth = obj.OrthoWidth; OnPropertyQuietChanged(new PropertyChangedEventArgs("OrthoWidth")); } if(this._OrthoHeight != obj.OrthoHeight) { this._OrthoHeight = obj.OrthoHeight; OnPropertyQuietChanged(new PropertyChangedEventArgs("OrthoHeight")); } if(this._InvertPitch != obj.InvertPitch) { this._InvertPitch = obj.InvertPitch; OnPropertyQuietChanged(new PropertyChangedEventArgs("InvertPitch")); } if(this._MovementDrag != obj.MovementDrag) { this._MovementDrag = obj.MovementDrag; OnPropertyQuietChanged(new PropertyChangedEventArgs("MovementDrag")); } if(this._TotalDragTime != obj.TotalDragTime) { this._TotalDragTime = obj.TotalDragTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("TotalDragTime")); } if(this._SmoothFramesNum != obj.SmoothFramesNum) { this._SmoothFramesNum = obj.SmoothFramesNum; OnPropertyQuietChanged(new PropertyChangedEventArgs("SmoothFramesNum")); } if(this._Eye_position != obj.Eye_position) { this._Eye_position = obj.Eye_position; OnPropertyQuietChanged(new PropertyChangedEventArgs("Eye_position")); } if(this._Lookat_position != obj.Lookat_position) { this._Lookat_position = obj.Lookat_position; OnPropertyQuietChanged(new PropertyChangedEventArgs("Lookat_position")); } if(this._KeyboardMovVelocity != obj.KeyboardMovVelocity) { this._KeyboardMovVelocity = obj.KeyboardMovVelocity; OnPropertyQuietChanged(new PropertyChangedEventArgs("KeyboardMovVelocity")); } if(this._KeyboardRotVelocity != obj.KeyboardRotVelocity) { this._KeyboardRotVelocity = obj.KeyboardRotVelocity; OnPropertyQuietChanged(new PropertyChangedEventArgs("KeyboardRotVelocity")); } if(this._AlwaysRun != obj.AlwaysRun) { this._AlwaysRun = obj.AlwaysRun; OnPropertyQuietChanged(new PropertyChangedEventArgs("AlwaysRun")); } if(this._CameraMode != obj.CameraMode) { this._CameraMode = obj.CameraMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraMode")); } if(this._CamAlwaysBehindObject != obj.CamAlwaysBehindObject) { this._CamAlwaysBehindObject = obj.CamAlwaysBehindObject; OnPropertyQuietChanged(new PropertyChangedEventArgs("CamAlwaysBehindObject")); } if(this._UseRightButtonBipedFacing != obj.UseRightButtonBipedFacing) { this._UseRightButtonBipedFacing = obj.UseRightButtonBipedFacing; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseRightButtonBipedFacing")); } if(this._CameraObjectDistance != obj.CameraObjectDistance) { this._CameraObjectDistance = obj.CameraObjectDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraObjectDistance")); } if(this._CameraLiftupAngle != obj.CameraLiftupAngle) { this._CameraLiftupAngle = obj.CameraLiftupAngle; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraLiftupAngle")); } if(this._CameraRotY != obj.CameraRotY) { this._CameraRotY = obj.CameraRotY; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraRotY")); } if(this._LookAtShiftY != obj.LookAtShiftY) { this._LookAtShiftY = obj.LookAtShiftY; OnPropertyQuietChanged(new PropertyChangedEventArgs("LookAtShiftY")); } if(this._EnableKeyboard != obj.EnableKeyboard) { this._EnableKeyboard = obj.EnableKeyboard; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableKeyboard")); } if(this._EnableMouseLeftButton != obj.EnableMouseLeftButton) { this._EnableMouseLeftButton = obj.EnableMouseLeftButton; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseLeftButton")); } if(this._EnableMouseRightButton != obj.EnableMouseRightButton) { this._EnableMouseRightButton = obj.EnableMouseRightButton; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseRightButton")); } if(this._EnableMouseWheel != obj.EnableMouseWheel) { this._EnableMouseWheel = obj.EnableMouseWheel; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseWheel")); } if(this._BlockInput != obj.BlockInput) { this._BlockInput = obj.BlockInput; OnPropertyQuietChanged(new PropertyChangedEventArgs("BlockInput")); } if(this._EnableMouseRightDrag != obj.EnableMouseRightDrag) { this._EnableMouseRightDrag = obj.EnableMouseRightDrag; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseRightDrag")); } if(this._EnableMouseLeftDrag != obj.EnableMouseLeftDrag) { this._EnableMouseLeftDrag = obj.EnableMouseLeftDrag; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseLeftDrag")); } if(this._UseCharacterLookup != obj.UseCharacterLookup) { this._UseCharacterLookup = obj.UseCharacterLookup; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseCharacterLookup")); } if(this._UseCharacterLookupWhenMounted != obj.UseCharacterLookupWhenMounted) { this._UseCharacterLookupWhenMounted = obj.UseCharacterLookupWhenMounted; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseCharacterLookupWhenMounted")); } }
public override void UpdateValue(IBindableObject _obj) { Sound obj = _obj as Sound; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._stream != obj.stream) { this._stream = obj.stream; OnPropertyQuietChanged(new PropertyChangedEventArgs("stream")); } if(this._loop != obj.loop) { this._loop = obj.loop; OnPropertyQuietChanged(new PropertyChangedEventArgs("loop")); } if(this._inmemory != obj.inmemory) { this._inmemory = obj.inmemory; OnPropertyQuietChanged(new PropertyChangedEventArgs("inmemory")); } if(this._delayload != obj.delayload) { this._delayload = obj.delayload; OnPropertyQuietChanged(new PropertyChangedEventArgs("delayload")); } if(this._AudioSources != obj.AudioSources) { this._AudioSources = obj.AudioSources; OnPropertyQuietChanged(new PropertyChangedEventArgs("AudioSources")); } }
public override void UpdateValue(IBindableObject _obj) { Card obj = _obj as Card; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._spell_effect != obj.spell_effect) { this._spell_effect = obj.spell_effect; OnPropertyQuietChanged(new PropertyChangedEventArgs("spell_effect")); } if(this._battle_comment != obj.battle_comment) { this._battle_comment = obj.battle_comment; OnPropertyQuietChanged(new PropertyChangedEventArgs("battle_comment")); } if(this._basics_type != obj.basics_type) { this._basics_type = obj.basics_type; OnPropertyQuietChanged(new PropertyChangedEventArgs("basics_type")); } if(this._pipcost != obj.pipcost) { this._pipcost = obj.pipcost; OnPropertyQuietChanged(new PropertyChangedEventArgs("pipcost")); } if(this._accuracy != obj.accuracy) { this._accuracy = obj.accuracy; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy")); } if(this._spell_school != obj.spell_school) { this._spell_school = obj.spell_school; OnPropertyQuietChanged(new PropertyChangedEventArgs("spell_school")); } if(this._damage_min != obj.damage_min) { this._damage_min = obj.damage_min; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_min")); } if(this._damage_max != obj.damage_max) { this._damage_max = obj.damage_max; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_max")); } if(this._damage_school != obj.damage_school) { this._damage_school = obj.damage_school; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_school")); } }
public override void UpdateValue(IBindableObject _obj) { Wisp obj = _obj as Wisp; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } }
public override void UpdateValue(IBindableObject _obj) { MobTemplate obj = _obj as MobTemplate; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if (this._displayname != obj.displayname) { this._displayname = obj.displayname; OnPropertyQuietChanged(new PropertyChangedEventArgs("displayname")); } if (this._scale != obj.scale) { this._scale = obj.scale; OnPropertyQuietChanged(new PropertyChangedEventArgs("scale")); } if (this._asset != obj.asset) { this._asset = obj.asset; OnPropertyQuietChanged(new PropertyChangedEventArgs("asset")); } if (this._level != obj.level) { this._level = obj.level; OnPropertyQuietChanged(new PropertyChangedEventArgs("level")); } if (this._hp != obj.hp) { this._hp = obj.hp; OnPropertyQuietChanged(new PropertyChangedEventArgs("hp")); } if (this._phase != obj.phase) { this._phase = obj.phase; OnPropertyQuietChanged(new PropertyChangedEventArgs("phase")); } if (this._experience_pts != obj.experience_pts) { this._experience_pts = obj.experience_pts; OnPropertyQuietChanged(new PropertyChangedEventArgs("experience_pts")); } if (this._joybean_count != obj.joybean_count) { this._joybean_count = obj.joybean_count; OnPropertyQuietChanged(new PropertyChangedEventArgs("joybean_count")); } if (this._accuracy_storm_percent != obj.accuracy_storm_percent) { this._accuracy_storm_percent = obj.accuracy_storm_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_storm_percent")); } if (this._accuracy_life_percent != obj.accuracy_life_percent) { this._accuracy_life_percent = obj.accuracy_life_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_life_percent")); } if (this._accuracy_ice_percent != obj.accuracy_ice_percent) { this._accuracy_ice_percent = obj.accuracy_ice_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_ice_percent")); } if (this._accuracy_fire_percent != obj.accuracy_fire_percent) { this._accuracy_fire_percent = obj.accuracy_fire_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_fire_percent")); } if (this._accuracy_death_percent != obj.accuracy_death_percent) { this._accuracy_death_percent = obj.accuracy_death_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_death_percent")); } if (this._guarding_range != obj.guarding_range) { this._guarding_range = obj.guarding_range; OnPropertyQuietChanged(new PropertyChangedEventArgs("guarding_range")); } if (this._guard_distance != obj.guard_distance) { this._guard_distance = obj.guard_distance; OnPropertyQuietChanged(new PropertyChangedEventArgs("guard_distance")); } if (this._random_walk_range != obj.random_walk_range) { this._random_walk_range = obj.random_walk_range; OnPropertyQuietChanged(new PropertyChangedEventArgs("random_walk_range")); } if (this._power_pip_percent != obj.power_pip_percent) { this._power_pip_percent = obj.power_pip_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("power_pip_percent")); } if (this._accuracy_penalty_percent != obj.accuracy_penalty_percent) { this._accuracy_penalty_percent = obj.accuracy_penalty_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_penalty_percent")); } if (this._available_cards != obj.available_cards) { this._available_cards = obj.available_cards; OnPropertyQuietChanged(new PropertyChangedEventArgs("available_cards")); } if (this._ai_module != obj.ai_module) { this._ai_module = obj.ai_module; OnPropertyQuietChanged(new PropertyChangedEventArgs("ai_module")); } if (this._resist_storm != obj.resist_storm) { this._resist_storm = obj.resist_storm; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_storm")); } if (this._resist_life != obj.resist_life) { this._resist_life = obj.resist_life; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_life")); } if (this._resist_ice != obj.resist_ice) { this._resist_ice = obj.resist_ice; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_ice")); } if (this._resist_fire != obj.resist_fire) { this._resist_fire = obj.resist_fire; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_fire")); } if (this._resist_death != obj.resist_death) { this._resist_death = obj.resist_death; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_death")); } if (this._resist_storm_percent != obj.resist_storm_percent) { this._resist_storm_percent = obj.resist_storm_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_storm_percent")); } if (this._resist_life_percent != obj.resist_life_percent) { this._resist_life_percent = obj.resist_life_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_life_percent")); } if (this._resist_ice_percent != obj.resist_ice_percent) { this._resist_ice_percent = obj.resist_ice_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_ice_percent")); } if (this._resist_fire_percent != obj.resist_fire_percent) { this._resist_fire_percent = obj.resist_fire_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_fire_percent")); } if (this._resist_death_percent != obj.resist_death_percent) { this._resist_death_percent = obj.resist_death_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_death_percent")); } if (this._damage_storm != obj.damage_storm) { this._damage_storm = obj.damage_storm; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_storm")); } if (this._damage_life != obj.damage_life) { this._damage_life = obj.damage_life; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_life")); } if (this._damage_ice != obj.damage_ice) { this._damage_ice = obj.damage_ice; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_ice")); } if (this._damage_fire != obj.damage_fire) { this._damage_fire = obj.damage_fire; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_fire")); } if (this._damage_death != obj.damage_death) { this._damage_death = obj.damage_death; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_death")); } if (this._damage_storm_percent != obj.damage_storm_percent) { this._damage_storm_percent = obj.damage_storm_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_storm_percent")); } if (this._damage_life_percent != obj.damage_life_percent) { this._damage_life_percent = obj.damage_life_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_life_percent")); } if (this._damage_ice_percent != obj.damage_ice_percent) { this._damage_ice_percent = obj.damage_ice_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_ice_percent")); } if (this._damage_fire_percent != obj.damage_fire_percent) { this._damage_fire_percent = obj.damage_fire_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_fire_percent")); } if (this._damage_death_percent != obj.damage_death_percent) { this._damage_death_percent = obj.damage_death_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_death_percent")); } }
public override void UpdateValue(IBindableObject _obj) { Ocean obj = _obj as Ocean; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._DrawOcean != obj.DrawOcean) { this._DrawOcean = obj.DrawOcean; OnPropertyQuietChanged(new PropertyChangedEventArgs("DrawOcean")); } if (this._WaterLevel != obj.WaterLevel) { this._WaterLevel = obj.WaterLevel; OnPropertyQuietChanged(new PropertyChangedEventArgs("WaterLevel")); } if (this._OceanColor != obj.OceanColor) { this._OceanColor = obj.OceanColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("OceanColor")); } if (this._WindSpeed != obj.WindSpeed) { this._WindSpeed = obj.WindSpeed; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindSpeed")); } if (this._WindDirection != obj.WindDirection) { this._WindDirection = obj.WindDirection; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindDirection")); } if (this._RenderTechnique != obj.RenderTechnique) { this._RenderTechnique = obj.RenderTechnique; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderTechnique")); } if (this._EnableTerrainReflection != obj.EnableTerrainReflection) { this._EnableTerrainReflection = obj.EnableTerrainReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableTerrainReflection")); } if (this._EnableMeshReflection != obj.EnableMeshReflection) { this._EnableMeshReflection = obj.EnableMeshReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMeshReflection")); } if (this._EnablePlayerReflection != obj.EnablePlayerReflection) { this._EnablePlayerReflection = obj.EnablePlayerReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePlayerReflection")); } if (this._EnableCharacterReflection != obj.EnableCharacterReflection) { this._EnableCharacterReflection = obj.EnableCharacterReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableCharacterReflection")); } }
public override void UpdateValue(IBindableObject _obj) { Camera obj = _obj as Camera; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if (this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if (this._width != obj.width) { this._width = obj.width; OnPropertyQuietChanged(new PropertyChangedEventArgs("width")); } if (this._height != obj.height) { this._height = obj.height; OnPropertyQuietChanged(new PropertyChangedEventArgs("height")); } if (this._depth != obj.depth) { this._depth = obj.depth; OnPropertyQuietChanged(new PropertyChangedEventArgs("depth")); } if (this._radius != obj.radius) { this._radius = obj.radius; OnPropertyQuietChanged(new PropertyChangedEventArgs("radius")); } if (this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if (this._render_tech != obj.render_tech) { this._render_tech = obj.render_tech; OnPropertyQuietChanged(new PropertyChangedEventArgs("render_tech")); } if (this._progress != obj.progress) { this._progress = obj.progress; OnPropertyQuietChanged(new PropertyChangedEventArgs("progress")); } if (this._homezone != obj.homezone) { this._homezone = obj.homezone; OnPropertyQuietChanged(new PropertyChangedEventArgs("homezone")); } if (this._showboundingbox != obj.showboundingbox) { this._showboundingbox = obj.showboundingbox; OnPropertyQuietChanged(new PropertyChangedEventArgs("showboundingbox")); } if (this._PhysicsGroup != obj.PhysicsGroup) { this._PhysicsGroup = obj.PhysicsGroup; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsGroup")); } if (this._SelectGroupIndex != obj.SelectGroupIndex) { this._SelectGroupIndex = obj.SelectGroupIndex; OnPropertyQuietChanged(new PropertyChangedEventArgs("SelectGroupIndex")); } if (this._On_AssetLoaded != obj.On_AssetLoaded) { this._On_AssetLoaded = obj.On_AssetLoaded; OnPropertyQuietChanged(new PropertyChangedEventArgs("On_AssetLoaded")); } if (this._RenderImportance != obj.RenderImportance) { this._RenderImportance = obj.RenderImportance; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderImportance")); } if (this._AnimID != obj.AnimID) { this._AnimID = obj.AnimID; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimID")); } if (this._AnimFrame != obj.AnimFrame) { this._AnimFrame = obj.AnimFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimFrame")); } if (this._UseGlobalTime != obj.UseGlobalTime) { this._UseGlobalTime = obj.UseGlobalTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseGlobalTime")); } if (this._NearPlane != obj.NearPlane) { this._NearPlane = obj.NearPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("NearPlane")); } if (this._FarPlane != obj.FarPlane) { this._FarPlane = obj.FarPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("FarPlane")); } if (this._FieldOfView != obj.FieldOfView) { this._FieldOfView = obj.FieldOfView; OnPropertyQuietChanged(new PropertyChangedEventArgs("FieldOfView")); } if (this._AspectRatio != obj.AspectRatio) { this._AspectRatio = obj.AspectRatio; OnPropertyQuietChanged(new PropertyChangedEventArgs("AspectRatio")); } if (this._IsPerspectiveView != obj.IsPerspectiveView) { this._IsPerspectiveView = obj.IsPerspectiveView; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsPerspectiveView")); } if (this._OrthoWidth != obj.OrthoWidth) { this._OrthoWidth = obj.OrthoWidth; OnPropertyQuietChanged(new PropertyChangedEventArgs("OrthoWidth")); } if (this._OrthoHeight != obj.OrthoHeight) { this._OrthoHeight = obj.OrthoHeight; OnPropertyQuietChanged(new PropertyChangedEventArgs("OrthoHeight")); } if (this._InvertPitch != obj.InvertPitch) { this._InvertPitch = obj.InvertPitch; OnPropertyQuietChanged(new PropertyChangedEventArgs("InvertPitch")); } if (this._MovementDrag != obj.MovementDrag) { this._MovementDrag = obj.MovementDrag; OnPropertyQuietChanged(new PropertyChangedEventArgs("MovementDrag")); } if (this._TotalDragTime != obj.TotalDragTime) { this._TotalDragTime = obj.TotalDragTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("TotalDragTime")); } if (this._SmoothFramesNum != obj.SmoothFramesNum) { this._SmoothFramesNum = obj.SmoothFramesNum; OnPropertyQuietChanged(new PropertyChangedEventArgs("SmoothFramesNum")); } if (this._Eye_position != obj.Eye_position) { this._Eye_position = obj.Eye_position; OnPropertyQuietChanged(new PropertyChangedEventArgs("Eye_position")); } if (this._Lookat_position != obj.Lookat_position) { this._Lookat_position = obj.Lookat_position; OnPropertyQuietChanged(new PropertyChangedEventArgs("Lookat_position")); } if (this._KeyboardMovVelocity != obj.KeyboardMovVelocity) { this._KeyboardMovVelocity = obj.KeyboardMovVelocity; OnPropertyQuietChanged(new PropertyChangedEventArgs("KeyboardMovVelocity")); } if (this._KeyboardRotVelocity != obj.KeyboardRotVelocity) { this._KeyboardRotVelocity = obj.KeyboardRotVelocity; OnPropertyQuietChanged(new PropertyChangedEventArgs("KeyboardRotVelocity")); } if (this._AlwaysRun != obj.AlwaysRun) { this._AlwaysRun = obj.AlwaysRun; OnPropertyQuietChanged(new PropertyChangedEventArgs("AlwaysRun")); } if (this._CameraMode != obj.CameraMode) { this._CameraMode = obj.CameraMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraMode")); } if (this._CamAlwaysBehindObject != obj.CamAlwaysBehindObject) { this._CamAlwaysBehindObject = obj.CamAlwaysBehindObject; OnPropertyQuietChanged(new PropertyChangedEventArgs("CamAlwaysBehindObject")); } if (this._UseRightButtonBipedFacing != obj.UseRightButtonBipedFacing) { this._UseRightButtonBipedFacing = obj.UseRightButtonBipedFacing; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseRightButtonBipedFacing")); } if (this._CameraObjectDistance != obj.CameraObjectDistance) { this._CameraObjectDistance = obj.CameraObjectDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraObjectDistance")); } if (this._CameraLiftupAngle != obj.CameraLiftupAngle) { this._CameraLiftupAngle = obj.CameraLiftupAngle; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraLiftupAngle")); } if (this._CameraRotY != obj.CameraRotY) { this._CameraRotY = obj.CameraRotY; OnPropertyQuietChanged(new PropertyChangedEventArgs("CameraRotY")); } if (this._LookAtShiftY != obj.LookAtShiftY) { this._LookAtShiftY = obj.LookAtShiftY; OnPropertyQuietChanged(new PropertyChangedEventArgs("LookAtShiftY")); } if (this._EnableKeyboard != obj.EnableKeyboard) { this._EnableKeyboard = obj.EnableKeyboard; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableKeyboard")); } if (this._EnableMouseLeftButton != obj.EnableMouseLeftButton) { this._EnableMouseLeftButton = obj.EnableMouseLeftButton; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseLeftButton")); } if (this._EnableMouseRightButton != obj.EnableMouseRightButton) { this._EnableMouseRightButton = obj.EnableMouseRightButton; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseRightButton")); } if (this._EnableMouseWheel != obj.EnableMouseWheel) { this._EnableMouseWheel = obj.EnableMouseWheel; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseWheel")); } if (this._BlockInput != obj.BlockInput) { this._BlockInput = obj.BlockInput; OnPropertyQuietChanged(new PropertyChangedEventArgs("BlockInput")); } if (this._EnableMouseRightDrag != obj.EnableMouseRightDrag) { this._EnableMouseRightDrag = obj.EnableMouseRightDrag; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseRightDrag")); } if (this._EnableMouseLeftDrag != obj.EnableMouseLeftDrag) { this._EnableMouseLeftDrag = obj.EnableMouseLeftDrag; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMouseLeftDrag")); } if (this._UseCharacterLookup != obj.UseCharacterLookup) { this._UseCharacterLookup = obj.UseCharacterLookup; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseCharacterLookup")); } if (this._UseCharacterLookupWhenMounted != obj.UseCharacterLookupWhenMounted) { this._UseCharacterLookupWhenMounted = obj.UseCharacterLookupWhenMounted; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseCharacterLookupWhenMounted")); } }
public override void UpdateValue(IBindableObject _obj) { AudioSource obj = _obj as AudioSource; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if (this._file != obj.file) { this._file = obj.file; OnPropertyQuietChanged(new PropertyChangedEventArgs("file")); } if (this._stream != obj.stream) { this._stream = obj.stream; OnPropertyQuietChanged(new PropertyChangedEventArgs("stream")); } if (this._loop != obj.loop) { this._loop = obj.loop; OnPropertyQuietChanged(new PropertyChangedEventArgs("loop")); } if (this._inmemory != obj.inmemory) { this._inmemory = obj.inmemory; OnPropertyQuietChanged(new PropertyChangedEventArgs("inmemory")); } if (this._delayload != obj.delayload) { this._delayload = obj.delayload; OnPropertyQuietChanged(new PropertyChangedEventArgs("delayload")); } }
public override void UpdateValue(IBindableObject _obj) { EnvPresets obj = _obj as EnvPresets; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._DrawOcean != obj.DrawOcean) { this._DrawOcean = obj.DrawOcean; OnPropertyQuietChanged(new PropertyChangedEventArgs("DrawOcean")); } if (this._WaterLevel != obj.WaterLevel) { this._WaterLevel = obj.WaterLevel; OnPropertyQuietChanged(new PropertyChangedEventArgs("WaterLevel")); } if (this._OceanColor != obj.OceanColor) { this._OceanColor = obj.OceanColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("OceanColor")); } if (this._WindSpeed != obj.WindSpeed) { this._WindSpeed = obj.WindSpeed; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindSpeed")); } if (this._WindDirection != obj.WindDirection) { this._WindDirection = obj.WindDirection; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindDirection")); } if (this._RenderTechnique != obj.RenderTechnique) { this._RenderTechnique = obj.RenderTechnique; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderTechnique")); } if (this._EnableTerrainReflection != obj.EnableTerrainReflection) { this._EnableTerrainReflection = obj.EnableTerrainReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableTerrainReflection")); } if (this._EnableMeshReflection != obj.EnableMeshReflection) { this._EnableMeshReflection = obj.EnableMeshReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMeshReflection")); } if (this._EnablePlayerReflection != obj.EnablePlayerReflection) { this._EnablePlayerReflection = obj.EnablePlayerReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePlayerReflection")); } if (this._EnableCharacterReflection != obj.EnableCharacterReflection) { this._EnableCharacterReflection = obj.EnableCharacterReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableCharacterReflection")); } if (this._SkyColor != obj.SkyColor) { this._SkyColor = obj.SkyColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyColor")); } if (this._SkyFogAngleFrom != obj.SkyFogAngleFrom) { this._SkyFogAngleFrom = obj.SkyFogAngleFrom; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyFogAngleFrom")); } if (this._SkyFogAngleTo != obj.SkyFogAngleTo) { this._SkyFogAngleTo = obj.SkyFogAngleTo; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyFogAngleTo")); } if (this._SimulatedSky != obj.SimulatedSky) { this._SimulatedSky = obj.SimulatedSky; OnPropertyQuietChanged(new PropertyChangedEventArgs("SimulatedSky")); } if (this._IsAutoDayTime != obj.IsAutoDayTime) { this._IsAutoDayTime = obj.IsAutoDayTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsAutoDayTime")); } if (this._NearPlane != obj.NearPlane) { this._NearPlane = obj.NearPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("NearPlane")); } if (this._FarPlane != obj.FarPlane) { this._FarPlane = obj.FarPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("FarPlane")); } if (this._FieldOfView != obj.FieldOfView) { this._FieldOfView = obj.FieldOfView; OnPropertyQuietChanged(new PropertyChangedEventArgs("FieldOfView")); } if (this._AspectRatio != obj.AspectRatio) { this._AspectRatio = obj.AspectRatio; OnPropertyQuietChanged(new PropertyChangedEventArgs("AspectRatio")); } if (this._FullScreenGlow != obj.FullScreenGlow) { this._FullScreenGlow = obj.FullScreenGlow; OnPropertyQuietChanged(new PropertyChangedEventArgs("FullScreenGlow")); } if (this._GlowIntensity != obj.GlowIntensity) { this._GlowIntensity = obj.GlowIntensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowIntensity")); } if (this._GlowFactor != obj.GlowFactor) { this._GlowFactor = obj.GlowFactor; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowFactor")); } if (this._Glowness != obj.Glowness) { this._Glowness = obj.Glowness; OnPropertyQuietChanged(new PropertyChangedEventArgs("Glowness")); } if (this._EnableSunLight != obj.EnableSunLight) { this._EnableSunLight = obj.EnableSunLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableSunLight")); } if (this._EnableLight != obj.EnableLight) { this._EnableLight = obj.EnableLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableLight")); } if (this._ShowLights != obj.ShowLights) { this._ShowLights = obj.ShowLights; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowLights")); } if (this._MaxLightsNum != obj.MaxLightsNum) { this._MaxLightsNum = obj.MaxLightsNum; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxLightsNum")); } if (this._SetShadow != obj.SetShadow) { this._SetShadow = obj.SetShadow; OnPropertyQuietChanged(new PropertyChangedEventArgs("SetShadow")); } if (this._MaxNumShadowCaster != obj.MaxNumShadowCaster) { this._MaxNumShadowCaster = obj.MaxNumShadowCaster; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowCaster")); } if (this._MaxNumShadowReceiver != obj.MaxNumShadowReceiver) { this._MaxNumShadowReceiver = obj.MaxNumShadowReceiver; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowReceiver")); } if (this._MaxCharTriangles != obj.MaxCharTriangles) { this._MaxCharTriangles = obj.MaxCharTriangles; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxCharTriangles")); } if (this._BackgroundColor != obj.BackgroundColor) { this._BackgroundColor = obj.BackgroundColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("BackgroundColor")); } if (this._EnableFog != obj.EnableFog) { this._EnableFog = obj.EnableFog; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableFog")); } if (this._FogColor != obj.FogColor) { this._FogColor = obj.FogColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogColor")); } if (this._FogStart != obj.FogStart) { this._FogStart = obj.FogStart; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogStart")); } if (this._FogEnd != obj.FogEnd) { this._FogEnd = obj.FogEnd; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogEnd")); } if (this._FogDensity != obj.FogDensity) { this._FogDensity = obj.FogDensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogDensity")); } if (this._MinPopUpDistance != obj.MinPopUpDistance) { this._MinPopUpDistance = obj.MinPopUpDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("MinPopUpDistance")); } if (this._ShowSky != obj.ShowSky) { this._ShowSky = obj.ShowSky; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowSky")); } if (this._ShowBoundingBox != obj.ShowBoundingBox) { this._ShowBoundingBox = obj.ShowBoundingBox; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowBoundingBox")); } if (this._ShowPortalSystem != obj.ShowPortalSystem) { this._ShowPortalSystem = obj.ShowPortalSystem; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowPortalSystem")); } if (this._EnablePortalZone != obj.EnablePortalZone) { this._EnablePortalZone = obj.EnablePortalZone; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePortalZone")); } if (this._GenerateReport != obj.GenerateReport) { this._GenerateReport = obj.GenerateReport; OnPropertyQuietChanged(new PropertyChangedEventArgs("GenerateReport")); } if (this._AutoPlayerRipple != obj.AutoPlayerRipple) { this._AutoPlayerRipple = obj.AutoPlayerRipple; OnPropertyQuietChanged(new PropertyChangedEventArgs("AutoPlayerRipple")); } if (this._ShowHeadOnDisplay != obj.ShowHeadOnDisplay) { this._ShowHeadOnDisplay = obj.ShowHeadOnDisplay; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowHeadOnDisplay")); } if (this._UseWireFrame != obj.UseWireFrame) { this._UseWireFrame = obj.UseWireFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseWireFrame")); } if (this._PhysicsDebugDrawMode != obj.PhysicsDebugDrawMode) { this._PhysicsDebugDrawMode = obj.PhysicsDebugDrawMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsDebugDrawMode")); } }
public void SetTargetProperty(IBindableObject bindableObject, string property) { TargetObject = bindableObject; TargetProperty = property; if (TargetObject != null) { UpdateTarget(); } }
/// <summary> /// This method resolves the descriptor and its root object from a bindable object and its propertyName /// /// i.e. /// IBindable Employee /// String Person.Location.X /// /// resolves to /// /// Object Location /// PropertyDescriptor X /// // /// </summary> /// <param name="bindableObject"></param> /// <param name="propertyName"></param> /// <param name="propertyDescriptor"></param> /// <param name="propertyDescriptorRoot"></param> /// <returns></returns> private static bool ResolveDescriptor(IBindableObject bindableObject, string propertyName, out PropertyDescriptor propertyDescriptor, out object propertyDescriptorRoot) { propertyDescriptor = null; propertyDescriptorRoot = null; if (bindableObject == null || String.IsNullOrEmpty(propertyName)) { return false; } bool success = true; propertyDescriptorRoot = bindableObject; string[] properties = propertyName.Split('.'); for (int i = 0; i < properties.Length; i++) { string name = properties[i]; if (propertyDescriptorRoot != null) { // get the descriptor from the root propertyDescriptor = FindPropertyDescriptor(propertyDescriptorRoot, name); if (propertyDescriptor == null) success = false; // recalc the root Obj if (propertyDescriptor != null && i < properties.Length - 1) { propertyDescriptorRoot = propertyDescriptor.GetValue(propertyDescriptorRoot); } } else { success = false; } } return success; }
public override void UpdateValue(IBindableObject _obj) { NPC obj = _obj as NPC; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._npc_id != obj.npc_id) { this._npc_id = obj.npc_id; OnPropertyQuietChanged(new PropertyChangedEventArgs("npc_id")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if(this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if(this._scaling != obj.scaling) { this._scaling = obj.scaling; OnPropertyQuietChanged(new PropertyChangedEventArgs("scaling")); } if(this._rotation != obj.rotation) { this._rotation = obj.rotation; OnPropertyQuietChanged(new PropertyChangedEventArgs("rotation")); } if(this._directscaling != obj.directscaling) { this._directscaling = obj.directscaling; OnPropertyQuietChanged(new PropertyChangedEventArgs("directscaling")); } if(this._isalwaysshowheadontext != obj.isalwaysshowheadontext) { this._isalwaysshowheadontext = obj.isalwaysshowheadontext; OnPropertyQuietChanged(new PropertyChangedEventArgs("isalwaysshowheadontext")); } if(this._headonmark != obj.headonmark) { this._headonmark = obj.headonmark; OnPropertyQuietChanged(new PropertyChangedEventArgs("headonmark")); } if(this._physics_group != obj.physics_group) { this._physics_group = obj.physics_group; OnPropertyQuietChanged(new PropertyChangedEventArgs("physics_group")); } if(this._copies != obj.copies) { this._copies = obj.copies; OnPropertyQuietChanged(new PropertyChangedEventArgs("copies")); } if(this._positions != obj.positions) { this._positions = obj.positions; OnPropertyQuietChanged(new PropertyChangedEventArgs("positions")); } if(this._facings != obj.facings) { this._facings = obj.facings; OnPropertyQuietChanged(new PropertyChangedEventArgs("facings")); } if(this._scalings != obj.scalings) { this._scalings = obj.scalings; OnPropertyQuietChanged(new PropertyChangedEventArgs("scalings")); } if(this._assetfile_char != obj.assetfile_char) { this._assetfile_char = obj.assetfile_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("assetfile_char")); } if(this._assetfile_model != obj.assetfile_model) { this._assetfile_model = obj.assetfile_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("assetfile_model")); } if(this._skiprender_char != obj.skiprender_char) { this._skiprender_char = obj.skiprender_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("skiprender_char")); } if(this._skiprender_mesh != obj.skiprender_mesh) { this._skiprender_mesh = obj.skiprender_mesh; OnPropertyQuietChanged(new PropertyChangedEventArgs("skiprender_mesh")); } if(this._scale_char != obj.scale_char) { this._scale_char = obj.scale_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("scale_char")); } if(this._scaling_model != obj.scaling_model) { this._scaling_model = obj.scaling_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("scaling_model")); } if(this._isBigStaticMesh != obj.isBigStaticMesh) { this._isBigStaticMesh = obj.isBigStaticMesh; OnPropertyQuietChanged(new PropertyChangedEventArgs("isBigStaticMesh")); } if(this._isdummy != obj.isdummy) { this._isdummy = obj.isdummy; OnPropertyQuietChanged(new PropertyChangedEventArgs("isdummy")); } if(this._talkdist != obj.talkdist) { this._talkdist = obj.talkdist; OnPropertyQuietChanged(new PropertyChangedEventArgs("talkdist")); } if(this._autofacing != obj.autofacing) { this._autofacing = obj.autofacing; OnPropertyQuietChanged(new PropertyChangedEventArgs("autofacing")); } if(this._PerceptiveRadius != obj.PerceptiveRadius) { this._PerceptiveRadius = obj.PerceptiveRadius; OnPropertyQuietChanged(new PropertyChangedEventArgs("PerceptiveRadius")); } if(this._SentientRadius != obj.SentientRadius) { this._SentientRadius = obj.SentientRadius; OnPropertyQuietChanged(new PropertyChangedEventArgs("SentientRadius")); } if(this._dialogstyle_antiindulgence != obj.dialogstyle_antiindulgence) { this._dialogstyle_antiindulgence = obj.dialogstyle_antiindulgence; OnPropertyQuietChanged(new PropertyChangedEventArgs("dialogstyle_antiindulgence")); } if(this._main_script != obj.main_script) { this._main_script = obj.main_script; OnPropertyQuietChanged(new PropertyChangedEventArgs("main_script")); } if(this._main_function != obj.main_function) { this._main_function = obj.main_function; OnPropertyQuietChanged(new PropertyChangedEventArgs("main_function")); } if(this._dialog_page != obj.dialog_page) { this._dialog_page = obj.dialog_page; OnPropertyQuietChanged(new PropertyChangedEventArgs("dialog_page")); } if(this._predialog_function != obj.predialog_function) { this._predialog_function = obj.predialog_function; OnPropertyQuietChanged(new PropertyChangedEventArgs("predialog_function")); } if(this._selected_page != obj.selected_page) { this._selected_page = obj.selected_page; OnPropertyQuietChanged(new PropertyChangedEventArgs("selected_page")); } if(this._AI_script != obj.AI_script) { this._AI_script = obj.AI_script; OnPropertyQuietChanged(new PropertyChangedEventArgs("AI_script")); } if(this._FrameMoveInterval != obj.FrameMoveInterval) { this._FrameMoveInterval = obj.FrameMoveInterval; OnPropertyQuietChanged(new PropertyChangedEventArgs("FrameMoveInterval")); } if(this._On_FrameMove != obj.On_FrameMove) { this._On_FrameMove = obj.On_FrameMove; OnPropertyQuietChanged(new PropertyChangedEventArgs("On_FrameMove")); } if(this._friend_npcs != obj.friend_npcs) { this._friend_npcs = obj.friend_npcs; OnPropertyQuietChanged(new PropertyChangedEventArgs("friend_npcs")); } if(this._isglobaltimer != obj.isglobaltimer) { this._isglobaltimer = obj.isglobaltimer; OnPropertyQuietChanged(new PropertyChangedEventArgs("isglobaltimer")); } if(this._on_timer != obj.on_timer) { this._on_timer = obj.on_timer; OnPropertyQuietChanged(new PropertyChangedEventArgs("on_timer")); } if(this._timer_period != obj.timer_period) { this._timer_period = obj.timer_period; OnPropertyQuietChanged(new PropertyChangedEventArgs("timer_period")); } }
public override void UpdateValue(IBindableObject _obj) { Terrain obj = _obj as Terrain; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._TextureMaskWidth != obj.TextureMaskWidth) { this._TextureMaskWidth = obj.TextureMaskWidth; OnPropertyQuietChanged(new PropertyChangedEventArgs("TextureMaskWidth")); } if(this._RenderTerrain != obj.RenderTerrain) { this._RenderTerrain = obj.RenderTerrain; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderTerrain")); } }
public override void UpdateValue(IBindableObject _obj) { EnvPresets obj = _obj as EnvPresets; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._DrawOcean != obj.DrawOcean) { this._DrawOcean = obj.DrawOcean; OnPropertyQuietChanged(new PropertyChangedEventArgs("DrawOcean")); } if(this._WaterLevel != obj.WaterLevel) { this._WaterLevel = obj.WaterLevel; OnPropertyQuietChanged(new PropertyChangedEventArgs("WaterLevel")); } if(this._OceanColor != obj.OceanColor) { this._OceanColor = obj.OceanColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("OceanColor")); } if(this._WindSpeed != obj.WindSpeed) { this._WindSpeed = obj.WindSpeed; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindSpeed")); } if(this._WindDirection != obj.WindDirection) { this._WindDirection = obj.WindDirection; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindDirection")); } if(this._RenderTechnique != obj.RenderTechnique) { this._RenderTechnique = obj.RenderTechnique; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderTechnique")); } if(this._EnableTerrainReflection != obj.EnableTerrainReflection) { this._EnableTerrainReflection = obj.EnableTerrainReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableTerrainReflection")); } if(this._EnableMeshReflection != obj.EnableMeshReflection) { this._EnableMeshReflection = obj.EnableMeshReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMeshReflection")); } if(this._EnablePlayerReflection != obj.EnablePlayerReflection) { this._EnablePlayerReflection = obj.EnablePlayerReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePlayerReflection")); } if(this._EnableCharacterReflection != obj.EnableCharacterReflection) { this._EnableCharacterReflection = obj.EnableCharacterReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableCharacterReflection")); } if(this._SkyColor != obj.SkyColor) { this._SkyColor = obj.SkyColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyColor")); } if(this._SkyFogAngleFrom != obj.SkyFogAngleFrom) { this._SkyFogAngleFrom = obj.SkyFogAngleFrom; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyFogAngleFrom")); } if(this._SkyFogAngleTo != obj.SkyFogAngleTo) { this._SkyFogAngleTo = obj.SkyFogAngleTo; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyFogAngleTo")); } if(this._SimulatedSky != obj.SimulatedSky) { this._SimulatedSky = obj.SimulatedSky; OnPropertyQuietChanged(new PropertyChangedEventArgs("SimulatedSky")); } if(this._IsAutoDayTime != obj.IsAutoDayTime) { this._IsAutoDayTime = obj.IsAutoDayTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsAutoDayTime")); } if(this._NearPlane != obj.NearPlane) { this._NearPlane = obj.NearPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("NearPlane")); } if(this._FarPlane != obj.FarPlane) { this._FarPlane = obj.FarPlane; OnPropertyQuietChanged(new PropertyChangedEventArgs("FarPlane")); } if(this._FieldOfView != obj.FieldOfView) { this._FieldOfView = obj.FieldOfView; OnPropertyQuietChanged(new PropertyChangedEventArgs("FieldOfView")); } if(this._AspectRatio != obj.AspectRatio) { this._AspectRatio = obj.AspectRatio; OnPropertyQuietChanged(new PropertyChangedEventArgs("AspectRatio")); } if(this._FullScreenGlow != obj.FullScreenGlow) { this._FullScreenGlow = obj.FullScreenGlow; OnPropertyQuietChanged(new PropertyChangedEventArgs("FullScreenGlow")); } if(this._GlowIntensity != obj.GlowIntensity) { this._GlowIntensity = obj.GlowIntensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowIntensity")); } if(this._GlowFactor != obj.GlowFactor) { this._GlowFactor = obj.GlowFactor; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowFactor")); } if(this._Glowness != obj.Glowness) { this._Glowness = obj.Glowness; OnPropertyQuietChanged(new PropertyChangedEventArgs("Glowness")); } if(this._EnableSunLight != obj.EnableSunLight) { this._EnableSunLight = obj.EnableSunLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableSunLight")); } if(this._EnableLight != obj.EnableLight) { this._EnableLight = obj.EnableLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableLight")); } if(this._ShowLights != obj.ShowLights) { this._ShowLights = obj.ShowLights; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowLights")); } if(this._MaxLightsNum != obj.MaxLightsNum) { this._MaxLightsNum = obj.MaxLightsNum; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxLightsNum")); } if(this._SetShadow != obj.SetShadow) { this._SetShadow = obj.SetShadow; OnPropertyQuietChanged(new PropertyChangedEventArgs("SetShadow")); } if(this._MaxNumShadowCaster != obj.MaxNumShadowCaster) { this._MaxNumShadowCaster = obj.MaxNumShadowCaster; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowCaster")); } if(this._MaxNumShadowReceiver != obj.MaxNumShadowReceiver) { this._MaxNumShadowReceiver = obj.MaxNumShadowReceiver; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowReceiver")); } if(this._MaxCharTriangles != obj.MaxCharTriangles) { this._MaxCharTriangles = obj.MaxCharTriangles; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxCharTriangles")); } if(this._BackgroundColor != obj.BackgroundColor) { this._BackgroundColor = obj.BackgroundColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("BackgroundColor")); } if(this._EnableFog != obj.EnableFog) { this._EnableFog = obj.EnableFog; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableFog")); } if(this._FogColor != obj.FogColor) { this._FogColor = obj.FogColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogColor")); } if(this._FogStart != obj.FogStart) { this._FogStart = obj.FogStart; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogStart")); } if(this._FogEnd != obj.FogEnd) { this._FogEnd = obj.FogEnd; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogEnd")); } if(this._FogDensity != obj.FogDensity) { this._FogDensity = obj.FogDensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogDensity")); } if(this._MinPopUpDistance != obj.MinPopUpDistance) { this._MinPopUpDistance = obj.MinPopUpDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("MinPopUpDistance")); } if(this._ShowSky != obj.ShowSky) { this._ShowSky = obj.ShowSky; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowSky")); } if(this._ShowBoundingBox != obj.ShowBoundingBox) { this._ShowBoundingBox = obj.ShowBoundingBox; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowBoundingBox")); } if(this._ShowPortalSystem != obj.ShowPortalSystem) { this._ShowPortalSystem = obj.ShowPortalSystem; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowPortalSystem")); } if(this._EnablePortalZone != obj.EnablePortalZone) { this._EnablePortalZone = obj.EnablePortalZone; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePortalZone")); } if(this._GenerateReport != obj.GenerateReport) { this._GenerateReport = obj.GenerateReport; OnPropertyQuietChanged(new PropertyChangedEventArgs("GenerateReport")); } if(this._AutoPlayerRipple != obj.AutoPlayerRipple) { this._AutoPlayerRipple = obj.AutoPlayerRipple; OnPropertyQuietChanged(new PropertyChangedEventArgs("AutoPlayerRipple")); } if(this._ShowHeadOnDisplay != obj.ShowHeadOnDisplay) { this._ShowHeadOnDisplay = obj.ShowHeadOnDisplay; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowHeadOnDisplay")); } if(this._UseWireFrame != obj.UseWireFrame) { this._UseWireFrame = obj.UseWireFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseWireFrame")); } if(this._PhysicsDebugDrawMode != obj.PhysicsDebugDrawMode) { this._PhysicsDebugDrawMode = obj.PhysicsDebugDrawMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsDebugDrawMode")); } }
public override void UpdateValue(IBindableObject _obj) { MobTemplate obj = _obj as MobTemplate; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._displayname != obj.displayname) { this._displayname = obj.displayname; OnPropertyQuietChanged(new PropertyChangedEventArgs("displayname")); } if(this._scale != obj.scale) { this._scale = obj.scale; OnPropertyQuietChanged(new PropertyChangedEventArgs("scale")); } if(this._asset != obj.asset) { this._asset = obj.asset; OnPropertyQuietChanged(new PropertyChangedEventArgs("asset")); } if(this._level != obj.level) { this._level = obj.level; OnPropertyQuietChanged(new PropertyChangedEventArgs("level")); } if(this._hp != obj.hp) { this._hp = obj.hp; OnPropertyQuietChanged(new PropertyChangedEventArgs("hp")); } if(this._phase != obj.phase) { this._phase = obj.phase; OnPropertyQuietChanged(new PropertyChangedEventArgs("phase")); } if(this._experience_pts != obj.experience_pts) { this._experience_pts = obj.experience_pts; OnPropertyQuietChanged(new PropertyChangedEventArgs("experience_pts")); } if(this._joybean_count != obj.joybean_count) { this._joybean_count = obj.joybean_count; OnPropertyQuietChanged(new PropertyChangedEventArgs("joybean_count")); } if(this._accuracy_storm_percent != obj.accuracy_storm_percent) { this._accuracy_storm_percent = obj.accuracy_storm_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_storm_percent")); } if(this._accuracy_life_percent != obj.accuracy_life_percent) { this._accuracy_life_percent = obj.accuracy_life_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_life_percent")); } if(this._accuracy_ice_percent != obj.accuracy_ice_percent) { this._accuracy_ice_percent = obj.accuracy_ice_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_ice_percent")); } if(this._accuracy_fire_percent != obj.accuracy_fire_percent) { this._accuracy_fire_percent = obj.accuracy_fire_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_fire_percent")); } if(this._accuracy_death_percent != obj.accuracy_death_percent) { this._accuracy_death_percent = obj.accuracy_death_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_death_percent")); } if(this._guarding_range != obj.guarding_range) { this._guarding_range = obj.guarding_range; OnPropertyQuietChanged(new PropertyChangedEventArgs("guarding_range")); } if(this._guard_distance != obj.guard_distance) { this._guard_distance = obj.guard_distance; OnPropertyQuietChanged(new PropertyChangedEventArgs("guard_distance")); } if(this._random_walk_range != obj.random_walk_range) { this._random_walk_range = obj.random_walk_range; OnPropertyQuietChanged(new PropertyChangedEventArgs("random_walk_range")); } if(this._power_pip_percent != obj.power_pip_percent) { this._power_pip_percent = obj.power_pip_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("power_pip_percent")); } if(this._accuracy_penalty_percent != obj.accuracy_penalty_percent) { this._accuracy_penalty_percent = obj.accuracy_penalty_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy_penalty_percent")); } if(this._available_cards != obj.available_cards) { this._available_cards = obj.available_cards; OnPropertyQuietChanged(new PropertyChangedEventArgs("available_cards")); } if(this._ai_module != obj.ai_module) { this._ai_module = obj.ai_module; OnPropertyQuietChanged(new PropertyChangedEventArgs("ai_module")); } if(this._resist_storm != obj.resist_storm) { this._resist_storm = obj.resist_storm; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_storm")); } if(this._resist_life != obj.resist_life) { this._resist_life = obj.resist_life; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_life")); } if(this._resist_ice != obj.resist_ice) { this._resist_ice = obj.resist_ice; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_ice")); } if(this._resist_fire != obj.resist_fire) { this._resist_fire = obj.resist_fire; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_fire")); } if(this._resist_death != obj.resist_death) { this._resist_death = obj.resist_death; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_death")); } if(this._resist_storm_percent != obj.resist_storm_percent) { this._resist_storm_percent = obj.resist_storm_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_storm_percent")); } if(this._resist_life_percent != obj.resist_life_percent) { this._resist_life_percent = obj.resist_life_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_life_percent")); } if(this._resist_ice_percent != obj.resist_ice_percent) { this._resist_ice_percent = obj.resist_ice_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_ice_percent")); } if(this._resist_fire_percent != obj.resist_fire_percent) { this._resist_fire_percent = obj.resist_fire_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_fire_percent")); } if(this._resist_death_percent != obj.resist_death_percent) { this._resist_death_percent = obj.resist_death_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("resist_death_percent")); } if(this._damage_storm != obj.damage_storm) { this._damage_storm = obj.damage_storm; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_storm")); } if(this._damage_life != obj.damage_life) { this._damage_life = obj.damage_life; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_life")); } if(this._damage_ice != obj.damage_ice) { this._damage_ice = obj.damage_ice; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_ice")); } if(this._damage_fire != obj.damage_fire) { this._damage_fire = obj.damage_fire; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_fire")); } if(this._damage_death != obj.damage_death) { this._damage_death = obj.damage_death; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_death")); } if(this._damage_storm_percent != obj.damage_storm_percent) { this._damage_storm_percent = obj.damage_storm_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_storm_percent")); } if(this._damage_life_percent != obj.damage_life_percent) { this._damage_life_percent = obj.damage_life_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_life_percent")); } if(this._damage_ice_percent != obj.damage_ice_percent) { this._damage_ice_percent = obj.damage_ice_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_ice_percent")); } if(this._damage_fire_percent != obj.damage_fire_percent) { this._damage_fire_percent = obj.damage_fire_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_fire_percent")); } if(this._damage_death_percent != obj.damage_death_percent) { this._damage_death_percent = obj.damage_death_percent; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_death_percent")); } }
public override void UpdateValue(IBindableObject _obj) { EntitySampleTemplate obj = _obj as EntitySampleTemplate; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name1 != obj.name1) { this._name1 = obj.name1; OnPropertyQuietChanged(new PropertyChangedEventArgs("name1")); } if(this._name2 != obj.name2) { this._name2 = obj.name2; OnPropertyQuietChanged(new PropertyChangedEventArgs("name2")); } }
public override void UpdateValue(IBindableObject _obj) { Scene obj = _obj as Scene; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if (this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if (this._width != obj.width) { this._width = obj.width; OnPropertyQuietChanged(new PropertyChangedEventArgs("width")); } if (this._height != obj.height) { this._height = obj.height; OnPropertyQuietChanged(new PropertyChangedEventArgs("height")); } if (this._depth != obj.depth) { this._depth = obj.depth; OnPropertyQuietChanged(new PropertyChangedEventArgs("depth")); } if (this._radius != obj.radius) { this._radius = obj.radius; OnPropertyQuietChanged(new PropertyChangedEventArgs("radius")); } if (this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if (this._render_tech != obj.render_tech) { this._render_tech = obj.render_tech; OnPropertyQuietChanged(new PropertyChangedEventArgs("render_tech")); } if (this._progress != obj.progress) { this._progress = obj.progress; OnPropertyQuietChanged(new PropertyChangedEventArgs("progress")); } if (this._homezone != obj.homezone) { this._homezone = obj.homezone; OnPropertyQuietChanged(new PropertyChangedEventArgs("homezone")); } if (this._showboundingbox != obj.showboundingbox) { this._showboundingbox = obj.showboundingbox; OnPropertyQuietChanged(new PropertyChangedEventArgs("showboundingbox")); } if (this._PhysicsGroup != obj.PhysicsGroup) { this._PhysicsGroup = obj.PhysicsGroup; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsGroup")); } if (this._SelectGroupIndex != obj.SelectGroupIndex) { this._SelectGroupIndex = obj.SelectGroupIndex; OnPropertyQuietChanged(new PropertyChangedEventArgs("SelectGroupIndex")); } if (this._On_AssetLoaded != obj.On_AssetLoaded) { this._On_AssetLoaded = obj.On_AssetLoaded; OnPropertyQuietChanged(new PropertyChangedEventArgs("On_AssetLoaded")); } if (this._RenderImportance != obj.RenderImportance) { this._RenderImportance = obj.RenderImportance; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderImportance")); } if (this._AnimID != obj.AnimID) { this._AnimID = obj.AnimID; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimID")); } if (this._AnimFrame != obj.AnimFrame) { this._AnimFrame = obj.AnimFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimFrame")); } if (this._UseGlobalTime != obj.UseGlobalTime) { this._UseGlobalTime = obj.UseGlobalTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseGlobalTime")); } if (this._IsModified != obj.IsModified) { this._IsModified = obj.IsModified; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsModified")); } if (this._FullScreenGlow != obj.FullScreenGlow) { this._FullScreenGlow = obj.FullScreenGlow; OnPropertyQuietChanged(new PropertyChangedEventArgs("FullScreenGlow")); } if (this._GlowIntensity != obj.GlowIntensity) { this._GlowIntensity = obj.GlowIntensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowIntensity")); } if (this._GlowFactor != obj.GlowFactor) { this._GlowFactor = obj.GlowFactor; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowFactor")); } if (this._Glowness != obj.Glowness) { this._Glowness = obj.Glowness; OnPropertyQuietChanged(new PropertyChangedEventArgs("Glowness")); } if (this._EnableSunLight != obj.EnableSunLight) { this._EnableSunLight = obj.EnableSunLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableSunLight")); } if (this._EnableLight != obj.EnableLight) { this._EnableLight = obj.EnableLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableLight")); } if (this._ShowLights != obj.ShowLights) { this._ShowLights = obj.ShowLights; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowLights")); } if (this._MaxLightsNum != obj.MaxLightsNum) { this._MaxLightsNum = obj.MaxLightsNum; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxLightsNum")); } if (this._SetShadow != obj.SetShadow) { this._SetShadow = obj.SetShadow; OnPropertyQuietChanged(new PropertyChangedEventArgs("SetShadow")); } if (this._MaxNumShadowCaster != obj.MaxNumShadowCaster) { this._MaxNumShadowCaster = obj.MaxNumShadowCaster; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowCaster")); } if (this._MaxNumShadowReceiver != obj.MaxNumShadowReceiver) { this._MaxNumShadowReceiver = obj.MaxNumShadowReceiver; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowReceiver")); } if (this._MaxCharTriangles != obj.MaxCharTriangles) { this._MaxCharTriangles = obj.MaxCharTriangles; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxCharTriangles")); } if (this._BackgroundColor != obj.BackgroundColor) { this._BackgroundColor = obj.BackgroundColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("BackgroundColor")); } if (this._EnableFog != obj.EnableFog) { this._EnableFog = obj.EnableFog; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableFog")); } if (this._FogColor != obj.FogColor) { this._FogColor = obj.FogColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogColor")); } if (this._FogStart != obj.FogStart) { this._FogStart = obj.FogStart; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogStart")); } if (this._FogEnd != obj.FogEnd) { this._FogEnd = obj.FogEnd; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogEnd")); } if (this._FogDensity != obj.FogDensity) { this._FogDensity = obj.FogDensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogDensity")); } if (this._MinPopUpDistance != obj.MinPopUpDistance) { this._MinPopUpDistance = obj.MinPopUpDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("MinPopUpDistance")); } if (this._OnClickDistance != obj.OnClickDistance) { this._OnClickDistance = obj.OnClickDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("OnClickDistance")); } if (this._ShowSky != obj.ShowSky) { this._ShowSky = obj.ShowSky; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowSky")); } if (this._PasueScene != obj.PasueScene) { this._PasueScene = obj.PasueScene; OnPropertyQuietChanged(new PropertyChangedEventArgs("PasueScene")); } if (this._EnableScene != obj.EnableScene) { this._EnableScene = obj.EnableScene; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableScene")); } if (this._ShowBoundingBox != obj.ShowBoundingBox) { this._ShowBoundingBox = obj.ShowBoundingBox; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowBoundingBox")); } if (this._ShowPortalSystem != obj.ShowPortalSystem) { this._ShowPortalSystem = obj.ShowPortalSystem; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowPortalSystem")); } if (this._EnablePortalZone != obj.EnablePortalZone) { this._EnablePortalZone = obj.EnablePortalZone; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePortalZone")); } if (this._GenerateReport != obj.GenerateReport) { this._GenerateReport = obj.GenerateReport; OnPropertyQuietChanged(new PropertyChangedEventArgs("GenerateReport")); } if (this._AutoPlayerRipple != obj.AutoPlayerRipple) { this._AutoPlayerRipple = obj.AutoPlayerRipple; OnPropertyQuietChanged(new PropertyChangedEventArgs("AutoPlayerRipple")); } if (this._ShowHeadOnDisplay != obj.ShowHeadOnDisplay) { this._ShowHeadOnDisplay = obj.ShowHeadOnDisplay; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowHeadOnDisplay")); } if (this._UseWireFrame != obj.UseWireFrame) { this._UseWireFrame = obj.UseWireFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseWireFrame")); } if (this._ForceExportPhysics != obj.ForceExportPhysics) { this._ForceExportPhysics = obj.ForceExportPhysics; OnPropertyQuietChanged(new PropertyChangedEventArgs("ForceExportPhysics")); } if (this._MaxHeadOnDisplayDistance != obj.MaxHeadOnDisplayDistance) { this._MaxHeadOnDisplayDistance = obj.MaxHeadOnDisplayDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxHeadOnDisplayDistance")); } if (this._UseInstancing != obj.UseInstancing) { this._UseInstancing = obj.UseInstancing; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseInstancing")); } if (this._persistent != obj.persistent) { this._persistent = obj.persistent; OnPropertyQuietChanged(new PropertyChangedEventArgs("persistent")); } if (this._PhysicsDebugDrawMode != obj.PhysicsDebugDrawMode) { this._PhysicsDebugDrawMode = obj.PhysicsDebugDrawMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsDebugDrawMode")); } if (this._BlockInput != obj.BlockInput) { this._BlockInput = obj.BlockInput; OnPropertyQuietChanged(new PropertyChangedEventArgs("BlockInput")); } }
public override void UpdateValue(IBindableObject _obj) { GameObject obj = _obj as GameObject; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._obj_id != obj.obj_id) { this._obj_id = obj.obj_id; OnPropertyQuietChanged(new PropertyChangedEventArgs("obj_id")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if(this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if(this._scaling != obj.scaling) { this._scaling = obj.scaling; OnPropertyQuietChanged(new PropertyChangedEventArgs("scaling")); } if(this._gsid != obj.gsid) { this._gsid = obj.gsid; OnPropertyQuietChanged(new PropertyChangedEventArgs("gsid")); } if(this._rotation != obj.rotation) { this._rotation = obj.rotation; OnPropertyQuietChanged(new PropertyChangedEventArgs("rotation")); } if(this._isalwaysshowheadontext != obj.isalwaysshowheadontext) { this._isalwaysshowheadontext = obj.isalwaysshowheadontext; OnPropertyQuietChanged(new PropertyChangedEventArgs("isalwaysshowheadontext")); } if(this._replaceabletextures_model != obj.replaceabletextures_model) { this._replaceabletextures_model = obj.replaceabletextures_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("replaceabletextures_model")); } if(this._isshownifown != obj.isshownifown) { this._isshownifown = obj.isshownifown; OnPropertyQuietChanged(new PropertyChangedEventArgs("isshownifown")); } if(this._physics_group != obj.physics_group) { this._physics_group = obj.physics_group; OnPropertyQuietChanged(new PropertyChangedEventArgs("physics_group")); } if(this._copies != obj.copies) { this._copies = obj.copies; OnPropertyQuietChanged(new PropertyChangedEventArgs("copies")); } if(this._positions != obj.positions) { this._positions = obj.positions; OnPropertyQuietChanged(new PropertyChangedEventArgs("positions")); } if(this._facings != obj.facings) { this._facings = obj.facings; OnPropertyQuietChanged(new PropertyChangedEventArgs("facings")); } if(this._scalings != obj.scalings) { this._scalings = obj.scalings; OnPropertyQuietChanged(new PropertyChangedEventArgs("scalings")); } if(this._assetfile_char != obj.assetfile_char) { this._assetfile_char = obj.assetfile_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("assetfile_char")); } if(this._assetfile_model != obj.assetfile_model) { this._assetfile_model = obj.assetfile_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("assetfile_model")); } if(this._skiprender_char != obj.skiprender_char) { this._skiprender_char = obj.skiprender_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("skiprender_char")); } if(this._skiprender_mesh != obj.skiprender_mesh) { this._skiprender_mesh = obj.skiprender_mesh; OnPropertyQuietChanged(new PropertyChangedEventArgs("skiprender_mesh")); } if(this._scaling_char != obj.scaling_char) { this._scaling_char = obj.scaling_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("scaling_char")); } if(this._scale_model != obj.scale_model) { this._scale_model = obj.scale_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("scale_model")); } if(this._page_url != obj.page_url) { this._page_url = obj.page_url; OnPropertyQuietChanged(new PropertyChangedEventArgs("page_url")); } if(this._gameobj_type != obj.gameobj_type) { this._gameobj_type = obj.gameobj_type; OnPropertyQuietChanged(new PropertyChangedEventArgs("gameobj_type")); } if(this._pick_count != obj.pick_count) { this._pick_count = obj.pick_count; OnPropertyQuietChanged(new PropertyChangedEventArgs("pick_count")); } if(this._onpick_msg != obj.onpick_msg) { this._onpick_msg = obj.onpick_msg; OnPropertyQuietChanged(new PropertyChangedEventArgs("onpick_msg")); } if(this._isdeleteafterpick != obj.isdeleteafterpick) { this._isdeleteafterpick = obj.isdeleteafterpick; OnPropertyQuietChanged(new PropertyChangedEventArgs("isdeleteafterpick")); } if(this._PickDist != obj.PickDist) { this._PickDist = obj.PickDist; OnPropertyQuietChanged(new PropertyChangedEventArgs("PickDist")); } if(this._respawn_interval != obj.respawn_interval) { this._respawn_interval = obj.respawn_interval; OnPropertyQuietChanged(new PropertyChangedEventArgs("respawn_interval")); } }
public override void UpdateValue(IBindableObject _obj) { Card obj = _obj as Card; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if (this._spell_effect != obj.spell_effect) { this._spell_effect = obj.spell_effect; OnPropertyQuietChanged(new PropertyChangedEventArgs("spell_effect")); } if (this._battle_comment != obj.battle_comment) { this._battle_comment = obj.battle_comment; OnPropertyQuietChanged(new PropertyChangedEventArgs("battle_comment")); } if (this._basics_type != obj.basics_type) { this._basics_type = obj.basics_type; OnPropertyQuietChanged(new PropertyChangedEventArgs("basics_type")); } if (this._pipcost != obj.pipcost) { this._pipcost = obj.pipcost; OnPropertyQuietChanged(new PropertyChangedEventArgs("pipcost")); } if (this._accuracy != obj.accuracy) { this._accuracy = obj.accuracy; OnPropertyQuietChanged(new PropertyChangedEventArgs("accuracy")); } if (this._spell_school != obj.spell_school) { this._spell_school = obj.spell_school; OnPropertyQuietChanged(new PropertyChangedEventArgs("spell_school")); } if (this._damage_min != obj.damage_min) { this._damage_min = obj.damage_min; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_min")); } if (this._damage_max != obj.damage_max) { this._damage_max = obj.damage_max; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_max")); } if (this._damage_school != obj.damage_school) { this._damage_school = obj.damage_school; OnPropertyQuietChanged(new PropertyChangedEventArgs("damage_school")); } }
public override void UpdateValue(IBindableObject _obj) { GameObject obj = _obj as GameObject; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if (this._obj_id != obj.obj_id) { this._obj_id = obj.obj_id; OnPropertyQuietChanged(new PropertyChangedEventArgs("obj_id")); } if (this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if (this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if (this._scaling != obj.scaling) { this._scaling = obj.scaling; OnPropertyQuietChanged(new PropertyChangedEventArgs("scaling")); } if (this._gsid != obj.gsid) { this._gsid = obj.gsid; OnPropertyQuietChanged(new PropertyChangedEventArgs("gsid")); } if (this._rotation != obj.rotation) { this._rotation = obj.rotation; OnPropertyQuietChanged(new PropertyChangedEventArgs("rotation")); } if (this._isalwaysshowheadontext != obj.isalwaysshowheadontext) { this._isalwaysshowheadontext = obj.isalwaysshowheadontext; OnPropertyQuietChanged(new PropertyChangedEventArgs("isalwaysshowheadontext")); } if (this._replaceabletextures_model != obj.replaceabletextures_model) { this._replaceabletextures_model = obj.replaceabletextures_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("replaceabletextures_model")); } if (this._isshownifown != obj.isshownifown) { this._isshownifown = obj.isshownifown; OnPropertyQuietChanged(new PropertyChangedEventArgs("isshownifown")); } if (this._physics_group != obj.physics_group) { this._physics_group = obj.physics_group; OnPropertyQuietChanged(new PropertyChangedEventArgs("physics_group")); } if (this._copies != obj.copies) { this._copies = obj.copies; OnPropertyQuietChanged(new PropertyChangedEventArgs("copies")); } if (this._positions != obj.positions) { this._positions = obj.positions; OnPropertyQuietChanged(new PropertyChangedEventArgs("positions")); } if (this._facings != obj.facings) { this._facings = obj.facings; OnPropertyQuietChanged(new PropertyChangedEventArgs("facings")); } if (this._scalings != obj.scalings) { this._scalings = obj.scalings; OnPropertyQuietChanged(new PropertyChangedEventArgs("scalings")); } if (this._assetfile_char != obj.assetfile_char) { this._assetfile_char = obj.assetfile_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("assetfile_char")); } if (this._assetfile_model != obj.assetfile_model) { this._assetfile_model = obj.assetfile_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("assetfile_model")); } if (this._skiprender_char != obj.skiprender_char) { this._skiprender_char = obj.skiprender_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("skiprender_char")); } if (this._skiprender_mesh != obj.skiprender_mesh) { this._skiprender_mesh = obj.skiprender_mesh; OnPropertyQuietChanged(new PropertyChangedEventArgs("skiprender_mesh")); } if (this._scaling_char != obj.scaling_char) { this._scaling_char = obj.scaling_char; OnPropertyQuietChanged(new PropertyChangedEventArgs("scaling_char")); } if (this._scale_model != obj.scale_model) { this._scale_model = obj.scale_model; OnPropertyQuietChanged(new PropertyChangedEventArgs("scale_model")); } if (this._page_url != obj.page_url) { this._page_url = obj.page_url; OnPropertyQuietChanged(new PropertyChangedEventArgs("page_url")); } if (this._gameobj_type != obj.gameobj_type) { this._gameobj_type = obj.gameobj_type; OnPropertyQuietChanged(new PropertyChangedEventArgs("gameobj_type")); } if (this._pick_count != obj.pick_count) { this._pick_count = obj.pick_count; OnPropertyQuietChanged(new PropertyChangedEventArgs("pick_count")); } if (this._onpick_msg != obj.onpick_msg) { this._onpick_msg = obj.onpick_msg; OnPropertyQuietChanged(new PropertyChangedEventArgs("onpick_msg")); } if (this._isdeleteafterpick != obj.isdeleteafterpick) { this._isdeleteafterpick = obj.isdeleteafterpick; OnPropertyQuietChanged(new PropertyChangedEventArgs("isdeleteafterpick")); } if (this._PickDist != obj.PickDist) { this._PickDist = obj.PickDist; OnPropertyQuietChanged(new PropertyChangedEventArgs("PickDist")); } if (this._respawn_interval != obj.respawn_interval) { this._respawn_interval = obj.respawn_interval; OnPropertyQuietChanged(new PropertyChangedEventArgs("respawn_interval")); } }
public override void UpdateValue(IBindableObject _obj) { Arena obj = _obj as Arena; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._id != obj.id) { this._id = obj.id; OnPropertyQuietChanged(new PropertyChangedEventArgs("id")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if(this._respawn_interval != obj.respawn_interval) { this._respawn_interval = obj.respawn_interval; OnPropertyQuietChanged(new PropertyChangedEventArgs("respawn_interval")); } if(this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if(this._ai_module != obj.ai_module) { this._ai_module = obj.ai_module; OnPropertyQuietChanged(new PropertyChangedEventArgs("ai_module")); } if(this._mob1 != obj.mob1) { this._mob1 = obj.mob1; OnPropertyQuietChanged(new PropertyChangedEventArgs("mob1")); } if(this._mob2 != obj.mob2) { this._mob2 = obj.mob2; OnPropertyQuietChanged(new PropertyChangedEventArgs("mob2")); } if(this._mob3 != obj.mob3) { this._mob3 = obj.mob3; OnPropertyQuietChanged(new PropertyChangedEventArgs("mob3")); } if(this._mob4 != obj.mob4) { this._mob4 = obj.mob4; OnPropertyQuietChanged(new PropertyChangedEventArgs("mob4")); } }
public override void UpdateValue(IBindableObject _obj) { SamplePlaceable obj = _obj as SamplePlaceable; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if(this._radius != obj.radius) { this._radius = obj.radius; OnPropertyQuietChanged(new PropertyChangedEventArgs("radius")); } if(this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if(this._mesh_obj != obj.mesh_obj) { this._mesh_obj = obj.mesh_obj; OnPropertyQuietChanged(new PropertyChangedEventArgs("mesh_obj")); } if(this._mesh_name != obj.mesh_name) { this._mesh_name = obj.mesh_name; OnPropertyQuietChanged(new PropertyChangedEventArgs("mesh_name")); } if(this._color != obj.color) { this._color = obj.color; OnPropertyQuietChanged(new PropertyChangedEventArgs("color")); } if(this._MyStringList != obj.MyStringList) { this._MyStringList = obj.MyStringList; OnPropertyQuietChanged(new PropertyChangedEventArgs("MyStringList")); } }
public override void UpdateValue(IBindableObject _obj) { Scene obj = _obj as Scene; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if(this._width != obj.width) { this._width = obj.width; OnPropertyQuietChanged(new PropertyChangedEventArgs("width")); } if(this._height != obj.height) { this._height = obj.height; OnPropertyQuietChanged(new PropertyChangedEventArgs("height")); } if(this._depth != obj.depth) { this._depth = obj.depth; OnPropertyQuietChanged(new PropertyChangedEventArgs("depth")); } if(this._radius != obj.radius) { this._radius = obj.radius; OnPropertyQuietChanged(new PropertyChangedEventArgs("radius")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if(this._render_tech != obj.render_tech) { this._render_tech = obj.render_tech; OnPropertyQuietChanged(new PropertyChangedEventArgs("render_tech")); } if(this._progress != obj.progress) { this._progress = obj.progress; OnPropertyQuietChanged(new PropertyChangedEventArgs("progress")); } if(this._homezone != obj.homezone) { this._homezone = obj.homezone; OnPropertyQuietChanged(new PropertyChangedEventArgs("homezone")); } if(this._showboundingbox != obj.showboundingbox) { this._showboundingbox = obj.showboundingbox; OnPropertyQuietChanged(new PropertyChangedEventArgs("showboundingbox")); } if(this._PhysicsGroup != obj.PhysicsGroup) { this._PhysicsGroup = obj.PhysicsGroup; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsGroup")); } if(this._SelectGroupIndex != obj.SelectGroupIndex) { this._SelectGroupIndex = obj.SelectGroupIndex; OnPropertyQuietChanged(new PropertyChangedEventArgs("SelectGroupIndex")); } if(this._On_AssetLoaded != obj.On_AssetLoaded) { this._On_AssetLoaded = obj.On_AssetLoaded; OnPropertyQuietChanged(new PropertyChangedEventArgs("On_AssetLoaded")); } if(this._RenderImportance != obj.RenderImportance) { this._RenderImportance = obj.RenderImportance; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderImportance")); } if(this._AnimID != obj.AnimID) { this._AnimID = obj.AnimID; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimID")); } if(this._AnimFrame != obj.AnimFrame) { this._AnimFrame = obj.AnimFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimFrame")); } if(this._UseGlobalTime != obj.UseGlobalTime) { this._UseGlobalTime = obj.UseGlobalTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseGlobalTime")); } if(this._IsModified != obj.IsModified) { this._IsModified = obj.IsModified; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsModified")); } if(this._FullScreenGlow != obj.FullScreenGlow) { this._FullScreenGlow = obj.FullScreenGlow; OnPropertyQuietChanged(new PropertyChangedEventArgs("FullScreenGlow")); } if(this._GlowIntensity != obj.GlowIntensity) { this._GlowIntensity = obj.GlowIntensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowIntensity")); } if(this._GlowFactor != obj.GlowFactor) { this._GlowFactor = obj.GlowFactor; OnPropertyQuietChanged(new PropertyChangedEventArgs("GlowFactor")); } if(this._Glowness != obj.Glowness) { this._Glowness = obj.Glowness; OnPropertyQuietChanged(new PropertyChangedEventArgs("Glowness")); } if(this._EnableSunLight != obj.EnableSunLight) { this._EnableSunLight = obj.EnableSunLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableSunLight")); } if(this._EnableLight != obj.EnableLight) { this._EnableLight = obj.EnableLight; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableLight")); } if(this._ShowLights != obj.ShowLights) { this._ShowLights = obj.ShowLights; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowLights")); } if(this._MaxLightsNum != obj.MaxLightsNum) { this._MaxLightsNum = obj.MaxLightsNum; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxLightsNum")); } if(this._SetShadow != obj.SetShadow) { this._SetShadow = obj.SetShadow; OnPropertyQuietChanged(new PropertyChangedEventArgs("SetShadow")); } if(this._MaxNumShadowCaster != obj.MaxNumShadowCaster) { this._MaxNumShadowCaster = obj.MaxNumShadowCaster; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowCaster")); } if(this._MaxNumShadowReceiver != obj.MaxNumShadowReceiver) { this._MaxNumShadowReceiver = obj.MaxNumShadowReceiver; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxNumShadowReceiver")); } if(this._MaxCharTriangles != obj.MaxCharTriangles) { this._MaxCharTriangles = obj.MaxCharTriangles; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxCharTriangles")); } if(this._BackgroundColor != obj.BackgroundColor) { this._BackgroundColor = obj.BackgroundColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("BackgroundColor")); } if(this._EnableFog != obj.EnableFog) { this._EnableFog = obj.EnableFog; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableFog")); } if(this._FogColor != obj.FogColor) { this._FogColor = obj.FogColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogColor")); } if(this._FogStart != obj.FogStart) { this._FogStart = obj.FogStart; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogStart")); } if(this._FogEnd != obj.FogEnd) { this._FogEnd = obj.FogEnd; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogEnd")); } if(this._FogDensity != obj.FogDensity) { this._FogDensity = obj.FogDensity; OnPropertyQuietChanged(new PropertyChangedEventArgs("FogDensity")); } if(this._MinPopUpDistance != obj.MinPopUpDistance) { this._MinPopUpDistance = obj.MinPopUpDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("MinPopUpDistance")); } if(this._OnClickDistance != obj.OnClickDistance) { this._OnClickDistance = obj.OnClickDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("OnClickDistance")); } if(this._ShowSky != obj.ShowSky) { this._ShowSky = obj.ShowSky; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowSky")); } if(this._PasueScene != obj.PasueScene) { this._PasueScene = obj.PasueScene; OnPropertyQuietChanged(new PropertyChangedEventArgs("PasueScene")); } if(this._EnableScene != obj.EnableScene) { this._EnableScene = obj.EnableScene; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableScene")); } if(this._ShowBoundingBox != obj.ShowBoundingBox) { this._ShowBoundingBox = obj.ShowBoundingBox; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowBoundingBox")); } if(this._ShowPortalSystem != obj.ShowPortalSystem) { this._ShowPortalSystem = obj.ShowPortalSystem; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowPortalSystem")); } if(this._EnablePortalZone != obj.EnablePortalZone) { this._EnablePortalZone = obj.EnablePortalZone; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePortalZone")); } if(this._GenerateReport != obj.GenerateReport) { this._GenerateReport = obj.GenerateReport; OnPropertyQuietChanged(new PropertyChangedEventArgs("GenerateReport")); } if(this._AutoPlayerRipple != obj.AutoPlayerRipple) { this._AutoPlayerRipple = obj.AutoPlayerRipple; OnPropertyQuietChanged(new PropertyChangedEventArgs("AutoPlayerRipple")); } if(this._ShowHeadOnDisplay != obj.ShowHeadOnDisplay) { this._ShowHeadOnDisplay = obj.ShowHeadOnDisplay; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowHeadOnDisplay")); } if(this._UseWireFrame != obj.UseWireFrame) { this._UseWireFrame = obj.UseWireFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseWireFrame")); } if(this._ForceExportPhysics != obj.ForceExportPhysics) { this._ForceExportPhysics = obj.ForceExportPhysics; OnPropertyQuietChanged(new PropertyChangedEventArgs("ForceExportPhysics")); } if(this._MaxHeadOnDisplayDistance != obj.MaxHeadOnDisplayDistance) { this._MaxHeadOnDisplayDistance = obj.MaxHeadOnDisplayDistance; OnPropertyQuietChanged(new PropertyChangedEventArgs("MaxHeadOnDisplayDistance")); } if(this._UseInstancing != obj.UseInstancing) { this._UseInstancing = obj.UseInstancing; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseInstancing")); } if(this._persistent != obj.persistent) { this._persistent = obj.persistent; OnPropertyQuietChanged(new PropertyChangedEventArgs("persistent")); } if(this._PhysicsDebugDrawMode != obj.PhysicsDebugDrawMode) { this._PhysicsDebugDrawMode = obj.PhysicsDebugDrawMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsDebugDrawMode")); } if(this._BlockInput != obj.BlockInput) { this._BlockInput = obj.BlockInput; OnPropertyQuietChanged(new PropertyChangedEventArgs("BlockInput")); } }
public override void UpdateValue(IBindableObject _obj) { GlobalSettings obj = _obj as GlobalSettings; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._script_editor != obj.script_editor) { this._script_editor = obj.script_editor; OnPropertyQuietChanged(new PropertyChangedEventArgs("script_editor")); } if (this._Ctor_Color != obj.Ctor_Color) { this._Ctor_Color = obj.Ctor_Color; OnPropertyQuietChanged(new PropertyChangedEventArgs("Ctor_Color")); } if (this._Ctor_Height != obj.Ctor_Height) { this._Ctor_Height = obj.Ctor_Height; OnPropertyQuietChanged(new PropertyChangedEventArgs("Ctor_Height")); } if (this._Ctor_Speed != obj.Ctor_Speed) { this._Ctor_Speed = obj.Ctor_Speed; OnPropertyQuietChanged(new PropertyChangedEventArgs("Ctor_Speed")); } if (this._Selection_Color != obj.Selection_Color) { this._Selection_Color = obj.Selection_Color; OnPropertyQuietChanged(new PropertyChangedEventArgs("Selection_Color")); } if (this._Is_Editing != obj.Is_Editing) { this._Is_Editing = obj.Is_Editing; OnPropertyQuietChanged(new PropertyChangedEventArgs("Is_Editing")); } if (this._Effect_Level != obj.Effect_Level) { this._Effect_Level = obj.Effect_Level; OnPropertyQuietChanged(new PropertyChangedEventArgs("Effect_Level")); } if (this._TextureLOD != obj.TextureLOD) { this._TextureLOD = obj.TextureLOD; OnPropertyQuietChanged(new PropertyChangedEventArgs("TextureLOD")); } if (this._Locale != obj.Locale) { this._Locale = obj.Locale; OnPropertyQuietChanged(new PropertyChangedEventArgs("Locale")); } if (this._IsMouseInverse != obj.IsMouseInverse) { this._IsMouseInverse = obj.IsMouseInverse; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsMouseInverse")); } if (this._WindowText != obj.WindowText) { this._WindowText = obj.WindowText; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindowText")); } if (this._IgnoreWindowSizeChange != obj.IgnoreWindowSizeChange) { this._IgnoreWindowSizeChange = obj.IgnoreWindowSizeChange; OnPropertyQuietChanged(new PropertyChangedEventArgs("IgnoreWindowSizeChange")); } if (this._HasNewConfig != obj.HasNewConfig) { this._HasNewConfig = obj.HasNewConfig; OnPropertyQuietChanged(new PropertyChangedEventArgs("HasNewConfig")); } if (this._IsWindowClosingAllowed != obj.IsWindowClosingAllowed) { this._IsWindowClosingAllowed = obj.IsWindowClosingAllowed; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsWindowClosingAllowed")); } if (this._IsFullScreenMode != obj.IsFullScreenMode) { this._IsFullScreenMode = obj.IsFullScreenMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsFullScreenMode")); } if (this._MultiSampleType != obj.MultiSampleType) { this._MultiSampleType = obj.MultiSampleType; OnPropertyQuietChanged(new PropertyChangedEventArgs("MultiSampleType")); } if (this._MultiSampleQuality != obj.MultiSampleQuality) { this._MultiSampleQuality = obj.MultiSampleQuality; OnPropertyQuietChanged(new PropertyChangedEventArgs("MultiSampleQuality")); } if (this._ShowMenu != obj.ShowMenu) { this._ShowMenu = obj.ShowMenu; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowMenu")); } if (this._EnableProfiling != obj.EnableProfiling) { this._EnableProfiling = obj.EnableProfiling; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableProfiling")); } if (this._Enable3DRendering != obj.Enable3DRendering) { this._Enable3DRendering = obj.Enable3DRendering; OnPropertyQuietChanged(new PropertyChangedEventArgs("Enable3DRendering")); } if (this._RefreshTimer != obj.RefreshTimer) { this._RefreshTimer = obj.RefreshTimer; OnPropertyQuietChanged(new PropertyChangedEventArgs("RefreshTimer")); } if (this._ConsoleTextAttribute != obj.ConsoleTextAttribute) { this._ConsoleTextAttribute = obj.ConsoleTextAttribute; OnPropertyQuietChanged(new PropertyChangedEventArgs("ConsoleTextAttribute")); } if (this._CoreUsage != obj.CoreUsage) { this._CoreUsage = obj.CoreUsage; OnPropertyQuietChanged(new PropertyChangedEventArgs("CoreUsage")); } }
public override void UpdateValue(IBindableObject _obj) { Ocean obj = _obj as Ocean; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._DrawOcean != obj.DrawOcean) { this._DrawOcean = obj.DrawOcean; OnPropertyQuietChanged(new PropertyChangedEventArgs("DrawOcean")); } if(this._WaterLevel != obj.WaterLevel) { this._WaterLevel = obj.WaterLevel; OnPropertyQuietChanged(new PropertyChangedEventArgs("WaterLevel")); } if(this._OceanColor != obj.OceanColor) { this._OceanColor = obj.OceanColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("OceanColor")); } if(this._WindSpeed != obj.WindSpeed) { this._WindSpeed = obj.WindSpeed; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindSpeed")); } if(this._WindDirection != obj.WindDirection) { this._WindDirection = obj.WindDirection; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindDirection")); } if(this._RenderTechnique != obj.RenderTechnique) { this._RenderTechnique = obj.RenderTechnique; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderTechnique")); } if(this._EnableTerrainReflection != obj.EnableTerrainReflection) { this._EnableTerrainReflection = obj.EnableTerrainReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableTerrainReflection")); } if(this._EnableMeshReflection != obj.EnableMeshReflection) { this._EnableMeshReflection = obj.EnableMeshReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableMeshReflection")); } if(this._EnablePlayerReflection != obj.EnablePlayerReflection) { this._EnablePlayerReflection = obj.EnablePlayerReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnablePlayerReflection")); } if(this._EnableCharacterReflection != obj.EnableCharacterReflection) { this._EnableCharacterReflection = obj.EnableCharacterReflection; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableCharacterReflection")); } }
public override void UpdateValue(IBindableObject _obj) { SamplePlaceable obj = _obj as SamplePlaceable; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if (this._radius != obj.radius) { this._radius = obj.radius; OnPropertyQuietChanged(new PropertyChangedEventArgs("radius")); } if (this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if (this._mesh_obj != obj.mesh_obj) { this._mesh_obj = obj.mesh_obj; OnPropertyQuietChanged(new PropertyChangedEventArgs("mesh_obj")); } if (this._mesh_name != obj.mesh_name) { this._mesh_name = obj.mesh_name; OnPropertyQuietChanged(new PropertyChangedEventArgs("mesh_name")); } if (this._color != obj.color) { this._color = obj.color; OnPropertyQuietChanged(new PropertyChangedEventArgs("color")); } if (this._MyStringList != obj.MyStringList) { this._MyStringList = obj.MyStringList; OnPropertyQuietChanged(new PropertyChangedEventArgs("MyStringList")); } }
private static void UnBind(IBindableObject bindableObject, string propertyName, EventHandler OnPropertyDescriptorValueChanged) { try { object rootObject; PropertyDescriptor propertyDescriptor; if (ResolveDescriptor(bindableObject, propertyName, out propertyDescriptor, out rootObject)) { propertyDescriptor.RemoveValueChanged(rootObject, OnPropertyDescriptorValueChanged); } } catch (Exception e) { Console.WriteLine(e); } }
public override void UpdateValue(IBindableObject _obj) { FootStepsScene obj = _obj as FootStepsScene; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if(this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if(this._FootSteps_begin != obj.FootSteps_begin) { this._FootSteps_begin = obj.FootSteps_begin; OnPropertyQuietChanged(new PropertyChangedEventArgs("FootSteps_begin")); } if(this._FootSteps_end != obj.FootSteps_end) { this._FootSteps_end = obj.FootSteps_end; OnPropertyQuietChanged(new PropertyChangedEventArgs("FootSteps_end")); } if(this._update_count != obj.update_count) { this._update_count = obj.update_count; OnPropertyQuietChanged(new PropertyChangedEventArgs("update_count")); } if(this._update_interval != obj.update_interval) { this._update_interval = obj.update_interval; OnPropertyQuietChanged(new PropertyChangedEventArgs("update_interval")); } if(this._clear_afterupdate != obj.clear_afterupdate) { this._clear_afterupdate = obj.clear_afterupdate; OnPropertyQuietChanged(new PropertyChangedEventArgs("clear_afterupdate")); } if(this._copies != obj.copies) { this._copies = obj.copies; OnPropertyQuietChanged(new PropertyChangedEventArgs("copies")); } if(this._positions != obj.positions) { this._positions = obj.positions; OnPropertyQuietChanged(new PropertyChangedEventArgs("positions")); } if(this._facings != obj.facings) { this._facings = obj.facings; OnPropertyQuietChanged(new PropertyChangedEventArgs("facings")); } }
private static void SetParentValue(object parent, PropertyDescriptor parentProperty, IBindableObject bindableObject, string bindableObjectPropertyName) { if (parent == null || parentProperty == null|| bindableObject == null || string.IsNullOrEmpty(bindableObjectPropertyName)) return; // if the updated property is updated on a ValueType object -> Update the parent property also. if (parent.GetType().IsValueType && bindableObjectPropertyName.EndsWith(parentProperty.Name)) { object parentObj; PropertyDescriptor parentDescriptor; int index = bindableObjectPropertyName.Length - parentProperty.Name.Length - 1 /* remove point*/; if (index > 0) { if (ResolveDescriptor(bindableObject, bindableObjectPropertyName.Remove(index), out parentDescriptor, out parentObj)) { parentDescriptor.SetValue(parentObj, parent); SetParentValue(parentObj, parentDescriptor, bindableObject, bindableObjectPropertyName.Remove(index)); } } } }
public override void UpdateValue(IBindableObject _obj) { GlobalSettings obj = _obj as GlobalSettings; if (obj == null) { return; } if(this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if(this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if(this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if(this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if(this._script_editor != obj.script_editor) { this._script_editor = obj.script_editor; OnPropertyQuietChanged(new PropertyChangedEventArgs("script_editor")); } if(this._Ctor_Color != obj.Ctor_Color) { this._Ctor_Color = obj.Ctor_Color; OnPropertyQuietChanged(new PropertyChangedEventArgs("Ctor_Color")); } if(this._Ctor_Height != obj.Ctor_Height) { this._Ctor_Height = obj.Ctor_Height; OnPropertyQuietChanged(new PropertyChangedEventArgs("Ctor_Height")); } if(this._Ctor_Speed != obj.Ctor_Speed) { this._Ctor_Speed = obj.Ctor_Speed; OnPropertyQuietChanged(new PropertyChangedEventArgs("Ctor_Speed")); } if(this._Selection_Color != obj.Selection_Color) { this._Selection_Color = obj.Selection_Color; OnPropertyQuietChanged(new PropertyChangedEventArgs("Selection_Color")); } if(this._Is_Editing != obj.Is_Editing) { this._Is_Editing = obj.Is_Editing; OnPropertyQuietChanged(new PropertyChangedEventArgs("Is_Editing")); } if(this._Effect_Level != obj.Effect_Level) { this._Effect_Level = obj.Effect_Level; OnPropertyQuietChanged(new PropertyChangedEventArgs("Effect_Level")); } if(this._TextureLOD != obj.TextureLOD) { this._TextureLOD = obj.TextureLOD; OnPropertyQuietChanged(new PropertyChangedEventArgs("TextureLOD")); } if(this._Locale != obj.Locale) { this._Locale = obj.Locale; OnPropertyQuietChanged(new PropertyChangedEventArgs("Locale")); } if(this._IsMouseInverse != obj.IsMouseInverse) { this._IsMouseInverse = obj.IsMouseInverse; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsMouseInverse")); } if(this._WindowText != obj.WindowText) { this._WindowText = obj.WindowText; OnPropertyQuietChanged(new PropertyChangedEventArgs("WindowText")); } if(this._IgnoreWindowSizeChange != obj.IgnoreWindowSizeChange) { this._IgnoreWindowSizeChange = obj.IgnoreWindowSizeChange; OnPropertyQuietChanged(new PropertyChangedEventArgs("IgnoreWindowSizeChange")); } if(this._HasNewConfig != obj.HasNewConfig) { this._HasNewConfig = obj.HasNewConfig; OnPropertyQuietChanged(new PropertyChangedEventArgs("HasNewConfig")); } if(this._IsWindowClosingAllowed != obj.IsWindowClosingAllowed) { this._IsWindowClosingAllowed = obj.IsWindowClosingAllowed; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsWindowClosingAllowed")); } if(this._IsFullScreenMode != obj.IsFullScreenMode) { this._IsFullScreenMode = obj.IsFullScreenMode; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsFullScreenMode")); } if(this._MultiSampleType != obj.MultiSampleType) { this._MultiSampleType = obj.MultiSampleType; OnPropertyQuietChanged(new PropertyChangedEventArgs("MultiSampleType")); } if(this._MultiSampleQuality != obj.MultiSampleQuality) { this._MultiSampleQuality = obj.MultiSampleQuality; OnPropertyQuietChanged(new PropertyChangedEventArgs("MultiSampleQuality")); } if(this._ShowMenu != obj.ShowMenu) { this._ShowMenu = obj.ShowMenu; OnPropertyQuietChanged(new PropertyChangedEventArgs("ShowMenu")); } if(this._EnableProfiling != obj.EnableProfiling) { this._EnableProfiling = obj.EnableProfiling; OnPropertyQuietChanged(new PropertyChangedEventArgs("EnableProfiling")); } if(this._Enable3DRendering != obj.Enable3DRendering) { this._Enable3DRendering = obj.Enable3DRendering; OnPropertyQuietChanged(new PropertyChangedEventArgs("Enable3DRendering")); } if(this._RefreshTimer != obj.RefreshTimer) { this._RefreshTimer = obj.RefreshTimer; OnPropertyQuietChanged(new PropertyChangedEventArgs("RefreshTimer")); } if(this._ConsoleTextAttribute != obj.ConsoleTextAttribute) { this._ConsoleTextAttribute = obj.ConsoleTextAttribute; OnPropertyQuietChanged(new PropertyChangedEventArgs("ConsoleTextAttribute")); } if(this._CoreUsage != obj.CoreUsage) { this._CoreUsage = obj.CoreUsage; OnPropertyQuietChanged(new PropertyChangedEventArgs("CoreUsage")); } }
void midiEventsBindingSource_CurrentChanged(object sender, EventArgs e) { selectedObject = midiEventsBindingSource.Current as IBindableObject; propertyGrid1.SelectedObject = selectedObject; selectedProperty = GetPropertyGridSelectionName(); if (SelectionChanged != null) SelectionChanged(this, EventArgs.Empty); }
public override void UpdateValue(IBindableObject _obj) { Sky obj = _obj as Sky; if (obj == null) { return; } if (this._uid != obj.uid) { this._uid = obj.uid; OnPropertyQuietChanged(new PropertyChangedEventArgs("uid")); } if (this._worldfilter != obj.worldfilter) { this._worldfilter = obj.worldfilter; OnPropertyQuietChanged(new PropertyChangedEventArgs("worldfilter")); } if (this._codefile != obj.codefile) { this._codefile = obj.codefile; OnPropertyQuietChanged(new PropertyChangedEventArgs("codefile")); } if (this._template_file != obj.template_file) { this._template_file = obj.template_file; OnPropertyQuietChanged(new PropertyChangedEventArgs("template_file")); } if (this._name != obj.name) { this._name = obj.name; OnPropertyQuietChanged(new PropertyChangedEventArgs("name")); } if (this._facing != obj.facing) { this._facing = obj.facing; OnPropertyQuietChanged(new PropertyChangedEventArgs("facing")); } if (this._width != obj.width) { this._width = obj.width; OnPropertyQuietChanged(new PropertyChangedEventArgs("width")); } if (this._height != obj.height) { this._height = obj.height; OnPropertyQuietChanged(new PropertyChangedEventArgs("height")); } if (this._depth != obj.depth) { this._depth = obj.depth; OnPropertyQuietChanged(new PropertyChangedEventArgs("depth")); } if (this._radius != obj.radius) { this._radius = obj.radius; OnPropertyQuietChanged(new PropertyChangedEventArgs("radius")); } if (this._position != obj.position) { this._position = obj.position; OnPropertyQuietChanged(new PropertyChangedEventArgs("position")); } if (this._render_tech != obj.render_tech) { this._render_tech = obj.render_tech; OnPropertyQuietChanged(new PropertyChangedEventArgs("render_tech")); } if (this._progress != obj.progress) { this._progress = obj.progress; OnPropertyQuietChanged(new PropertyChangedEventArgs("progress")); } if (this._homezone != obj.homezone) { this._homezone = obj.homezone; OnPropertyQuietChanged(new PropertyChangedEventArgs("homezone")); } if (this._showboundingbox != obj.showboundingbox) { this._showboundingbox = obj.showboundingbox; OnPropertyQuietChanged(new PropertyChangedEventArgs("showboundingbox")); } if (this._PhysicsGroup != obj.PhysicsGroup) { this._PhysicsGroup = obj.PhysicsGroup; OnPropertyQuietChanged(new PropertyChangedEventArgs("PhysicsGroup")); } if (this._SelectGroupIndex != obj.SelectGroupIndex) { this._SelectGroupIndex = obj.SelectGroupIndex; OnPropertyQuietChanged(new PropertyChangedEventArgs("SelectGroupIndex")); } if (this._On_AssetLoaded != obj.On_AssetLoaded) { this._On_AssetLoaded = obj.On_AssetLoaded; OnPropertyQuietChanged(new PropertyChangedEventArgs("On_AssetLoaded")); } if (this._RenderImportance != obj.RenderImportance) { this._RenderImportance = obj.RenderImportance; OnPropertyQuietChanged(new PropertyChangedEventArgs("RenderImportance")); } if (this._AnimID != obj.AnimID) { this._AnimID = obj.AnimID; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimID")); } if (this._AnimFrame != obj.AnimFrame) { this._AnimFrame = obj.AnimFrame; OnPropertyQuietChanged(new PropertyChangedEventArgs("AnimFrame")); } if (this._UseGlobalTime != obj.UseGlobalTime) { this._UseGlobalTime = obj.UseGlobalTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("UseGlobalTime")); } if (this._SkyMeshFile != obj.SkyMeshFile) { this._SkyMeshFile = obj.SkyMeshFile; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyMeshFile")); } if (this._SkyColor != obj.SkyColor) { this._SkyColor = obj.SkyColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyColor")); } if (this._SkyFogAngleFrom != obj.SkyFogAngleFrom) { this._SkyFogAngleFrom = obj.SkyFogAngleFrom; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyFogAngleFrom")); } if (this._SkyFogAngleTo != obj.SkyFogAngleTo) { this._SkyFogAngleTo = obj.SkyFogAngleTo; OnPropertyQuietChanged(new PropertyChangedEventArgs("SkyFogAngleTo")); } if (this._SimulatedSky != obj.SimulatedSky) { this._SimulatedSky = obj.SimulatedSky; OnPropertyQuietChanged(new PropertyChangedEventArgs("SimulatedSky")); } if (this._IsAutoDayTime != obj.IsAutoDayTime) { this._IsAutoDayTime = obj.IsAutoDayTime; OnPropertyQuietChanged(new PropertyChangedEventArgs("IsAutoDayTime")); } if (this._SunGlowTexture != obj.SunGlowTexture) { this._SunGlowTexture = obj.SunGlowTexture; OnPropertyQuietChanged(new PropertyChangedEventArgs("SunGlowTexture")); } if (this._CloudTexture != obj.CloudTexture) { this._CloudTexture = obj.CloudTexture; OnPropertyQuietChanged(new PropertyChangedEventArgs("CloudTexture")); } if (this._SunColor != obj.SunColor) { this._SunColor = obj.SunColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("SunColor")); } if (this._LightSkyColor != obj.LightSkyColor) { this._LightSkyColor = obj.LightSkyColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("LightSkyColor")); } if (this._DarkSkyColor != obj.DarkSkyColor) { this._DarkSkyColor = obj.DarkSkyColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("DarkSkyColor")); } if (this._CloudColor != obj.CloudColor) { this._CloudColor = obj.CloudColor; OnPropertyQuietChanged(new PropertyChangedEventArgs("CloudColor")); } }