1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Node placement client-side prediction

This commit is contained in:
Perttu Ahola 2012-06-10 12:46:48 +03:00
parent 7ba72f2763
commit 6a0388bb4b
8 changed files with 99 additions and 8 deletions

View file

@ -67,6 +67,11 @@ struct ItemDefinition
ToolCapabilities *tool_capabilities;
ItemGroupList groups;
// Client shall immediately place this node when player places the item.
// Server will update the precise end result a moment later.
// "" = no prediction
std::string node_placement_prediction;
/*
Cached stuff
*/