public void SendFileInfo(string Filename, string Checksum, long Size, bool End) { LauncherPacket Packet = new LauncherPacket(0x0004); Packet.WriteString(Filename); Packet.WriteString(Checksum); Packet.WriteLong(Size); Packet.WriteBool(End); Send(Packet); }
public void SendInformation() { LauncherPacket Packet = new LauncherPacket(0x0006); Packet.WriteString(ServerConfiguration.SiteLink); Packet.WriteString(ServerConfiguration.RegisterLink); Packet.WriteString(ServerConfiguration.NewsLink); Packet.WriteString(ServerConfiguration.UpdateLink); Packet.WriteString(ServerConfiguration.GameExecutable); Packet.WriteString(ServerConfiguration.GameParameters); Packet.WriteString(ServerConfiguration.GameWorkingDirectory); Send(Packet); }