예제 #1
0
 public ABDetailRecord(string n, RecordType t, DateTime d, AssetBundleHelper.StageInfo s)
 {
     nameKey    = n;
     recordType = t;
     time       = d;
     ABStage    = s;
 }
예제 #2
0
    public void InputXmlNode(XmlElement node)
    {
        //IFormatProvider ifp = new CultureInfo("zh-CN", true);
        nameKey    = node.GetAttribute(AssetBundleSettingHelper.xmlNode_Name);
        recordType = (RecordType)Enum.Parse(typeof(RecordType), node.GetAttribute(AssetBundleSettingHelper.xmlNode_Type));
        long ticks = long.Parse(node.GetAttribute(AssetBundleSettingHelper.xmlNode_Time_Ticks));

        time    = new DateTime(ticks);
        ticks   = long.Parse(node.GetAttribute(AssetBundleSettingHelper.xmlNode_StageBeginTime_Ticks));
        ABStage = new AssetBundleHelper.StageInfo(node.GetAttribute(AssetBundleSettingHelper.xmlNode_Stage), new DateTime(ticks));
    }