code to explanationFri, 03 Feb 2023

MyServer( {url = "", // {url = "http://gameserver/dashboard/hs/v1", this.logProcess, required this.settingsConfig}) { _myServerPath = url; }

The constructor of the class MyServer takes 3 parameters url, logProcess, settingsConfig. The url is the url to connect to the backend server. The logProcess is the method that takes care of the logs. The settingsConfig is a class with the settings of the server.

Questions about programming?Chat with your personal AI assistant