struct PeerDataReceivedArgs (Niantic.ARDK.Networking.MultipeerNetworkingEventArgs.PeerDataReceivedArgs)ΒΆ

struct PeerDataReceivedArgs: Niantic.ARDK.Utilities.IArdkEventArgs {
    // properties

    int DataLength;
    IPeer Peer;
    uint Tag;
    TransportType TransportType;

    // methods

    byte[] CopyData();
    MemoryStream CreateDataReader();

    PeerDataReceivedArgs(
        IPeer peer,
        uint tag,
        TransportType transportType,
        byte[] data
    );
};