khanat-client/ressources/scripts/nel/nel_server_infos.gd

20 lines
499 B
GDScript3
Raw Permalink Normal View History

2020-03-21 09:10:26 +00:00
class nel_server_info:
2021-01-21 21:03:44 +00:00
var _cookie;
var _shardIp;
var _ringStartAdress;
var _ringAddress;
var _patchVersion
var _backupPatchUrls;
var _patchUrls;
2020-03-21 09:10:26 +00:00
2021-01-21 21:03:44 +00:00
func _init(connexionResultString):
var params = connexionResultString.split('#');
var temp = params[4].split('\n')
self._cookie = params[1];
self._shardIp = params[2];
self._ringStartAdress = params[3];
self._ringAddress = temp[0];
self._patchVersion = temp[1];
self._backupPatchUrls = params[5];
self._patchUrls = params[6];