mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Quest API] Add Goto Player Teleport Methods. (#2379)
* [Quest API] Add Player Teleport Methods. These methods will allow server operators to teleport players directly to other players via the quest API using the #goto command's functionality. - Add $client->TeleportToPlayerByCharID(character_id) to Perl. - Add $client->TeleportToPlayerByName(player_name) to Perl. - Add $client->TeleportGroupToPlayerByCharID(character_id) to Perl. - Add $client->TeleportGroupToPlayerByName(player_name) to Perl. - Add $client->TeleportRaidToPlayerByCharID(character_id) to Perl. - Add $client->TeleportRaidToPlayerByName(player_name) to Perl. - Add client:TeleportToPlayerByCharID(character_id) to Lua. - Add client:TeleportToPlayerByName(player_name) to Lua. - Add client:TeleportGroupToPlayerByCharID(character_id) to Lua. - Add client:TeleportGroupToPlayerByName(player_name) to Lua. - Add client:TeleportRaidToPlayerByCharID(character_id) to Lua. - Add client:TeleportRaidToPlayerByName(player_name) to Lua. * Simplify by using repositories * Simplify Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
@@ -122,6 +122,12 @@ public:
|
||||
void MoveZoneInstance(uint16 instance_id);
|
||||
void MoveZoneInstanceGroup(uint16 instance_id);
|
||||
void MoveZoneInstanceRaid(uint16 instance_id);
|
||||
bool TeleportToPlayerByCharID(uint32 character_id);
|
||||
bool TeleportToPlayerByName(std::string player_name);
|
||||
bool TeleportGroupToPlayerByCharID(uint32 character_id);
|
||||
bool TeleportGroupToPlayerByName(std::string player_name);
|
||||
bool TeleportRaidToPlayerByCharID(uint32 character_id);
|
||||
bool TeleportRaidToPlayerByName(std::string player_name);
|
||||
void ChangeLastName(std::string last_name);
|
||||
int GetFactionLevel(uint32 char_id, uint32 npc_id, uint32 race, uint32 class_, uint32 deity, uint32 faction, Lua_NPC npc);
|
||||
void SetFactionLevel(uint32 char_id, uint32 npc_id, int char_class, int char_race, int char_deity);
|
||||
|
||||
Reference in New Issue
Block a user