Exemple #1
0
    public static dynamic get_object_by_path(string path, bool hasBinaryToBase64)
    {
        wzpackage           pack;
        wzproperty          prop;
        ObjectInspectorBase inspector;

        DataSource.get_data(path, out pack, out prop);

        if (hasBinaryToBase64)
        {
            inspector = new Inspector_Base64();
        }
        else
        {
            inspector = new Inspector_Plain();
        }

        if (prop != null)
        {
            return(inspector.pod(prop));
        }
        else if (pack != null)
        {
            return(inspector.pod(prop));
        }

        return(null);
    }
Exemple #2
0
    internal DataExtracter(string setting)
    {
        this.inspet = new Inspector_Base64();

        if (setting != "no_string")
        {
            this.chara = DataSource.packages["Character"];

            this.equip_names = DataSource.packages["String", "Eqp"].root[""]["Eqp"];
        }
    }