Esempio n. 1
0
    public static void RSI()
    {
        string fn  = CONFIG.SERVER_PATH + "Data/Item/Info/ItemInfo03.rsi";
        var    rsi = new RSI(new ByteReader(File.ReadAllBytes(fn), ENC.KR));

        var item = new RSI.Item()
        {
            ShopDescription      = "",
            InventoryDescription = ""
        };

        SetCommonItemFields(item);

        rsi.Items.Add(item);

        File.WriteAllBytes(fn, rsi.Save(new ByteWriter(ENC.KR)).ToByteArray());
    }
Esempio n. 2
0
    public static void RSI()
    {
        string fn = CONFIG.SERVER_PATH + "Data/Item/Info/ItemInfo03.rsi";
        var rsi = new RSI(new ByteReader(File.ReadAllBytes(fn), ENC.KR));

        var item = new RSI.Item()
        {
            ShopDescription = "",
            InventoryDescription = ""
        };

        SetCommonItemFields(item);

        rsi.Items.Add(item);

        File.WriteAllBytes(fn, rsi.Save(new ByteWriter(ENC.KR)).ToByteArray());
    }