Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool map(bool delegate(NbtNode) cb) {
- static bool callback(nbt_node* node, void* aux)
- {
- auto dg = *cast(typeof(cb)*)aux;
- return dg(new NbtNode(node));
- }
- return check_nbt!nbt_map(node, &callback, &cb);
- }
Add Comment
Please, Sign In to add comment