RSG.Rag.Core Port that the proxy listens on for game connection information. Private field for the property. Platform that the game is running on. TODO: Convert to use a RSG.Platform.Platform enum object. IP of the console the game is running on. TODO: Convert to use the IPAddress class. Port the app connection listener is listening on. Port the console proxy is listening on. Flag indicating whether the connection is connected. Flag indicating whether this is the default connection. The port that we're listening on for game list requests. Checks for equality of multiple game connections Retrives the list of games that are currently connected to the proxy. Initialises a new instance of the class. Initialises a new instance of the class with a specified error message. The message that describes the error. Handshake packet command types. Class that performs the initial handshake. TODO: Clean up TODO: Clean up Name of the pipe. Whether the pipe is connected or not. Sets whether the underlying socket should use the nagle algorithm. Flag indicating that there is data available to read from the underlying socket. Retrieves the number of bytes that are available for read from the underlying socket. Sends the specified packet. Sends the specified packet asynchronously. Child widgets that this group contains. Adds a child to this widget. Removes a child from this group. Makes a note that something is actively making use of the widget. Removes a reference from this widget. Utility for parsing JSON data from a network socket. TODO: Sort this out. Reads data from a network stream and attempts to convert it to JSON. Dispatches messages via a named pipe. Pipe to use to send data. Sends the specified packet. Sends the specified packet asynchronously. Summary description for NamedPipeSocket. 15 second timeout. Log object. Name of the pipe. b Flag that holds the result of the last connection test result. Time that we last checked the connection state. Underlying socket that is used for the connection. Creates a named pipe socket that still needs to be connected. Creates an already connected named pipe socket. Name of the pipe. Whether the pipe is connected or not. Sets whether the underlying socket should use the nagle algorithm. Retrieves the number of bytes that are available for read from the underlying socket. Summary description for PipeID. Name of the pipe. Address to connect to. Port to connect on. Optional listener that this pipe is already using. Adds a postfix to the pipes name. The purpose of this class is to manage a connection to the proxy. Depending on the name you pass into the constructor, the proxy will create an appropriate AppProxy. Currently only one is implemented: "Rag Proxy" will yield a RagProxy instance that you can connect Rag to. Flag indicating whether we are connected to the proxy. Flag indicating that the user initiated a disconnect (e.g. by shutting down the RAG window). Thread used to check status of the connection to the RAG proxy. Event fired when the client gets disconnected from the proxy. The local port used to communicate with the RAG proxy. The remote RAG proxy port that we are using for communication. TODO: RemotePort should be passed in via the constructor. The unique identifier of app connection listener we are connected to. Creates the connection to the proxy, reserving a local port until the rag pipe gets connected. The base port number to attempt to listen to data coming from the proxy. Disconnects from the proxy. Thread method that checks the connection to the proxy, firing an event if the connection goes down. Updates the local flag containing the connection status. TODO: Could potential remove the member flag and return the result from this method instead. Creates a tcp client connected to the RAG Proxy's App Connection Listener proxy. Helper class for acquiring a free port number and locking it until it's needed. Listener we managed to create from which we will "steal" the port. Static lock object for thread synchronisation. Port that the internal listener is listening on. Stops the listener and releases the monitor's lock. Call this method when you wish to reuse the listener's port. Releases the listener from the proxy lock's control. Attempts to create a listener at the first available port after basePort. Event arguments for handling a remote packet. Remote packet these event args relate to. Flag indicating whether the packet was successfully processed. Adds an error message. Helper struct for byte casting a float to an int. Float value. Unsigned integer value. Default constructor. Guid for this widget. Unique identifier for this widget as set by the game. Name of the widget. Parent of this widget. Full path to this widget. Tooltip for this widget. Color to use for the widget's background. Flag indicating whether this widget is read-only. Processes the create message. Processes an arbitrary message. Called when the widget is being destroyed. Max size of a packet. Size of the header. Max size of the data sent in the packet. Header data. Storage data. Offset that we're at while reading data out of the storage buffer. Creates a new remote packet from the specified buffer. Buffer which contains both the header and data. Offset at which to start reading from the buffer. Creates a new remote packet with the specified header/data. Serialises an object to the byte array. Header data. Storage data. Checks whether there is enough space in the buffer to accommodate the number of bytes specified. Header that is sent for all remote packets. Length of the data (*not* including the twelve-byte header). Command associated with this message. Guid of the class that knows how to process the data sent in the packet. Id of the object that sent this message. This list mirrors bkRemotePacket::EnumSocketOffset in rage/base/src/bank/packet.h Access additional offsets with User5+1 through User5+40. Individual components of the guid. Constructor. Explicit constructor. Indicates whether the current object is equal to another object of the same type. An object to compare with this object. true if the current object is equal to the other parameter; otherwise, false. The private field used for the property. Gets the GUID of the target.