mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2025-10-13 16:34:22 -05:00
Cube opening works
This commit is contained in:
@@ -201,6 +201,7 @@ namespace d2_tweaks {
|
||||
MESSAGE_TYPE_ITEM_DROPPED_INFO,
|
||||
MESSAGE_TYPE_TRANSMUTE,
|
||||
MESSAGE_TYPE_TRADER_UPDATE,
|
||||
MESSAGE_TYPE_INTERACT = 1,
|
||||
|
||||
MESSAGE_TYPE_COUNT
|
||||
};
|
||||
@@ -225,6 +226,7 @@ namespace d2_tweaks {
|
||||
packet_header() : d2_packet_type(0xBB), message_type(0) {}
|
||||
};
|
||||
|
||||
|
||||
struct d2_entity_action_cs : packet_header {
|
||||
uint32_t action;
|
||||
uint32_t entity_id;
|
||||
|
@@ -112,6 +112,9 @@ namespace d2_tweaks {
|
||||
|
||||
virtual void left_mouse(int32_t offsetX, int32_t offsetY, bool up, bool& block) = 0;
|
||||
virtual void right_mouse(int32_t offsetX, int32_t offsetY, bool up, bool& block) = 0;
|
||||
virtual void middle_mouse(int32_t offsetX, int32_t offsetY, bool up, bool& block) {}
|
||||
virtual void mouse_wheel(int32_t offsetX, int32_t offsetY, bool up, bool& block) {}
|
||||
|
||||
|
||||
virtual void key_event(int32_t offsetX, int32_t offsetY, uint32_t key, bool up, bool& block) = 0;
|
||||
};
|
||||
|
@@ -81,6 +81,8 @@ namespace d2_tweaks {
|
||||
|
||||
virtual bool left_mouse(bool up);
|
||||
virtual bool right_mouse(bool up);
|
||||
virtual bool middle_mouse(bool up);
|
||||
virtual bool mouse_wheel(bool up);
|
||||
|
||||
virtual bool key_event(uint32_t key, bool up);
|
||||
};
|
||||
|
@@ -32,6 +32,9 @@ namespace d2_tweaks {
|
||||
|
||||
bool process_left_mouse(bool up);
|
||||
bool process_right_mouse(bool up);
|
||||
bool process_middle_mouse(bool up);
|
||||
bool process_mouse_wheel(bool up);
|
||||
|
||||
|
||||
bool process_key_event(uint32_t key, bool up);
|
||||
};
|
||||
|
Reference in New Issue
Block a user