From fae336d1a2d613fd00640ed6ccbb9eb386086c82 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Tue, 31 May 2022 14:24:19 +0200 Subject: Add map component --- convert/spec/server/enum | 7 ++++++ convert/spec/server/flag | 12 +++++++++ convert/spec/server/pkt | 63 ++++++++++++++++++++++++++++++++++++++++++++++ convert/spec/server/struct | 8 ++++++ 4 files changed, 90 insertions(+) create mode 100644 convert/spec/server/enum create mode 100644 convert/spec/server/flag create mode 100644 convert/spec/server/pkt create mode 100644 convert/spec/server/struct (limited to 'convert/spec/server') diff --git a/convert/spec/server/enum b/convert/spec/server/enum new file mode 100644 index 0000000..6f49e6d --- /dev/null +++ b/convert/spec/server/enum @@ -0,0 +1,7 @@ +interaction + dig + stop_digging + dug + place + use + activate diff --git a/convert/spec/server/flag b/convert/spec/server/flag new file mode 100644 index 0000000..4f8c164 --- /dev/null +++ b/convert/spec/server/flag @@ -0,0 +1,12 @@ +keys + postfix Key + forward + backward + left + right + jump + special + sneak + dig + place + zoom diff --git a/convert/spec/server/pkt b/convert/spec/server/pkt new file mode 100644 index 0000000..5578d55 --- /dev/null +++ b/convert/spec/server/pkt @@ -0,0 +1,63 @@ +nil +init + uint8 serialize_ver + CompressionModes supported_compression + uint16 min_proto_ver + uint16 max_proto_ver + string player_name + bool send_full_item_meta +init2 + string lang +join_mod_chan + string channel +leave_mod_chan + string channel +msg_mod_chan + string channel + string msg +player_pos + PlayerPos pos +got_blks + [][3]int16 blks +deleted_blks + [][3]int16 blks +inv_action + string action +chat_msg + string msg +fall_dmg + uint16 amount +select_item + uint16 slot +respawn +interact + Interaction action + uint16 item_slot + PointedThing pointed + PlayerPos pos +removed_sounds + []SoundID ids +node_meta_fields + [3]int16 pos + string formname + []Field fields +inv_fields + string formname + []Field fields +req_media + []string filenames +clt_ready + uint8 major + uint8 minor + uint8 patch + string version + uint16 formspec +first_srp + []byte salt + []byte verifier + bool empty_passwd +srp_bytes_a + []byte a + bool no_sha1 +srp_bytes_m + []byte m diff --git a/convert/spec/server/struct b/convert/spec/server/struct new file mode 100644 index 0000000..e971dbc --- /dev/null +++ b/convert/spec/server/struct @@ -0,0 +1,8 @@ +player_pos + [3]int32 pos100 + [3]int32 vel100 + int32 pitch100 + int32 yaw100 + Keys keys + uint8 fov80 + uint8 wanted_range -- cgit v1.2.3