2018-10-09 11:13:29 +00:00
|
|
|
class nel_server_info:
|
|
|
|
var _cookie;
|
|
|
|
var _shardIp;
|
|
|
|
var _ringStartAdress;
|
|
|
|
var _ringAddress;
|
2018-10-09 11:26:22 +00:00
|
|
|
var _patchVersion
|
|
|
|
var _backupPatchUrls;
|
|
|
|
var _patchUrls;
|
2018-10-09 11:13:29 +00:00
|
|
|
|
|
|
|
func _init(connexionResultString):
|
|
|
|
var params = connexionResultString.split('#');
|
2018-10-09 11:26:22 +00:00
|
|
|
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];
|