LeviLamina
Loading...
Searching...
No Matches
StunXorAddressAttribute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/StunAddressAttribute.h"
7#include "mc/external/cricket/StunAttributeValueType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cricket { class StunMessage; }
12namespace rtc { class ByteBufferReader; }
13namespace rtc { class ByteBufferWriter; }
14namespace rtc { class IPAddress; }
15namespace rtc { class SocketAddress; }
16// clang-format on
17
18namespace cricket {
19
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ::cricket::StunAttributeValueType value_type() const /*override*/;
38
39 // vIndex: 2
40 virtual void SetOwner(::cricket::StunMessage* owner) /*override*/;
41
42 // vIndex: 3
43 virtual bool Read(::rtc::ByteBufferReader* buf) /*override*/;
44
45 // vIndex: 4
46 virtual bool Write(::rtc::ByteBufferWriter* buf) const /*override*/;
47
48 // vIndex: 0
49 virtual ~StunXorAddressAttribute() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCNAPI ::rtc::IPAddress GetXoredIP() const;
56
57 MCNAPI StunXorAddressAttribute(ushort type, ::rtc::SocketAddress const& addr);
58
59 MCNAPI StunXorAddressAttribute(ushort type, ushort length, ::cricket::StunMessage* owner);
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCNAPI void* $ctor(ushort type, ::rtc::SocketAddress const& addr);
66
67 MCNAPI void* $ctor(ushort type, ushort length, ::cricket::StunMessage* owner);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCNAPI ::cricket::StunAttributeValueType $value_type() const;
74
75 MCNAPI void $SetOwner(::cricket::StunMessage* owner);
76
77 MCNAPI bool $Read(::rtc::ByteBufferReader* buf);
78
79 MCNAPI bool $Write(::rtc::ByteBufferWriter* buf) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
88
89} // namespace cricket
Definition StunAddressAttribute.h:18
Definition StunMessage.h:23
Definition StunXorAddressAttribute.h:20
MCAPI::cricket::StunAttributeValueType $value_type() const
MCAPI StunXorAddressAttribute(ushort type, ushort length, ::cricket::StunMessage *owner)
static MCAPI void ** $vftable()
MCAPI void * $ctor(ushort type, ::rtc::SocketAddress const &addr)
MCAPI bool $Read(::rtc::ByteBufferReader *buf)
MCAPI StunXorAddressAttribute(ushort type, ::rtc::SocketAddress const &addr)
MCAPI::rtc::IPAddress GetXoredIP() const
MCAPI void * $ctor(ushort type, ushort length, ::cricket::StunMessage *owner)
MCAPI bool $Write(::rtc::ByteBufferWriter *buf) const
MCAPI void $SetOwner(::cricket::StunMessage *owner)
Definition ByteBufferReader.h:12
Definition ByteBufferWriter.h:11
Definition SocketAddress.h:12
Definition Read.h:6
Definition Write.h:6
Definition Alias.h:14