예제 #1
0
        public static MieFontAsset Read(BinaryReader br)
        {
            var fileID    = br.ReadInt32();
            var pathID    = br.ReadInt64();
            var fontAsset = new MieFontAsset(fileID, pathID);

            return(fontAsset);
        }
예제 #2
0
        public static MieFontFallbackFontAssets Read(BinaryReader br)
        {
            var fallbackFontAssets = new MieFontFallbackFontAssets();

            var count = br.ReadInt32();

            for (int i = 0; i < count; i++)
            {
                var fontAsset = MieFontAsset.Read(br);
                fallbackFontAssets.Items.Add(fontAsset);
            }

            return(fallbackFontAssets);
        }