C# Class Valve.Steamworks.ISteamNetworking

ファイルを表示 Open project: kronosaur/Transcendence

Public Methods

Method Description
AcceptP2PSessionWithUser ( ulong steamIDRemote ) : bool
AllowP2PPacketRelay ( bool bAllow ) : bool
CloseP2PChannelWithUser ( ulong steamIDRemote, int nChannel ) : bool
CloseP2PSessionWithUser ( ulong steamIDRemote ) : bool
CreateConnectionSocket ( uint nIP, char nPort, int nTimeoutSec ) : uint
CreateListenSocket ( int nVirtualP2PPort, uint nIP, char nPort, bool bAllowUseOfPacketRelay ) : uint
CreateP2PConnectionSocket ( ulong steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay ) : uint
DestroyListenSocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool
DestroySocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool
GetIntPtr ( ) : IntPtr
GetListenSocketInfo ( uint hListenSocket, uint &pnIP, char &pnPort ) : bool
GetMaxPacketSize ( uint hSocket ) : int
GetP2PSessionState ( ulong steamIDRemote, P2PSessionState_t &pConnectionState ) : bool
GetSocketConnectionType ( uint hSocket ) : uint
GetSocketInfo ( uint hSocket, CSteamID &pSteamIDRemote, int &peSocketStatus, uint &punIPRemote, char &punPortRemote ) : bool
IsDataAvailable ( uint hListenSocket, uint &pcubMsgSize, uint &phSocket ) : bool
IsDataAvailableOnSocket ( uint hSocket, uint &pcubMsgSize ) : bool
IsP2PPacketAvailable ( uint &pcubMsgSize, int nChannel ) : bool
ReadP2PPacket ( IntPtr pubDest, uint cubDest, uint &pcubMsgSize, CSteamID &psteamIDRemote, int nChannel ) : bool
RetrieveData ( uint hListenSocket, IntPtr pubDest, uint cubDest, uint &pcubMsgSize, uint &phSocket ) : bool
RetrieveDataFromSocket ( uint hSocket, IntPtr pubDest, uint cubDest, uint &pcubMsgSize ) : bool
SendDataOnSocket ( uint hSocket, IntPtr pubData, uint cubData, bool bReliable ) : bool
SendP2PPacket ( ulong steamIDRemote, IntPtr pubData, uint cubData, uint eP2PSendType, int nChannel ) : bool

Method Details

AcceptP2PSessionWithUser() public abstract method

public abstract AcceptP2PSessionWithUser ( ulong steamIDRemote ) : bool
steamIDRemote ulong
return bool

AllowP2PPacketRelay() public abstract method

public abstract AllowP2PPacketRelay ( bool bAllow ) : bool
bAllow bool
return bool

CloseP2PChannelWithUser() public abstract method

public abstract CloseP2PChannelWithUser ( ulong steamIDRemote, int nChannel ) : bool
steamIDRemote ulong
nChannel int
return bool

CloseP2PSessionWithUser() public abstract method

public abstract CloseP2PSessionWithUser ( ulong steamIDRemote ) : bool
steamIDRemote ulong
return bool

CreateConnectionSocket() public abstract method

public abstract CreateConnectionSocket ( uint nIP, char nPort, int nTimeoutSec ) : uint
nIP uint
nPort char
nTimeoutSec int
return uint

CreateListenSocket() public abstract method

public abstract CreateListenSocket ( int nVirtualP2PPort, uint nIP, char nPort, bool bAllowUseOfPacketRelay ) : uint
nVirtualP2PPort int
nIP uint
nPort char
bAllowUseOfPacketRelay bool
return uint

CreateP2PConnectionSocket() public abstract method

public abstract CreateP2PConnectionSocket ( ulong steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay ) : uint
steamIDTarget ulong
nVirtualPort int
nTimeoutSec int
bAllowUseOfPacketRelay bool
return uint

DestroyListenSocket() public abstract method

public abstract DestroyListenSocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool
hSocket uint
bNotifyRemoteEnd bool
return bool

DestroySocket() public abstract method

public abstract DestroySocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool
hSocket uint
bNotifyRemoteEnd bool
return bool

GetIntPtr() public abstract method

public abstract GetIntPtr ( ) : IntPtr
return IntPtr

GetListenSocketInfo() public abstract method

public abstract GetListenSocketInfo ( uint hListenSocket, uint &pnIP, char &pnPort ) : bool
hListenSocket uint
pnIP uint
pnPort char
return bool

GetMaxPacketSize() public abstract method

public abstract GetMaxPacketSize ( uint hSocket ) : int
hSocket uint
return int

GetP2PSessionState() public abstract method

public abstract GetP2PSessionState ( ulong steamIDRemote, P2PSessionState_t &pConnectionState ) : bool
steamIDRemote ulong
pConnectionState P2PSessionState_t
return bool

GetSocketConnectionType() public abstract method

public abstract GetSocketConnectionType ( uint hSocket ) : uint
hSocket uint
return uint

GetSocketInfo() public abstract method

public abstract GetSocketInfo ( uint hSocket, CSteamID &pSteamIDRemote, int &peSocketStatus, uint &punIPRemote, char &punPortRemote ) : bool
hSocket uint
pSteamIDRemote CSteamID
peSocketStatus int
punIPRemote uint
punPortRemote char
return bool

IsDataAvailable() public abstract method

public abstract IsDataAvailable ( uint hListenSocket, uint &pcubMsgSize, uint &phSocket ) : bool
hListenSocket uint
pcubMsgSize uint
phSocket uint
return bool

IsDataAvailableOnSocket() public abstract method

public abstract IsDataAvailableOnSocket ( uint hSocket, uint &pcubMsgSize ) : bool
hSocket uint
pcubMsgSize uint
return bool

IsP2PPacketAvailable() public abstract method

public abstract IsP2PPacketAvailable ( uint &pcubMsgSize, int nChannel ) : bool
pcubMsgSize uint
nChannel int
return bool

ReadP2PPacket() public abstract method

public abstract ReadP2PPacket ( IntPtr pubDest, uint cubDest, uint &pcubMsgSize, CSteamID &psteamIDRemote, int nChannel ) : bool
pubDest IntPtr
cubDest uint
pcubMsgSize uint
psteamIDRemote CSteamID
nChannel int
return bool

RetrieveData() public abstract method

public abstract RetrieveData ( uint hListenSocket, IntPtr pubDest, uint cubDest, uint &pcubMsgSize, uint &phSocket ) : bool
hListenSocket uint
pubDest IntPtr
cubDest uint
pcubMsgSize uint
phSocket uint
return bool

RetrieveDataFromSocket() public abstract method

public abstract RetrieveDataFromSocket ( uint hSocket, IntPtr pubDest, uint cubDest, uint &pcubMsgSize ) : bool
hSocket uint
pubDest IntPtr
cubDest uint
pcubMsgSize uint
return bool

SendDataOnSocket() public abstract method

public abstract SendDataOnSocket ( uint hSocket, IntPtr pubData, uint cubData, bool bReliable ) : bool
hSocket uint
pubData IntPtr
cubData uint
bReliable bool
return bool

SendP2PPacket() public abstract method

public abstract SendP2PPacket ( ulong steamIDRemote, IntPtr pubData, uint cubData, uint eP2PSendType, int nChannel ) : bool
steamIDRemote ulong
pubData IntPtr
cubData uint
eP2PSendType uint
nChannel int
return bool