mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Quest API] Add Fling Overloads to Perl/Lua. (#2622)
* [Quest API] Add Fling Overload to Perl/Lua. # Perl - Add `$client->Fling(target_x, target_y, target_z)`. - Add `$client->Fling(target_x, target_y, target_z, ignore_los)`. - Add `$client->Fling(target_x, target_y, target_z, ignore_los, clipping)`. # Lua - Add `client:Fling(target_x, target_y, target_z)`. - Add `client:Fling(target_x, target_y, target_z, ignore_los)`. - Add `client:Fling(target_x, target_y, target_z, ignore_los, clipping)`. # Notes - These overloads calculate the speed based on the distance automatically. * Update client.cpp * Update client.cpp * Update client.cpp * clip_through_walls
This commit is contained in:
+4
-1
@@ -557,9 +557,12 @@ public:
|
||||
void MovePCDynamicZone(std::string zone_name, int zone_version);
|
||||
void MovePCDynamicZone(std::string zone_name, int zone_version, bool msg_if_invalid);
|
||||
void CreateTaskDynamicZone(int task_id, luabind::object dz_table);
|
||||
void Fling(float target_x, float target_y, float target_z);
|
||||
void Fling(float target_x, float target_y, float target_z, bool ignore_los);
|
||||
void Fling(float target_x, float target_y, float target_z, bool ignore_los, bool clip_through_walls);
|
||||
void Fling(float value, float target_x, float target_y, float target_z);
|
||||
void Fling(float value, float target_x, float target_y, float target_z, bool ignore_los);
|
||||
void Fling(float value, float target_x, float target_y, float target_z, bool ignore_los, bool clipping);
|
||||
void Fling(float value, float target_x, float target_y, float target_z, bool ignore_los, bool clip_through_walls);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user