예제 #1
0
파일: temp.cs 프로젝트: k3v1n1990s/rm-lib
    public static void RMI()
    {
        string fn  = CONFIG.CLIENT_PATH + "DATAs/Info/Item03.rmi";
        var    rmi = new RMI(new ByteReader(File.ReadAllBytes(fn)));

        var item = new RMI.Item();

        item.Message = new CTF.Ref(6, 5, 700);

        SetCommonItemFields(item);

        rmi.Items.Add(item);

        File.WriteAllBytes(fn, rmi.Save(new ByteWriter()).ToByteArray());
    }
예제 #2
0
    public static void RMI()
    {
        string fn = CONFIG.CLIENT_PATH + "DATAs/Info/Item03.rmi";
        var rmi = new RMI(new ByteReader(File.ReadAllBytes(fn)));

        var item = new RMI.Item();
        item.Message = new CTF.Ref(6,5,700);

        SetCommonItemFields(item);

        rmi.Items.Add(item);

        File.WriteAllBytes(fn, rmi.Save(new ByteWriter()).ToByteArray());
    }