CypherJF wrote: |
I, personally, have wondered how long it'd take someone to use reflection to utilize these libraries in their own applications. |
Dr Brain wrote: |
[..]
That'd only work if they wanted to run a server. |
kzar wrote: |
Is that because the encryption used to send packets from the client is different from the encryption used to send packets from the server? |
kzar wrote: |
Also I am curious, why do the encrypt and decrypt functions need a player structure? |
kzar wrote: |
int (*Encrypt)(Player *p, byte *pkt, int len);
Also I understand that this is a function that returns an integer and take a player structure pointer, a pointer to the packet and its length but I dont understand what the (*Encrypt) bit meens. Could you tell me what it does? |