darkplaces-rcon-0.1: Darkplaces rcon client library

Safe HaskellNone
LanguageHaskell2010

DarkPlaces.Rcon.Internal

Synopsis

Documentation

maxPacketSize :: Int Source

max Darkplaces packet size

parseRcon :: ByteString -> Maybe ByteString Source

Try to parse packet as dp rcon packet. if parsing fails returns Nothing

rconNonSecurePacket Source

Arguments

:: ByteString

password

-> ByteString

command

-> ByteString 

generates simple quake rcon packet

rconSecureTimePacket Source

Arguments

:: Real a 
=> a

Current unix timestamp

-> ByteString

password

-> ByteString

comand

-> ByteString 

generates time based secure packet

rconSecureChallangePacket Source

Arguments

:: ByteString

connection's challange

-> ByteString

password

-> ByteString

command

-> ByteString 

generates chalange based secure packet