Added Raid

Xackery Xtal
2018-01-14 19:22:29 -08:00
parent 4700e4cb62
commit 5df5606697
18 changed files with 250 additions and 20 deletions
+15
@@ -0,0 +1,15 @@
BalanceHP.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
penalty||
gid||
### Example
```perl
my $penalty = 1;
my $gid = 1;
$raid->BalanceHP($penalty, $gid); # Returns void
```
+17
@@ -0,0 +1,17 @@
CastGroupSpell.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
caster||
spellid||
gid||
### Example
```perl
my $caster = 1;
my $spellid = 1;
my $gid = 1;
$raid->CastGroupSpell($caster, $spellid, $gid); # Returns void
```
+13
@@ -0,0 +1,13 @@
gets a raid client by index.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
index||
### Example
```perl
my $index = 1;
$raid->GetClientByIndex($index); # Returns void
```
+13
@@ -0,0 +1,13 @@
gets a raid group.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
name|string|
### Example
```perl
my $name = "test";
my $val = $raid->GetGroup($name);
quest::say($val); # Returns uint
```
+7
@@ -0,0 +1,7 @@
gets a raid highest level.
### Example
```perl
my $val = $raid->GetHighestLevel();
quest::say($val); # Returns uint
```
+7
@@ -0,0 +1,7 @@
gets a raid i d.
### Example
```perl
my $val = $raid->GetID();
quest::say($val); # Returns uint
```
+7
@@ -0,0 +1,7 @@
gets a raid lowest level.
### Example
```perl
my $val = $raid->GetLowestLevel();
quest::say($val); # Returns uint
```
+13
@@ -0,0 +1,13 @@
gets a raid total raid damage.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
other||
### Example
```perl
my $other = 1;
my $val = $raid->GetTotalRaidDamage($other);
quest::say($val); # Returns uint
```
+13
@@ -0,0 +1,13 @@
GroupCount.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
gid||
### Example
```perl
my $gid = 1;
my $val = $raid->GroupCount($gid);
quest::say($val); # Returns uint
```
+13
@@ -0,0 +1,13 @@
is a raid group leader.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
who||
### Example
```perl
my $who = 1;
my $val = $raid->IsGroupLeader($who);
quest::say($val); # Returns bool
```
+13
@@ -0,0 +1,13 @@
is a raid leader.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
name|string|
### Example
```perl
my $name = "test";
my $val = $raid->IsLeader($name);
quest::say($val); # Returns bool
```
+13
@@ -0,0 +1,13 @@
is a raid raid member.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
name|string|
### Example
```perl
my $name = "test";
my $val = $raid->IsRaidMember($name);
quest::say($val); # Returns bool
```
+7
@@ -0,0 +1,7 @@
RaidCount.
### Example
```perl
my $val = $raid->RaidCount();
quest::say($val); # Returns uint
```
+15
@@ -0,0 +1,15 @@
SplitExp.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
exp||
other||
### Example
```perl
my $exp = 1;
my $other = 1;
$raid->SplitExp($exp, $other); # Returns void
```
+19
@@ -0,0 +1,19 @@
SplitMoney.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
copper|int|
silver|int|
gold|int|
platinum|int|
### Example
```perl
my $copper = 1;
my $silver = 1;
my $gold = 1;
my $platinum = 1;
$raid->SplitMoney($copper, $silver, $gold, $platinum); # Returns void
```
+25
@@ -0,0 +1,25 @@
teleports a raid group.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
sender||
zoneID||
x|float|
y|float|
z|float|
heading|float|
gid||
### Example
```perl
my $sender = 1;
my $zoneID = 1;
my $x = 1;
my $y = 1;
my $z = 1;
my $heading = 1;
my $gid = 1;
$raid->TeleportGroup($sender, $zoneID, $x, $y, $z, $heading, $gid); # Returns void
```
+23
@@ -0,0 +1,23 @@
teleports a raid raid.
### Arguments
**Name**|**Type**|**Description**
:---|:---|:---
sender||
zoneID||
x|float|
y|float|
z|float|
heading|float|
### Example
```perl
my $sender = 1;
my $zoneID = 1;
my $x = 1;
my $y = 1;
my $z = 1;
my $heading = 1;
$raid->TeleportRaid($sender, $zoneID, $x, $y, $z, $heading); # Returns void
```
Regular → Executable
+17 -20
@@ -1,20 +1,17 @@
```perl
void Raid::IsRaidMember(string name)
void Raid::CastGroupSpell( caster, spellid, gid)
void Raid::GroupCount( gid)
void Raid::RaidCount()
void Raid::GetGroup(string name)
void Raid::SplitExp( exp, other)
void Raid::GetTotalRaidDamage( other)
void Raid::SplitMoney(int copper, int silver, int gold, int platinum)
void Raid::BalanceHP( penalty, gid)
void Raid::IsLeader(string name)
void Raid::IsGroupLeader( who)
void Raid::GetHighestLevel()
void Raid::GetLowestLevel()
void Raid::GetClientByIndex( index)
void Raid::TeleportGroup( sender, zoneID, float x, float y, float z, float heading, gid)
void Raid::TeleportRaid( sender, zoneID, float x, float y, float z, float heading)
void Raid::GetID()
void Raid::GetMember( index)
```
* [[$raid->IsRaidMember(string name) # bool|Perl-Raid-IsRaidMember]]
* [[$raid->CastGroupSpell(caster, spellid, gid) # void|Perl-Raid-CastGroupSpell]]
* [[$raid->GroupCount(gid) # uint|Perl-Raid-GroupCount]]
* [[$raid->RaidCount() # uint|Perl-Raid-RaidCount]]
* [[$raid->GetGroup(string name) # uint|Perl-Raid-GetGroup]]
* [[$raid->SplitExp(exp, other) # void|Perl-Raid-SplitExp]]
* [[$raid->GetTotalRaidDamage(other) # uint|Perl-Raid-GetTotalRaidDamage]]
* [[$raid->SplitMoney(int copper, int silver, int gold, int platinum) # void|Perl-Raid-SplitMoney]]
* [[$raid->BalanceHP(penalty, gid) # void|Perl-Raid-BalanceHP]]
* [[$raid->IsLeader(string name) # bool|Perl-Raid-IsLeader]]
* [[$raid->IsGroupLeader(who) # bool|Perl-Raid-IsGroupLeader]]
* [[$raid->GetHighestLevel() # uint|Perl-Raid-GetHighestLevel]]
* [[$raid->GetLowestLevel() # uint|Perl-Raid-GetLowestLevel]]
* [[$raid->GetClientByIndex(index) # void|Perl-Raid-GetClientByIndex]]
* [[$raid->TeleportGroup(sender, zoneID, float x, float y, float z, float heading, gid) # void|Perl-Raid-TeleportGroup]]
* [[$raid->TeleportRaid(sender, zoneID, float x, float y, float z, float heading) # void|Perl-Raid-TeleportRaid]]
* [[$raid->GetID() # uint|Perl-Raid-GetID]]