packet is being sent and received, bare-bones ping-pong is working
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
Button:
|
||||
SetImageSurface()
|
||||
SetFontSurface()
|
||||
end
|
||||
@@ -46,3 +46,35 @@ UDPNetworkUtility:
|
||||
UDPpacket packIn
|
||||
end
|
||||
|
||||
-------------------------
|
||||
|
||||
packet_list.hpp:
|
||||
Ping:
|
||||
end
|
||||
Pong:
|
||||
end
|
||||
JoinRequest:
|
||||
avatarName
|
||||
...
|
||||
end
|
||||
JoinConfirm:
|
||||
yourID
|
||||
end
|
||||
NewPlayer:
|
||||
id
|
||||
position
|
||||
motion
|
||||
avatarName
|
||||
end
|
||||
MotionUpdate:
|
||||
id
|
||||
position
|
||||
motion
|
||||
end
|
||||
union Packet:
|
||||
MotionUpdate
|
||||
end
|
||||
end
|
||||
|
||||
-------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user