Implement IntArrayTag
This commit is contained in:
parent
5642a7f693
commit
4ee91e762a
3 changed files with 37 additions and 22 deletions
|
@ -3,6 +3,7 @@ import 'package:libac_flutter/nbt/impl/CompoundTag.dart';
|
|||
import 'package:libac_flutter/nbt/impl/DoubleTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/EndTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/FloatTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/IntArrayTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/IntTag.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagLong.dart';
|
||||
import 'package:libac_flutter/nbt/impl/TagShort.dart';
|
||||
|
@ -103,6 +104,10 @@ abstract class Tag {
|
|||
return new TagLong(value: 0);
|
||||
case TagType.Float:
|
||||
return new FloatTag();
|
||||
case TagType.IntArray:
|
||||
{
|
||||
return new IntArrayTag();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue