Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
PacketReceiveEvent Struct Reference

`#include <event.h>`

Inheritance diagram for PacketReceiveEvent:

## Public Member Functions
| PacketReceiveEvent ()
Public Member Functions inherited from Event
| Event ()

## Public Attributes
NetAddress | sourceAddress
| Originating address. More...
U8 | data [MaxPacketDataSize]
| Payload. More...
Public Attributes inherited from Event
U16 | type
U16 | size

## Detailed Description

Triggered on incoming (UDP) packet

packetType is what type of packet it is.

## Constructor & Destructor Documentation

PacketReceiveEvent | ( |  | ) |
| inline

## Member Data Documentation

U8 data[MaxPacketDataSize]

Payload.

NetAddress sourceAddress

Originating address.

The documentation for this struct was generated from the following file:

- platform/event.h