DarkEmu_GameServer.Systems.GetServerByEndPoint C# (CSharp) Method

GetServerByEndPoint() public static method

public static GetServerByEndPoint ( string ip, int port ) : SRX_Serverinfo
ip string
port int
return SRX_Serverinfo
        public static SRX_Serverinfo GetServerByEndPoint(string ip, int port)
        {
            SRX_Serverinfo LS = null;

            foreach (KeyValuePair<int, Systems.SRX_Serverinfo> LSI in LSList)
            {
                if (LSI.Value.ip == ip && LSI.Value.ipcport == port)
                {
                    LS = LSI.Value;
                }
            }
            return LS;
        }
Systems