README
CHANGELOG
COPYING
OpenTTDLibPacket __construct( [string $data = ""], [integer $size = 0], [integer $pos = 0])
string getData( )
integer getPos( )
integer getSize( )
OpenTTDLibPacket &NetworkSend_Init( integer $type)
void PrepareToSend( )
void ReadRawPacketSize( )
string Recv_string( )
integer Recv_uint8( )
integer Recv_uint16( [boolean $switch_endian = false])
read the next few byets, process and return a value we can work with
integer Recv_uint32( [boolean $switch_endian = false])
string Recv_uint64( )
read the next few bytes, process and return a value we can work with please use the BCMath functions for handling 64 bit integers thanks to eekee, Rubidium and SmatZ
void resetPos( )
void Send_string( string $s)
append data to the packet for sending
void Send_uint8( integer $d)
void Send_uint16( integer $d, [boolean $switch_endian = false])
void Send_uint32( integer $d, [boolean $switch_endian = false])
bool sizeOK( )
array __sleep( )
void __wakeup( )
[line 48]
[line 39]
[line 37]
[line 41]
[line 40]
[line 42]
[line 38]