hg 92e03dccb9
[Quest API] Add perl hash apis for dz creation (#1571)
Add hash overload to perl CreateExpedition api

  This adds an api to perl similar to the Lua api that accepts a reference
  to a hash table with expedition creation info

  Usage example:
    my $expedition_info = {
      expedition => { name => "Perl expedition", min_players => 2, max_players => 6 },
      instance   => { zone => "crushbone", version => 0, duration => 3600 },
      compass    => { zone => "gfaydark", x => 238, y => 987, z => -24.90 },
      safereturn => { zone => "gfaydark", x => 245.84, y => 987.93, z => -27.6, h => 484.0 },
      zonein     => { x => 479.44, y => -500.18, z => 5.75, h => 421.8 }
    };

    $client->CreateExpedition($expedition_info);

  Syntax for passing directly from a hash:
    my %expedition_info = (...);
    $client->CreateExpedition(\%expedition_info);

Add CreateTaskDynamicZone api to perl

  Usage example:
    sub EVENT_TASKACCEPTED {
      if ($task_id == 4795) {
        my %dz_hash = (
          "instance",   { zone=>"thundercrest", version => 11 },
          "compass",    { zone=>"broodlands", x=>1241.88, y=>511.147, z=>23.4192 },
          "safereturn", { zone=>"broodlands", x=>1242.0, y=>526.0, z=>27.0, h=>0.0 }
        );
        $client->CreateTaskDynamicZone($task_id, \%dz_hash)
      }
    }
2021-10-01 22:12:45 -05:00
..
2020-03-12 00:00:39 -05:00
2021-09-23 13:48:15 -04:00
2021-08-31 01:24:21 -05:00
2021-09-23 14:14:46 -04:00
2019-10-12 21:07:06 -07:00
2019-10-12 21:07:06 -07:00
2018-03-04 13:54:28 -05:00
2017-04-10 14:52:44 -04:00
2019-10-13 00:53:31 -07:00
2017-05-15 15:46:19 -07:00
2021-02-12 02:42:03 -05:00
2018-11-07 21:55:12 -08:00
2019-09-01 23:54:24 -05:00
2020-04-19 04:36:39 -05:00
2019-10-12 21:07:06 -07:00
2021-09-30 11:43:36 -05:00
2017-07-15 20:29:55 -07:00
2020-02-22 16:17:18 -06:00
2020-01-31 20:25:06 -06:00