Consumes characters until we have a sprite ID
(next_chr: char, param: String)
| 1209 | /// Consumes characters until we have a sprite ID |
| 1210 | /// |
| 1211 | fn decode_sprite_id(next_chr: char, param: String) -> Result<PartialResult<SpriteId>, DecoderError> { |
| 1212 | Self::decode_compact_id(next_chr, param) |
| 1213 | .map(|id| id.map(|id| SpriteId(id))) |
| 1214 | } |
| 1215 | |
| 1216 | /// |
| 1217 | /// Consumes characters until we have a layer ID |