"Sputnik" help  
Sputnik Help
NbtGetName(<nbt>)

Description

Retrieves the name of an NBT (Named Binary Tag) object.

Parameters

<nbt> The NBT object from which to retrieve the name.

Return Value

Success: Returns a string representing the name of the NBT object..
Failure: Returns an empty string.

Remarks

The NbtGetName function is used to obtain the name assigned to an NBT object. The NBT object represents a named binary tag in Sputnik, and the name provides a way to identify and reference the specific tag.

Related

Example

Example of usage:

my $nbt = Nbt((Int32)42, "myTag");
say NbtGetName($nbt);
// PRINTS
// myTag

 


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org