aboutsummaryrefslogtreecommitdiff
path: root/src/network
Commit message (Expand)AuthorAge
* Fix strict_protocol_version_checking functionality after ee9a442SmallJoker2017-10-16
* Real global textures (#6105)Vitaliy2017-10-15
* NetworkPacket::putRawPacket: resize m_data to datasize + memcpyLoic Blot2017-10-10
* Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot2017-10-09
* Lint fixLoic Blot2017-09-27
* Add session_t typedef + remove unused functions (#6470)Loïc Blot2017-09-27
* Implement mod communication channels (#6351)Loïc Blot2017-09-26
* Fix compile error in openbsd (#6430)jcalve2017-09-20
* ServerEnv: Clean up object lifecycle handling (#6414)sfan52017-09-15
* Object properties: Add 'glow', disables light's effect if negativeRob Blanckaert2017-09-14
* Network: Fix logging into older worlds with base64 hashesSmallJoker2017-09-12
* Network: Remove large parts of deprecated legacy code (#6404)SmallJoker2017-09-12
* Fix failing linter (travis)sfan52017-09-12
* Use a Buffer instead of SharedBuffer in ConnectionCommandLoic Blot2017-09-05
* Network protocol documentation: Add 'can_zoom' to version 36paramat2017-09-05
* Implement minetest.register_can_bypass_userlimit (#6369)Loïc Blot2017-09-04
* Re-apply previous commit with a typo fixLoïc Blot2017-09-04
* Revert "Network: fix a concurrency problem, by re-adding a copy in Connection...Loïc Blot2017-09-04
* Network: fix a concurrency problem, by re-adding a copy in ConnectionCommandLoïc Blot2017-09-04
* Network part requires SharedBuffers to be pass as valueLoic Blot2017-09-03
* Network proto handlers/container fixes (#6334)Loïc Blot2017-08-29
* Bump minimal protocol version to 36 (#6319)SmallJoker2017-08-29
* Clientevent refactor (#6320)Loïc Blot2017-08-28
* Pass SharedBuffer as value to increment reference countLoïc Blot2017-08-28
* Network cleanup (#6310)Loïc Blot2017-08-25
* Add clientside translations.Ekdohibs2017-08-24
* Network cleanup (#6302)Loïc Blot2017-08-24
* Fix OSX builds (closes #6289, fixes #6270) (#6306)Pavel Puchkin2017-08-24
* Minimap: Add new HUD flag for minimap radar modeparamat2017-08-20
* Modernize source code: last part (#6285)Loïc Blot2017-08-20
* Code modernization: subfolders (#6283)Loïc Blot2017-08-19
* Optimize headers (part 2) (#6272)Loïc Blot2017-08-18
* Add missing ctime include (#6269)adrido2017-08-18
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
* Typo fix in compat code from commit 1d8d01074fdb52946f81110bebf1d001185b394bLoic Blot2017-08-17
* ClientInterface: add a function to verify (correctly) if user limit was reach...Loïc Blot2017-08-16
* Cleanup various headers to reduce compilation times (#6255)Loïc Blot2017-08-16
* server.cpp: code modernizationLoic Blot2017-08-15
* Step height: Add as a player object propertyparamat2017-08-09
* Network protocol: Document settable player collisionbox (#6168)Paramat2017-07-25
* [CSM] Add flavour limits controlled by server (#5930)Loïc Blot2017-07-18
* Chat protocol rewrite (#5117)Loïc Blot2017-07-16
* C++11 cleanup inventorymanager (#6077)Vincent Glize2017-07-01
* C++11 cleanup on constructors dir network (#6021)Vincent Glize2017-06-21
* Verify HudSetParams input when hotbar textures are set (#6013)Loïc Blot2017-06-19
* Cpp11 initializers 2 (#5999)Loïc Blot2017-06-17
* Remove legacy content_abm.{cpp,h}Loïc Blot2017-06-14
* Fix the serialization error by ff73c7a (#5964)Rui2017-06-11
* Use thread_local instead from some static settings (#5955)Loïc Blot2017-06-11
* Sound: Add pitch option (#5960)Rui2017-06-11
nt l_remove(lua_State *L); // getpos(self) // returns: {x=num, y=num, z=num} static int l_getpos(lua_State *L); // setpos(self, pos) static int l_setpos(lua_State *L); // moveto(self, pos, continuous=false) static int l_moveto(lua_State *L); // punch(self, puncher, time_from_last_punch, tool_capabilities, dir) static int l_punch(lua_State *L); // right_click(self, clicker); clicker = an another ObjectRef static int l_right_click(lua_State *L); // set_hp(self, hp) // hp = number of hitpoints (2 * number of hearts) // returns: nil static int l_set_hp(lua_State *L); // get_hp(self) // returns: number of hitpoints (2 * number of hearts) // 0 if not applicable to this type of object static int l_get_hp(lua_State *L); // get_inventory(self) static int l_get_inventory(lua_State *L); // get_wield_list(self) static int l_get_wield_list(lua_State *L); // get_wield_index(self) static int l_get_wield_index(lua_State *L); // get_wielded_item(self) static int l_get_wielded_item(lua_State *L); // set_wielded_item(self, itemstack or itemstring or table or nil) static int l_set_wielded_item(lua_State *L); // set_armor_groups(self, groups) static int l_set_armor_groups(lua_State *L); // get_armor_groups(self) static int l_get_armor_groups(lua_State *L); // set_physics_override(self, physics_override_speed, physics_override_jump, // physics_override_gravity, sneak, sneak_glitch) static int l_set_physics_override(lua_State *L); // get_physics_override(self) static int l_get_physics_override(lua_State *L); // set_animation(self, frame_range, frame_speed, frame_blend, frame_loop) static int l_set_animation(lua_State *L); // get_animation(self) static int l_get_animation(lua_State *L); // set_bone_position(self, std::string bone, v3f position, v3f rotation) static int l_set_bone_position(lua_State *L); // get_bone_position(self, bone) static int l_get_bone_position(lua_State *L); // set_attach(self, parent, bone, position, rotation) static int l_set_attach(lua_State *L); // get_attach(self) static int l_get_attach(lua_State *L); // set_detach(self) static int l_set_detach(lua_State *L); // set_properties(self, properties) static int l_set_properties(lua_State *L); // get_properties(self) static int l_get_properties(lua_State *L); // is_player(self) static int l_is_player(lua_State *L); /* LuaEntitySAO-only */ // setvelocity(self, {x=num, y=num, z=num}) static int l_setvelocity(lua_State *L); // getvelocity(self) static int l_getvelocity(lua_State *L); // setacceleration(self, {x=num, y=num, z=num}) static int l_setacceleration(lua_State *L); // getacceleration(self) static int l_getacceleration(lua_State *L); // setyaw(self, radians) static int l_setyaw(lua_State *L); // getyaw(self) static int l_getyaw(lua_State *L); // settexturemod(self, mod) static int l_settexturemod(lua_State *L); // setsprite(self, p={x=0,y=0}, num_frames=1, framelength=0.2, // select_horiz_by_yawpitch=false) static int l_setsprite(lua_State *L); // DEPRECATED // get_entity_name(self) static int l_get_entity_name(lua_State *L); // get_luaentity(self) static int l_get_luaentity(lua_State *L); /* Player-only */ // is_player_connected(self) static int l_is_player_connected(lua_State *L); // get_player_name(self) static int l_get_player_name(lua_State *L); // get_player_velocity(self) static int l_get_player_velocity(lua_State *L); // get_look_dir(self) static int l_get_look_dir(lua_State *L); // get_look_pitch(self) static int l_get_look_pitch(lua_State *L); // get_look_yaw(self) static int l_get_look_yaw(lua_State *L); // set_look_pitch(self, radians) static int l_set_look_pitch(lua_State *L); // set_look_yaw(self, radians) static int l_set_look_yaw(lua_State *L); // set_breath(self, breath) static int l_set_breath(lua_State *L); // get_breath(self, breath) static int l_get_breath(lua_State *L); // set_inventory_formspec(self, formspec) static int l_set_inventory_formspec(lua_State *L); // get_inventory_formspec(self) -> formspec static int l_get_inventory_formspec(lua_State *L); // get_player_control(self) static int l_get_player_control(lua_State *L); // get_player_control_bits(self) static int l_get_player_control_bits(lua_State *L); // hud_add(self, id, form) static int l_hud_add(lua_State *L); // hud_rm(self, id) static int l_hud_remove(lua_State *L); // hud_change(self, id, stat, data) static int l_hud_change(lua_State *L); // hud_get_next_id(self) static u32 hud_get_next_id(lua_State *L); // hud_get(self, id) static int l_hud_get(lua_State *L); // hud_set_flags(self, flags) static int l_hud_set_flags(lua_State *L); // hud_get_flags() static int l_hud_get_flags(lua_State *L); // hud_set_hotbar_itemcount(self, hotbar_itemcount) static int l_hud_set_hotbar_itemcount(lua_State *L); // hud_get_hotbar_itemcount(self) static int l_hud_get_hotbar_itemcount(lua_State *L); // hud_set_hotbar_image(self, name) static int l_hud_set_hotbar_image(lua_State *L); // hud_get_hotbar_image(self) static int l_hud_get_hotbar_image(lua_State *L); // hud_set_hotbar_selected_image(self, name) static int l_hud_set_hotbar_selected_image(lua_State *L); // hud_get_hotbar_selected_image(self) static int l_hud_get_hotbar_selected_image(lua_State *L); // set_sky(self, type, list) static int l_set_sky(lua_State *L); // get_sky(self, type, list) static int l_get_sky(lua_State *L); // override_day_night_ratio(self, type) static int l_override_day_night_ratio(lua_State *L); // get_day_night_ratio(self) static int l_get_day_night_ratio(lua_State *L); // set_local_animation(self, {stand/idle}, {walk}, {dig}, {walk+dig}, frame_speed) static int l_set_local_animation(lua_State *L); // get_local_animation(self) static int l_get_local_animation(lua_State *L); // set_eye_offset(self, v3f first pv, v3f third pv) static int l_set_eye_offset(lua_State *L); // get_eye_offset(self) static int l_get_eye_offset(lua_State *L); // set_nametag_attributes(self, attributes) static int l_set_nametag_attributes(lua_State *L); // get_nametag_attributes(self) static int l_get_nametag_attributes(lua_State *L); public: ObjectRef(ServerActiveObject *object); ~ObjectRef(); // Creates an ObjectRef and leaves it on top of stack // Not callable from Lua; all references are created on the C side. static void create(lua_State *L, ServerActiveObject *object); static void set_null(lua_State *L); static void Register(lua_State *L); }; #endif /* L_OBJECT_H_ */