Client LuaCsForBarotrauma
|
Public Member Functions | |
override void | ProcessIncomingMessages () |
override bool | SendMessage (P2PEndpoint endpoint, IWriteMessage outMsg, DeliveryMethod deliveryMethod) |
override void | CloseConnection (P2PEndpoint endpoint) |
override void | Dispose () |
Public Member Functions inherited from P2PSocket | |
readonly record struct | Error (ImmutableArray<(ErrorCode Code, string AdditionalInfo)> CodesAndInfo) |
readonly record struct | Callbacks (Predicate< P2PEndpoint > OnIncomingConnection, Action< P2PEndpoint, PeerDisconnectPacket > OnConnectionClosed, Action< P2PEndpoint, IReadMessage > OnData) |
Static Public Member Functions | |
static Result< P2PSocket, Error > | Create (Callbacks callbacks) |
Additional Inherited Members | |
Public Types inherited from P2PSocket | |
enum class | ErrorCode { EosNotInitialized , EosNotLoggedIn , FailedToCreateEosP2PSocket , SteamNotInitialized , FailedToCreateSteamP2PSocket } |
Protected Member Functions inherited from P2PSocket | |
P2PSocket (Callbacks callbacks) | |
Protected Attributes inherited from P2PSocket | |
readonly Callbacks | callbacks |
Definition at line 5 of file DualStackP2PSocket.cs.
|
virtual |
Implements P2PSocket.
Definition at line 58 of file DualStackP2PSocket.cs.
Definition at line 20 of file DualStackP2PSocket.cs.
|
virtual |
Implements P2PSocket.
Definition at line 77 of file DualStackP2PSocket.cs.
|
virtual |
Implements P2PSocket.
Definition at line 39 of file DualStackP2PSocket.cs.
|
virtual |
Implements P2PSocket.
Definition at line 45 of file DualStackP2PSocket.cs.