예제 #1
0
파일: temp.cs 프로젝트: k3v1n1990s/rm-lib
    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());
    }
예제 #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());
    }