示例#1
0
    public void Load(byte[] bytes)
    {
        m_map = new Dictionary <int, EquipmentInfo>();
        BinaryHelper helper = new BinaryHelper(bytes);

        int sceneCount = helper.ReadInt();

        for (int index = 0; index < sceneCount; ++index)
        {
            EquipmentInfo info = new EquipmentInfo();

            info.Load(helper);

            m_map.Add(info.m_id, info);
        }
    }