예제 #1
0
 public override void Parse(SecurityElement element)
 {
     _key                    = element.Attribute("key"); base["key"] = _key;
     _element_body           = EngineUtils.ToBoolean(element.Attribute("element_body")); base["element_body"] = _element_body;
     _element_head           = EngineUtils.ToBoolean(element.Attribute("element_head")); base["element_head"] = _element_head;
     _element_l_shoulder     = EngineUtils.ToBoolean(element.Attribute("element_l_shoulder")); base["element_l_shoulder"] = _element_l_shoulder;
     _element_r_shoulder     = EngineUtils.ToBoolean(element.Attribute("element_r_shoulder")); base["element_r_shoulder"] = _element_r_shoulder;
     _element_chest          = EngineUtils.ToBoolean(element.Attribute("element_chest")); base["element_chest"] = _element_chest;
     _element_belt           = EngineUtils.ToBoolean(element.Attribute("element_belt")); base["element_belt"] = _element_belt;
     _element_leg            = EngineUtils.ToBoolean(element.Attribute("element_leg")); base["element_leg"] = _element_leg;
     _element_l_foot         = EngineUtils.ToBoolean(element.Attribute("element_l_foot")); base["element_l_foot"] = _element_l_foot;
     _element_r_foot         = EngineUtils.ToBoolean(element.Attribute("element_r_foot")); base["element_r_foot"] = _element_r_foot;
     _element_cloak          = EngineUtils.ToBoolean(element.Attribute("element_cloak")); base["element_cloak"] = _element_cloak;
     _element_primary_weapon = EngineUtils.ToBoolean(element.Attribute("element_primary_weapon")); base["element_primary_weapon"] = _element_primary_weapon;
     _element_sub_weapon     = EngineUtils.ToBoolean(element.Attribute("element_sub_weapon")); base["element_sub_weapon"] = _element_sub_weapon;
 }