Download code/engine/network/server.h from HDTenEightyP/SeafarerEngine: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/HDTenEightyP/SeafarerEngine/resolve/main/code/engine/network/server.h
- Command line
-
hf download hf://HDTenEightyP/SeafarerEngine/code/engine/network/server.h
-
curl -L -o server.h https://huggingface.co/HDTenEightyP/SeafarerEngine/resolve/main/code/engine/network/server.h
557 Bytes
| // Packet sent from Client to Server | |
| typedef struct { | |
| char key; | |
| } InputPacket; | |
| // Packet sent from Server to all Clients | |
| typedef struct { | |
| float p1_x, p1_y; | |
| float p2_x, p2_y; | |
| } StatePacket; | |
| struct _Seafarer_Multiplayer_Server | |
| { | |
| }; | |
| int match_addr(struct _Seafarer_Multiplayer_Server* SMS, struct sockaddr_in a, struct sockaddr_in b); | |