-
Notifications
You must be signed in to change notification settings - Fork 403
/
perl_client.cpp
3756 lines (3133 loc) · 135 KB
/
perl_client.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#include "../common/features.h"
#ifdef EMBPERL_XS_CLASSES
#include "../common/global_define.h"
#include "embperl.h"
#include "client.h"
#include "expedition.h"
#include "titles.h"
#include "dialogue_window.h"
void Perl_Client_SendSound(Client* self) // @categories Script Utility
{
self->SendSound();
}
bool Perl_Client_Save(Client* self, uint8 commit_now) // @categories Script Utility
{
return self->Save(commit_now);
}
bool Perl_Client_Connected(Client* self) // @categories Script Utility
{
return self->Connected();
}
bool Perl_Client_InZone(Client* self) // @categories Script Utility
{
return self->InZone();
}
void Perl_Client_Kick(Client* self) // @categories Script Utility
{
self->Kick("Perl Quest");
}
void Perl_Client_Disconnect(Client* self) // @categories Script Utility
{
self->Disconnect();
}
bool Perl_Client_IsLD(Client* self) // @categories Account and Character
{
return self->IsLD();
}
void Perl_Client_WorldKick(Client* self) // @categories Script Utility
{
self->WorldKick();
}
void Perl_Client_SendToGuildHall(Client* self) // @categories Script Utility, Guild
{
self->SendToGuildHall();
}
int Perl_Client_GetAnon(Client* self) // @categories Account and Character, Stats and Attributes
{
return self->GetAnon();
}
void Perl_Client_SetAnon(Client* self, uint8 anon_flag) // @categories Account and Character, Stats and Attributes
{
self->SetAnon(anon_flag);
}
int Perl_Client_GetAFK(Client* self) // @categories Account and Character, Stats and Attributes
{
return self->GetAFK();
}
void Perl_Client_SetAFK(Client* self, uint8 afk_flag) // @categories Account and Character, Stats and Attributes
{
self->SetAFK(afk_flag);
}
void Perl_Client_Duck(Client* self) // @categories Account and Character
{
self->Duck();
}
void Perl_Client_DyeArmorBySlot(Client* self, uint8 slot, uint8 red, uint8 green, uint8 blue) // @categories Account and Character, Inventory and Items
{
self->DyeArmorBySlot(slot, red, green, blue);
}
void Perl_Client_DyeArmorBySlot(Client* self, uint8 slot, uint8 red, uint8 green, uint8 blue, uint8 use_tint) // @categories Account and Character, Inventory and Items
{
self->DyeArmorBySlot(slot, red, green, blue, use_tint);
}
void Perl_Client_Stand(Client* self) // @categories Script Utility
{
self->Stand();
}
void Perl_Client_SetGM(Client* self, bool on) // @categories Account and Character
{
self->SetGM(on);
}
void Perl_Client_SetPVP(Client* self, bool on) // @categories Account and Character
{
self->SetPVP(on);
}
bool Perl_Client_GetPVP(Client* self) // @categories Account and Character, Stats and Attributes
{
return self->GetPVP();
}
bool Perl_Client_GetGM(Client* self) // @categories Account and Character
{
return self->GetGM();
}
void Perl_Client_SetBaseClass(Client* self, uint32 class_id) // @categories Account and Character, Stats and Attributes
{
self->SetBaseClass(class_id);
}
void Perl_Client_SetBaseRace(Client* self, uint32 race_id) // @categories Account and Character, Stats and Attributes
{
self->SetBaseRace(race_id);
}
void Perl_Client_SetBaseGender(Client* self, uint32 gender_id) // @categories Account and Character, Stats and Attributes
{
self->SetBaseGender(gender_id);
}
int Perl_Client_GetBaseFace(Client* self) // @categories Stats and Attributes
{
return self->GetBaseFace();
}
int Perl_Client_GetLanguageSkill(Client* self, uint16 lanuage_id) // @categories Account and Character, Stats and Attributes
{
return self->GetLanguageSkill(lanuage_id);
}
uint32_t Perl_Client_GetLDoNPointsTheme(Client* self, int theme) // @categories Currency and Points
{
return self->GetLDoNPointsTheme(theme);
}
int Perl_Client_GetBaseSTR(Client* self) // @categories Stats and Attributes
{
return self->GetBaseSTR();
}
int Perl_Client_GetBaseSTA(Client* self) // @categories Stats and Attributes
{
return self->GetBaseSTA();
}
int Perl_Client_GetBaseCHA(Client* self) // @categories Stats and Attributes
{
return self->GetBaseCHA();
}
int Perl_Client_GetBaseDEX(Client* self) // @categories Stats and Attributes
{
return self->GetBaseDEX();
}
int Perl_Client_GetBaseINT(Client* self) // @categories Stats and Attributes
{
return self->GetBaseINT();
}
int Perl_Client_GetBaseAGI(Client* self) // @categories Stats and Attributes
{
return self->GetBaseAGI();
}
int Perl_Client_GetBaseWIS(Client* self) // @categories Stats and Attributes
{
return self->GetBaseWIS();
}
int Perl_Client_GetWeight(Client* self) // @categories Account and Character, Stats and Attributes
{
return self->GetWeight();
}
uint32_t Perl_Client_GetEXP(Client* self) // @categories Experience and Level
{
return self->GetEXP();
}
uint32_t Perl_Client_GetAAExp(Client* self) // @categories Alternative Advancement, Experience and Level
{
return self->GetAAXP();
}
uint32_t Perl_Client_GetAAPercent(Client* self) // @categories Alternative Advancement, Experience and Level
{
return self->GetAAPercent();
}
uint32_t Perl_Client_GetTotalSecondsPlayed(Client* self) // @categories Account and Character, Stats and Attributes
{
return self->GetTotalSecondsPlayed();
}
bool Perl_Client_UpdateLDoNPoints(Client* self, uint32 theme_id, int points) // @categories Currency and Points
{
return self->UpdateLDoNPoints(theme_id, points);
}
void Perl_Client_SetDeity(Client* self, uint32 deity_id) // @categories Account and Character, Stats and Attributes
{
self->SetDeity(deity_id);
}
void Perl_Client_AddEXP(Client* self, uint32 add_exp) // @categories Experience and Level
{
self->AddEXP(ExpSource::Quest, add_exp);
}
void Perl_Client_AddEXP(Client* self, uint32 add_exp, uint8 conlevel) // @categories Experience and Level
{
self->AddEXP(ExpSource::Quest, add_exp, conlevel);
}
void Perl_Client_AddEXP(Client* self, uint32 add_exp, uint8 conlevel, bool resexp) // @categories Experience and Level
{
self->AddEXP(ExpSource::Quest, add_exp, conlevel, resexp);
}
void Perl_Client_SetEXP(Client* self, uint64 set_exp, uint64 set_aaxp) // @categories Experience and Level
{
self->SetEXP(ExpSource::Quest, set_exp, set_aaxp);
}
void Perl_Client_SetEXP(Client* self, uint64 set_exp, uint64 set_aaxp, bool resexp) // @categories Experience and Level
{
self->SetEXP(ExpSource::Quest, set_exp, set_aaxp, resexp);
}
void Perl_Client_SetBindPoint(Client* self) // @categories Account and Character, Stats and Attributes
{
self->SetBindPoint2(0);
}
void Perl_Client_SetBindPoint(Client* self, int to_zone) // @categories Account and Character, Stats and Attributes
{
self->SetBindPoint2(0, to_zone);
}
void Perl_Client_SetBindPoint(Client* self, int to_zone, int to_instance) // @categories Account and Character, Stats and Attributes
{
self->SetBindPoint2(0, to_zone, to_instance);
}
void Perl_Client_SetBindPoint(Client* self, int to_zone, int to_instance, float new_x) // @categories Account and Character, Stats and Attributes
{
self->SetBindPoint2(0, to_zone, to_instance, glm::vec4(new_x, 0.0f, 0.0f, 0.0f));
}
void Perl_Client_SetBindPoint(Client* self, int to_zone, int to_instance, float new_x, float new_y) // @categories Account and Character, Stats and Attributes
{
self->SetBindPoint2(0, to_zone, to_instance, glm::vec4(new_x, new_y, 0.0f, 0.0f));
}
void Perl_Client_SetBindPoint(Client* self, int to_zone, int to_instance, float new_x, float new_y, float new_z) // @categories Account and Character, Stats and Attributes
{
self->SetBindPoint2(0, to_zone, to_instance, glm::vec4(new_x, new_y, new_z, 0.0f));
}
void Perl_Client_SetBindPoint(Client* self, int to_zone, int to_instance, float new_x, float new_y, float new_z, float new_heading) // @categories Account and Character, Stats and Attributes
{
self->SetBindPoint2(0, to_zone, to_instance, glm::vec4(new_x, new_y, new_z, new_heading));
}
float Perl_Client_GetBindX(Client* self) // @categories Account and Character
{
return self->GetBindX();
}
float Perl_Client_GetBindX(Client* self, int index) // @categories Account and Character
{
return self->GetBindX(index);
}
float Perl_Client_GetBindY(Client* self) // @categories Account and Character
{
return self->GetBindY();
}
float Perl_Client_GetBindY(Client* self, int index) // @categories Account and Character
{
return self->GetBindY(index);
}
float Perl_Client_GetBindZ(Client* self) // @categories Account and Character
{
return self->GetBindZ();
}
float Perl_Client_GetBindZ(Client* self, int index) // @categories Account and Character
{
return self->GetBindZ(index);
}
float Perl_Client_GetBindHeading(Client* self) // @categories Account and Character
{
return self->GetBindHeading();
}
float Perl_Client_GetBindHeading(Client* self, int index) // @categories Account and Character
{
return self->GetBindHeading(index);
}
uint32_t Perl_Client_GetBindZoneID(Client* self) // @categories Account and Character
{
return self->GetBindZoneID();
}
uint32_t Perl_Client_GetBindZoneID(Client* self, int index) // @categories Account and Character
{
return self->GetBindZoneID(index);
}
void Perl_Client_MovePC(Client* self, uint32 zone_id, float x, float y, float z, float heading) // @categories Script Utility
{
self->MovePC(zone_id, x, y, z, heading);
}
void Perl_Client_MovePCInstance(Client* self, uint32 zone_id, uint32 instance_id, float x, float y, float z, float heading) // @categories Adventures and Expeditions, Script Utility
{
self->MovePC(zone_id, instance_id, x, y, z, heading);
}
void Perl_Client_ChangeLastName(Client* self, std::string last_name) // @categories Account and Character
{
self->ChangeLastName(last_name);
}
int Perl_Client_GetFactionLevel(Client* self, uint32 char_id, uint32 npc_id, uint32 race_id, uint32 class_id, uint32 deity_id, uint32 faction_id, Mob* tnpc) // @categories Faction
{
return self->GetFactionLevel(char_id, npc_id, race_id, class_id, deity_id, faction_id, tnpc);
}
void Perl_Client_SetFactionLevel(Client* self, uint32 char_id, uint32 npc_faction_id, uint8 char_class, uint8 char_race, uint8 char_deity) // @categories Faction
{
self->SetFactionLevel(char_id, npc_faction_id, char_class, char_race, char_deity);
}
void Perl_Client_SetFactionLevel2(Client* self, uint32 char_id, int32 faction_id, uint8 char_class, uint8 char_race, uint8 char_deity, int32 value) // @categories Faction
{
self->SetFactionLevel2(char_id, faction_id, char_class, char_race, char_deity, value, 0);
}
void Perl_Client_SetFactionLevel2(Client* self, uint32 char_id, int32 faction_id, uint8 char_class, uint8 char_race, uint8 char_deity, int32 value, uint8 temp) // @categories Faction
{
self->SetFactionLevel2(char_id, faction_id, char_class, char_race, char_deity, value, temp);
}
int Perl_Client_GetRawItemAC(Client* self) // @categories Inventory and Items
{
return self->GetRawItemAC();
}
uint32_t Perl_Client_AccountID(Client* self) // @categories Account and Character
{
return self->AccountID();
}
std::string Perl_Client_AccountName(Client* self) // @categories Account and Character
{
return self->AccountName();
}
int16 Perl_Client_Admin(Client* self) // @categories Account and Character
{
return self->Admin();
}
uint32_t Perl_Client_CharacterID(Client* self) // @categories Account and Character
{
return self->CharacterID();
}
void Perl_Client_UpdateAdmin(Client* self) // @categories Account and Character
{
self->UpdateAdmin();
}
void Perl_Client_UpdateAdmin(Client* self, bool from_database) // @categories Account and Character
{
self->UpdateAdmin(from_database);
}
void Perl_Client_UpdateWho(Client* self) // @categories Script Utility
{
self->UpdateWho();
}
void Perl_Client_UpdateWho(Client* self, uint8 remove) // @categories Script Utility
{
self->UpdateWho(remove);
}
int Perl_Client_GuildRank(Client* self) // @categories Account and Character, Guild
{
return self->GuildRank();
}
uint32_t Perl_Client_GuildID(Client* self) // @categories Account and Character, Guild
{
return self->GuildID();
}
int Perl_Client_GetFace(Client* self) // @categories Account and Character, Stats and Attributes
{
return self->GetFace();
}
bool Perl_Client_TakeMoneyFromPP(Client* self, uint64 copper) // @categories Currency and Points
{
return self->TakeMoneyFromPP(copper);
}
bool Perl_Client_TakeMoneyFromPP(Client* self, uint64 copper, bool update_client) // @categories Currency and Points
{
return self->TakeMoneyFromPP(copper, update_client);
}
void Perl_Client_AddMoneyToPP(Client* self, uint32 copper, uint32 silver, uint32 gold, uint32 platinum) // @categories Currency and Points
{
self->AddMoneyToPP(copper, silver, gold, platinum);
}
void Perl_Client_AddMoneyToPP(Client* self, uint32 copper, uint32 silver, uint32 gold, uint32 platinum, bool update_client) // @categories Currency and Points
{
self->AddMoneyToPP(copper, silver, gold, platinum, update_client);
}
bool Perl_Client_TGB(Client* self) // @categories Spells and Disciplines
{
return self->TGB();
}
int Perl_Client_GetSkillPoints(Client* self) // @categories Skills and Recipes
{
return self->GetSkillPoints();
}
void Perl_Client_SetSkillPoints(Client* self, int points) // @categories Skills and Recipes
{
self->SetSkillPoints(points);
}
void Perl_Client_IncreaseSkill(Client* self, int skill_id) // @categories Skills and Recipes
{
self->IncreaseSkill(skill_id);
}
void Perl_Client_IncreaseSkill(Client* self, int skill_id, int value) // @categories Skills and Recipes
{
self->IncreaseSkill(skill_id, value);
}
void Perl_Client_IncreaseLanguageSkill(Client* self, uint8 language_id) // @categories Skills and Recipes
{
self->IncreaseLanguageSkill(language_id);
}
void Perl_Client_IncreaseLanguageSkill(Client* self, uint8 language_id, uint8 increase) // @categories Skills and Recipes
{
self->IncreaseLanguageSkill(language_id, increase);
}
uint32_t Perl_Client_GetRawSkill(Client* self, int skill_id) // @categories Skills and Recipes
{
return self->GetRawSkill(static_cast<EQ::skills::SkillType>(skill_id));
}
bool Perl_Client_HasSkill(Client* self, int skill_id) // @categories Skills and Recipes
{
return self->HasSkill(static_cast<EQ::skills::SkillType>(skill_id));
}
bool Perl_Client_CanHaveSkill(Client* self, int skill_id) // @categories Skills and Recipes
{
return self->CanHaveSkill(static_cast<EQ::skills::SkillType>(skill_id));
}
void Perl_Client_SetSkill(Client* self, int skill_id, uint16 value) // @categories Skills and Recipes
{
self->SetSkill(static_cast<EQ::skills::SkillType>(skill_id), value);
}
void Perl_Client_AddSkill(Client* self, int skill_id, uint16 value) // @categories Skills and Recipes
{
self->AddSkill(static_cast<EQ::skills::SkillType>(skill_id), value);
}
void Perl_Client_CheckSpecializeIncrease(Client* self, uint16 spell_id) // @categories Spells and Disciplines
{
self->CheckSpecializeIncrease(spell_id);
}
bool Perl_Client_CheckIncreaseSkill(Client* self, int skill_id) // @categories Skills and Recipes
{
return self->CheckIncreaseSkill(static_cast<EQ::skills::SkillType>(skill_id), nullptr);
}
bool Perl_Client_CheckIncreaseSkill(Client* self, int skill_id, int chance_modifier) // @categories Skills and Recipes
{
return self->CheckIncreaseSkill(static_cast<EQ::skills::SkillType>(skill_id), nullptr, chance_modifier);
}
void Perl_Client_SetLanguageSkill(Client* self, uint8 language_id, uint8 language_skill) // @categories Account and Character, Skills and Recipes, Stats and Attributes
{
self->SetLanguageSkill(language_id, language_skill);
}
int Perl_Client_MaxSkill(Client* self, uint16 skill_id) // @categories Skills and Recipes
{
return self->MaxSkill(static_cast<EQ::skills::SkillType>(skill_id), self->GetClass(), self->GetLevel());
}
int Perl_Client_MaxSkill(Client* self, uint16 skill_id, uint16 class_id) // @categories Skills and Recipes
{
return self->MaxSkill(static_cast<EQ::skills::SkillType>(skill_id), class_id, self->GetLevel());
}
int Perl_Client_MaxSkill(Client* self, uint16 skill_id, uint16 class_id, uint16 level) // @categories Skills and Recipes
{
return self->MaxSkill(static_cast<EQ::skills::SkillType>(skill_id), class_id, level);
}
void Perl_Client_GMKill(Client* self) // @categories Script Utility
{
self->GMKill();
}
bool Perl_Client_IsMedding(Client* self) // @categories Account and Character
{
return self->IsMedding();
}
uint32_t Perl_Client_GetDuelTarget(Client* self) // @categories Account and Character, Script Utility
{
return self->GetDuelTarget();
}
bool Perl_Client_IsDueling(Client* self) // @categories Account and Character
{
return self->IsDueling();
}
void Perl_Client_SetDuelTarget(Client* self, uint32_t set_id) // @categories Account and Character
{
self->SetDuelTarget(set_id);
}
void Perl_Client_SetDueling(Client* self, bool duel) // @categories Account and Character, Script Utility
{
self->SetDueling(duel);
}
void Perl_Client_ResetAA(Client* self) // @categories Alternative Advancement
{
self->ResetAA();
}
void Perl_Client_MemSpell(Client* self, uint16 spell_id, int slot) // @categories Spells and Disciplines
{
self->MemSpell(spell_id, slot);
}
void Perl_Client_MemSpell(Client* self, uint16 spell_id, int slot, bool update_client) // @categories Spells and Disciplines
{
self->MemSpell(spell_id, slot, update_client);
}
void Perl_Client_UnmemSpell(Client* self, int slot) // @categories Spells and Disciplines
{
self->UnmemSpell(slot);
}
void Perl_Client_UnmemSpell(Client* self, int slot, bool update_client) // @categories Spells and Disciplines
{
self->UnmemSpell(slot, update_client);
}
void Perl_Client_UnmemSpellBySpellID(Client* self, int spell_id) // @categories Spells and Disciplines
{
self->UnmemSpellBySpellID(spell_id);
}
void Perl_Client_UnmemSpellAll(Client* self) // @categories Spells and Disciplines
{
self->UnmemSpellAll();
}
void Perl_Client_UnmemSpellAll(Client* self, bool update_client) // @categories Spells and Disciplines
{
self->UnmemSpellAll(update_client);
}
int Perl_Client_FindEmptyMemSlot(Client* self) // @categories Account and Character, Spells and Disciplines
{
return self->FindEmptyMemSlot();
}
int Perl_Client_FindMemmedSpellBySlot(Client* self, int slot) // @categories Account and Character, Spells and Disciplines
{
return self->FindMemmedSpellBySlot(slot);
}
int Perl_Client_FindMemmedSpellBySpellID(Client* self, uint16 spell_id) // @categories Account and Character, Spells and Disciplines
{
return self->FindMemmedSpellBySpellID(spell_id);
}
int Perl_Client_MemmedCount(Client* self) // @categories Spells and Disciplines
{
return self->MemmedCount();
}
void Perl_Client_ScribeSpell(Client* self, uint16 spell_id, int slot) // @categories Spells and Disciplines
{
self->ScribeSpell(spell_id, slot);
}
void Perl_Client_ScribeSpell(Client* self, uint16 spell_id, int slot, bool update_client) // @categories Spells and Disciplines
{
self->ScribeSpell(spell_id, slot, update_client);
}
void Perl_Client_UnscribeSpell(Client* self, int slot) // @categories Spells and Disciplines
{
self->UnscribeSpell(slot);
}
void Perl_Client_UnscribeSpell(Client* self, int slot, bool update_client) // @categories Spells and Disciplines
{
self->UnscribeSpell(slot, update_client);
}
void Perl_Client_UnscribeSpellAll(Client* self)
{
self->UnscribeSpellAll();
}
void Perl_Client_UnscribeSpellAll(Client* self, bool update_client)
{
self->UnscribeSpellAll(update_client);
}
void Perl_Client_TrainDiscBySpellID(Client* self, int spell_id) // @categories Spells and Disciplines
{
self->TrainDiscBySpellID(spell_id);
}
int Perl_Client_GetDiscSlotBySpellID(Client* self, int spell_id) // @categories Spells and Disciplines
{
return self->GetDiscSlotBySpellID(spell_id);
}
void Perl_Client_UntrainDisc(Client* self, int slot) // @categories Spells and Disciplines
{
self->UntrainDisc(slot);
}
void Perl_Client_UntrainDisc(Client* self, int slot, bool update_client) // @categories Spells and Disciplines
{
self->UntrainDisc(slot, update_client);
}
void Perl_Client_UntrainDiscAll(Client* self) // @categories Spells and Disciplines
{
self->UntrainDiscAll();
}
void Perl_Client_UntrainDiscAll(Client* self, bool update_client) // @categories Spells and Disciplines
{
self->UntrainDiscAll(update_client);
}
bool Perl_Client_IsStanding(Client* self) // @categories Account and Character
{
return self->IsStanding();
}
void Perl_Client_Sit(Client* self)
{
self->Sit();
}
bool Perl_Client_IsSitting(Client* self) // @categories Account and Character
{
return self->IsSitting();
}
bool Perl_Client_IsCrouching(Client* self) // @categories Account and Character
{
return self->IsCrouching();
}
bool Perl_Client_IsBecomeNPC(Client* self) // @categories Account and Character
{
return self->IsBecomeNPC();
}
int Perl_Client_GetBecomeNPCLevel(Client* self) // @categories Experience and Level
{
return self->GetBecomeNPCLevel();
}
void Perl_Client_SetBecomeNPC(Client* self, bool flag) // @categories Account and Character, Stats and Attributes
{
self->SetBecomeNPC(flag);
}
void Perl_Client_SetBecomeNPCLevel(Client* self, uint8 level) // @categories Account and Character, Stats and Attributes
{
self->SetBecomeNPCLevel(level);
}
void Perl_Client_SetFeigned(Client* self, bool feigned) // @categories Script Utility
{
self->SetFeigned(feigned);
}
bool Perl_Client_GetFeigned(Client* self) // @categories Script Utility
{
return self->GetFeigned();
}
bool Perl_Client_AutoSplitEnabled(Client* self) // @categories Currency and Points
{
return self->AutoSplitEnabled();
}
void Perl_Client_SetHorseId(Client* self, uint16_t horseid) // @categories Script Utility
{
self->SetHorseId(horseid);
}
int Perl_Client_GetHorseId(Client* self) // @categories Account and Character, Script Utility
{
return self->GetHorseId();
}
uint32 Perl_Client_NukeItem(Client* self, uint32 item_id) // @categories Inventory and Items
{
return self->NukeItem(item_id, 0xFF);
}
uint32 Perl_Client_NukeItem(Client* self, uint32 item_id, uint8 slot_to_check) // @categories Inventory and Items
{
return self->NukeItem(item_id, slot_to_check);
}
void Perl_Client_SetTint(Client* self, int16 slot_id, uint32 color) // @categories Inventory and Items
{
self->SetTint(slot_id, color);
}
void Perl_Client_SetMaterial(Client* self, int16 slot_id, uint32 item_id) // @categories Inventory and Items
{
self->SetMaterial(slot_id, item_id);
}
void Perl_Client_Undye(Client* self) // @categories Script Utility
{
self->Undye();
}
int Perl_Client_GetItemIDAt(Client* self, int16 slot_id) // @categories Inventory and Items
{
return self->GetItemIDAt(slot_id);
}
int Perl_Client_GetAugmentIDAt(Client* self, int16 slot_id, uint8 aug_slot) // @categories Inventory and Items
{
return self->GetAugmentIDAt(slot_id, aug_slot);
}
void Perl_Client_DeleteItemInInventory(Client* self, int16 slot_id) // @categories Inventory and Items
{
self->DeleteItemInInventory(slot_id);
}
void Perl_Client_DeleteItemInInventory(Client* self, int16 slot_id, int16 quantity) // @categories Inventory and Items
{
self->DeleteItemInInventory(slot_id, quantity);
}
void Perl_Client_DeleteItemInInventory(Client* self, int16 slot_id, int16 quantity, bool client_update) // @categories Inventory and Items
{
self->DeleteItemInInventory(slot_id, quantity, client_update);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges, bool attune) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges, 0, 0, 0, 0, 0, 0, attune);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges, bool attune, uint32 aug1) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges, aug1, 0, 0, 0, 0, 0, attune);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges, bool attune, uint32 aug1, uint32 aug2) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges, aug1, aug2, 0, 0, 0, 0, attune);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges, bool attune, uint32 aug1, uint32 aug2, uint32 aug3) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges, aug1, aug2, aug3, 0, 0, 0, attune);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges, bool attune, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges, aug1, aug2, aug3, aug4, 0, 0, attune);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges, bool attune, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges, aug1, aug2, aug3, aug4, aug5, 0, attune);
}
void Perl_Client_SummonItem(Client* self, uint32 item_id, int16 charges, bool attune, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5, uint16 slot_id) // @categories Inventory and Items, Script Utility
{
self->SummonItem(item_id, charges, aug1, aug2, aug3, aug4, aug5, 0, attune, slot_id);
}
void Perl_Client_SetStats(Client* self, uint8 type, uint16 increase_val) // @categories Account and Character, Stats and Attributes
{
self->SetStats(type, increase_val);
}
void Perl_Client_IncStats(Client* self, uint8 type, uint16 increase_val) // @categories Account and Character, Stats and Attributes
{
self->IncStats(type, increase_val);
}
void Perl_Client_DropItem(Client* self, int16 slot_id) // @categories Inventory and Items
{
self->DropItem(slot_id);
}
void Perl_Client_BreakInvis(Client* self) // @categories Spells and Disciplines, Script Utility
{
self->BreakInvis();
}
Group* Perl_Client_GetGroup(Client* self) // @categories Account and Character, Group
{
return self->GetGroup();
}
void Perl_Client_LeaveGroup(Client* self) // @categories Account and Character, Group
{
self->LeaveGroup();
}
Raid* Perl_Client_GetRaid(Client* self) // @categories Account and Character, Raid
{
return self->GetRaid();
}
bool Perl_Client_IsGrouped(Client* self) // @categories Account and Character, Group
{
return self->IsGrouped();
}
bool Perl_Client_IsRaidGrouped(Client* self) // @categories Account and Character, Group, Raid
{
return self->IsRaidGrouped();
}
bool Perl_Client_Hungry(Client* self) // @categories Account and Character, Stats and Attributes
{
return self->Hungry();
}
bool Perl_Client_Thirsty(Client* self) // @categories Script Utility
{
return self->Thirsty();
}
int Perl_Client_GetInstrumentMod(Client* self, uint16 spell_id) // @categories Spells and Disciplines
{
return self->GetInstrumentMod(spell_id);
}
bool Perl_Client_DecreaseByID(Client* self, uint32 type, int16 quantity) // @categories Script Utility
{
return self->DecreaseByID(type, quantity);
}
int Perl_Client_SlotConvert2(Client* self, uint8 slot) // @categories Inventory and Items
{
return self->SlotConvert2(slot);
}
void Perl_Client_Escape(Client* self) // @categories Account and Character, Skills and Recipes
{
self->Escape();
}
void Perl_Client_RemoveNoRent(Client* self) // @categories Inventory and Items
{
self->RemoveNoRent();
}
void Perl_Client_GoFish(Client* self) // @categories Skills and Recipes
{
self->GoFish();
}
void Perl_Client_ForageItem(Client* self) // @categories Skills and Recipes
{
self->ForageItem();
}
float Perl_Client_CalcPriceMod(Client* self) // @categories Currency and Points
{
return self->CalcPriceMod();
}
float Perl_Client_CalcPriceMod(Client* self, Mob* other) // @categories Currency and Points
{
return self->CalcPriceMod(other);
}
float Perl_Client_CalcPriceMod(Client* self, Mob* other, bool reverse) // @categories Currency and Points
{
return self->CalcPriceMod(other, reverse);
}
void Perl_Client_ResetTrade(Client* self) // @categories Script Utility
{
self->ResetTrade();
}
bool Perl_Client_UseDiscipline(Client* self, uint32 spell_id, uint32 target) // @categories Spells and Disciplines
{
return self->UseDiscipline(spell_id, target);
}
uint32_t Perl_Client_GetDisciplineTimer(Client* self, uint32 timer_id) // @categories Spells and Disciplines
{
return self->GetDisciplineTimer(timer_id);
}
void Perl_Client_ResetDisciplineTimer(Client* self, uint32_t timer_id) // @categories Spells and Disciplines
{
self->ResetDisciplineTimer(timer_id);
}
int Perl_Client_GetCharacterFactionLevel(Client* self, int faction_id) // @categories Faction
{
return self->GetCharacterFactionLevel(faction_id);
}
void Perl_Client_SetZoneFlag(Client* self, uint32 zone_id) // @categories Account and Character, Zones
{
self->SetZoneFlag(zone_id);
}
void Perl_Client_ClearZoneFlag(Client* self, uint32 zone_id) // @categories Script Utility
{
self->ClearZoneFlag(zone_id);
}
bool Perl_Client_HasZoneFlag(Client* self, uint32 zone_id) // @categories Account and Character
{
return self->HasZoneFlag(zone_id);
}
void Perl_Client_SendZoneFlagInfo(Client* self, Client* to) // @categories Account and Character, Zones
{
self->SendZoneFlagInfo(to);
}
void Perl_Client_LoadZoneFlags(Client* self) // @categories Zones
{
self->LoadZoneFlags();
}