from direct.distributed.PyDatagram import PyDatagram

Inheritance diagram

Inheritance diagram of direct.distributed.PyDatagram

class PyDatagram[source]

Bases: panda3d.core.Datagram

FuncDict = {0: (<method 'addInt8' of 'panda3d.core.Datagram' objects>, <class 'int'>), 1: (<method 'addInt16' of 'panda3d.core.Datagram' objects>, <class 'int'>), 2: (<method 'addInt32' of 'panda3d.core.Datagram' objects>, <class 'int'>), 3: (<method 'addInt64' of 'panda3d.core.Datagram' objects>, <class 'int'>), 4: (<method 'addUint8' of 'panda3d.core.Datagram' objects>, <class 'int'>), 5: (<method 'addUint16' of 'panda3d.core.Datagram' objects>, <class 'int'>), 6: (<method 'addUint32' of 'panda3d.core.Datagram' objects>, <class 'int'>), 7: (<method 'addUint64' of 'panda3d.core.Datagram' objects>, <class 'int'>), 8: (<method 'addFloat64' of 'panda3d.core.Datagram' objects>, None), 9: (<method 'addString' of 'panda3d.core.Datagram' objects>, None), 10: (<method 'addBlob' of 'panda3d.core.Datagram' objects>, None), 11: (<method 'addBlob32' of 'panda3d.core.Datagram' objects>, None)}

C++ Interface: add_uint64(const Datagram self, long value)

  • Adds an unsigned 64-bit integer to the datagram.


addOldServerHeader(self, channel, sender, code)[source]
addServerControlHeader(self, code)[source]
addServerHeader(self, channel, sender, code)[source]
putArg(self, arg, subatomicType, divisor=1)[source]