public static MieFontAsset Read(BinaryReader br) { var fileID = br.ReadInt32(); var pathID = br.ReadInt64(); var fontAsset = new MieFontAsset(fileID, pathID); return(fontAsset); }
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); }