internal bool A(TextBlock textBlock) { if (textBlock.IsAttributeExist("methodParameter")) { this.aAu = (Entities.Instance.GetLoadingEntityBySerializedUIN(uint.Parse(textBlock.GetAttribute("methodParameter"))) as LogicParameter); } if (textBlock.IsAttributeExist("declareAction")) { this.aAV = (Entities.Instance.GetLoadingEntityBySerializedUIN(uint.Parse(textBlock.GetAttribute("declareAction"))) as LogicDeclareLocalVariableAction); } if (textBlock.IsAttributeExist("type")) { string attribute = textBlock.GetAttribute("type"); Type left = null; Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); for (int i = 0; i < assemblies.Length; i++) { Assembly assembly = assemblies[i]; left = assembly.GetType(attribute); if (left != null) { break; } } if (left == null) { Log.Warning("Entity System: Serialization error. The type is not found \"{0}\".", attribute); return(false); } this.aAv = left; } if (textBlock.IsAttributeExist("name")) { this.aAW = textBlock.GetAttribute("name"); } if (textBlock.IsAttributeExist("value")) { string attribute2 = textBlock.GetAttribute("value"); EntityHelper.ConvertFromString(this.aAv, attribute2, null, out this.aAw); } return(true); }