Quote:
Originally Posted by TheDS1337
Seems interesting, but if I understood this right... then you can just use DataPacks for passing information?
|
Yes but DataPacks work thought extension, but you also can convert Handle to char stream if you need. I also will attach the sourcecode of comp later a bit later tommorow
It will work with datapack is well
PHP Code:
char[] AnyToString(any Data)
{
char Buf[6];
#emit break
#emit load.s.pri Data
#emit stor.s.pri Buf
for(int i = 0; i != 4; i++)
{
if(Buf[i] == 0)
{
Buf[4] |= (1<<i);
Buf[i] = 0xFF;
}
}
return Buf;
}
__________________