Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | SetRemoteIPRequestInfo |
Static Public Member Functions | |
static void | ResetSections () |
static void | AddBan (int plr) |
static bool | IsBanned (RemoteAddress address) |
static void | OnConnectedToSocialServer (ISocket client) |
static void | StartServer () |
static void | AddCurrentServerToRecentList () |
static void | SocialClientLoop (object threadContext) |
static void | TcpClientLoop () |
static void | StartSocialClient (ISocket socket) |
static void | StartTcpClient () |
static bool | SetRemoteIP (string remoteAddress) |
static bool | SetRemoteIPOld (string remoteAddress) |
static void | SetRemoteIPAsync (string remoteAddress, Action successCallBack) |
static void | InvalidateAllOngoingIPSetAttempts () |
static void | Initialize () |
static void | UpdateInMainThread () |
static int | GetSectionX (int x) |
static int | GetSectionY (int y) |
static void | StartBroadCasting () |
static void | StopBroadCasting () |
Static Public Attributes | |
const int | MaxConnections = 256 |
const int | NetBufferSize = 1024 |
static string | BanFilePath = "banlist.txt" |
static string | ServerPassword = "" |
static RemoteClient[] | Clients = new RemoteClient[256] |
static RemoteServer | Connection = new RemoteServer() |
static IPAddress | ServerIP |
static string | ServerIPText = "" |
static ISocket | TcpListener |
static int | ListenPort = 7777 |
static bool | IsListening = true |
static bool | UseUPNP = true |
static bool | SaveOnServerExit = true |
static bool | Disconnect |
static bool | SpamCheck = false |
static bool | HasClients |
static MessageBuffer | fullBuffer = new MessageBuffer() |
Events | |
static Action | OnDisconnect |
Static Private Member Functions | |
static void | UpdateServerInMainThread () |
static string | GetLocalIPAddress () |
static void | ResetNetDiag () |
static void | OpenPort (int port) |
static void | ClosePort (int port) |
static void | ServerFullWriteCallBack (object state) |
static void | OnConnectionAccepted (ISocket client) |
static void | KickClient (ISocket client, NetworkText kickMessage) |
static bool | StartListening () |
static void | StopListening () |
static void | InitializeServer () |
static void | ServerLoop () |
static void | UpdateConnectedClients () |
static void | StartListeningIfNeeded () |
static void | UpdateClientInMainThread () |
static void | ClientLoopSetup (RemoteAddress address) |
static void | InnerClientLoop () |
static int | FindNextOpenClientSlot () |
static bool | AcceptedFamilyType (AddressFamily family) |
static void | SetRemoteIPAsyncCallback (IAsyncResult ar) |
static void | BroadcastThread () |
Static Private Attributes | |
static Thread | _serverThread |
static int | _currentRequestId |
static UdpClient | BroadcastClient = null |
static Thread | broadcastThread = null |
Definition at line 18 of file Netplay.cs.