static Server() { thisUS = new Server(); thisUS.url = urlTemplate.Replace("{server}", "US"); thisUS.name = "America"; thisUS.magic = new byte[] { 0x73, 0x32, 0x67, 0x73, 0x00, 0x00, 0x55, 0x53 }; thisEU = new Server(); thisEU.url = urlTemplate.Replace("{server}", "EU"); thisEU.name = "Europe"; thisEU.magic = new byte[] { 0x73, 0x32, 0x67, 0x73, 0x00, 0x00, 0x45, 0x55 }; thisKR = new Server(); thisKR.url = urlTemplate.Replace("{server}", "KR"); thisKR.name = "Korea"; thisKR.magic = new byte[] { 0x73, 0x32, 0x67, 0x73, 0x00, 0x00, 0x4b, 0x52 }; thisSEA = new Server(); thisSEA.url = urlTemplate.Replace("{server}", "SG"); thisSEA.name = "South-East Asia"; thisSEA.magic = new byte[] { 0x73, 0x32, 0x67, 0x73, 0x00, 0x00, 0x53, 0x47 }; }
public S2GSExtractor(Server _server) { reader = new MemoryReader(); server = _server; }