This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
DatabaseManager.Tables.cs
4492 lines (3124 loc) · 126 KB
/
DatabaseManager.Tables.cs
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
// MIT License
//
// Copyright (c) 2018 reapler https://github.com/reapler
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
using System;
using System.Collections.Generic;
using System.Linq;
using DatabaseManager.Enums;
using DatabaseManager.Types;
using LinqToDB.Mapping;
using robotManager.Helpful;
using wManager.Wow.Enums;
using wManager.Wow.Helpers;
namespace DatabaseManager.Tables
{
[Table(Name = "access_requirement")]
public class access_requirement
{
[Column(Name = "mapId")]
public int mapId { get; set; }
[Column(Name = "difficulty")]
public int difficulty { get; set; }
[Column(Name = "level_min")]
public int level_min { get; set; }
[Column(Name = "level_max")]
public int level_max { get; set; }
[Column(Name = "item_level")]
public int item_level { get; set; }
[Column(Name = "item")]
public int item { get; set; }
[Column(Name = "item2")]
public int item2 { get; set; }
[Column(Name = "quest_done_A")]
public int quest_done_A { get; set; }
[Column(Name = "quest_done_H")]
public int quest_done_H { get; set; }
[Column(Name = "completed_achievement")]
public int completed_achievement { get; set; }
[Column(Name = "quest_failed_text")]
public string quest_failed_text { get; set; }
[Column(Name = "comment")]
public string comment { get; set; }
}
[Table(Name = "areatrigger_involvedrelation")]
public class areatrigger_involvedrelation
{
[Column(Name = "id")]
public int id { get; set; }
[Column(Name = "quest")]
public int quest { get; set; }
}
[Table(Name = "areatrigger_scripts")]
public class areatrigger_scripts
{
[Column(Name = "entry")]
public int entry { get; set; }
[Column(Name = "ScriptName")]
public string ScriptName { get; set; }
}
[Table(Name = "areatrigger_teleport")]
public class areatrigger_teleport
{
[Column(Name = "ID")]
public int ID { get; set; }
[Column(Name = "Name")]
public string Name { get; set; }
[Column(Name = "target_map")]
public int target_map { get; set; }
[Column(Name = "target_position_x")]
public float target_position_x { get; set; }
[Column(Name = "target_position_y")]
public float target_position_y { get; set; }
[Column(Name = "target_position_z")]
public float target_position_z { get; set; }
[Column(Name = "target_orientation")]
public float target_orientation { get; set; }
[Column(Name = "VerifiedBuild")]
public int VerifiedBuild { get; set; }
}
[Table(Name = "battleground_template")]
public class battleground_template
{
[Column(Name = "ID")]
public int ID { get; set; }
[Column(Name = "MinPlayersPerTeam")]
public int MinPlayersPerTeam { get; set; }
[Column(Name = "MaxPlayersPerTeam")]
public int MaxPlayersPerTeam { get; set; }
[Column(Name = "MinLvl")]
public int MinLvl { get; set; }
[Column(Name = "MaxLvl")]
public int MaxLvl { get; set; }
[Column(Name = "AllianceStartLoc")]
public int AllianceStartLoc { get; set; }
[Column(Name = "AllianceStartO")]
public float AllianceStartO { get; set; }
[Column(Name = "HordeStartLoc")]
public int HordeStartLoc { get; set; }
[Column(Name = "HordeStartO")]
public float HordeStartO { get; set; }
[Column(Name = "StartMaxDist")]
public float StartMaxDist { get; set; }
[Column(Name = "Weight")]
public int Weight { get; set; }
[Column(Name = "ScriptName")]
public string ScriptName { get; set; }
[Column(Name = "Comment")]
public string Comment { get; set; }
}
[Table(Name = "battlemaster_entry")]
public class battlemaster_entry
{
[Column(Name = "entry")]
public int entry { get; set; }
[Column(Name = "bg_template")]
public int bg_template { get; set; }
}
[Table(Name = "creature")]
public class creature
{
[Column(Name = "guid")]
internal int guid { get; set; }
[Column(Name = "id")]
public int id { get; set; }
[Column(Name = "map")]
public int map { get; set; }
[Column(Name = "zoneId")]
public int zoneId { get; set; }
[Column(Name = "areaId")]
public int areaId { get; set; }
[Column(Name = "spawnMask")]
internal int spawnMask { get; set; }
[Column(Name = "phaseMask")]
internal int phaseMask { get; set; }
[Column(Name = "modelid")]
public int modelid { get; set; }
[Column(Name = "equipment_id")]
internal int equipment_id { get; set; }
[Column(Name = "position_x")]
public float position_x { get; set; }
[Column(Name = "position_y")]
public float position_y { get; set; }
[Column(Name = "position_z")]
public float position_z { get; set; }
[Column(Name = "orientation")]
public float orientation { get; set; }
[Column(Name = "spawntimesecs")]
public int spawntimesecs { get; set; }
[Column(Name = "spawndist")]
public float spawndist { get; set; }
[Column(Name = "currentwaypoint")]
public int currentwaypoint { get; set; }
[Column(Name = "curhealth")]
public int curhealth { get; set; }
[Column(Name = "curmana")]
public int curmana { get; set; }
[Column(Name = "MovementType")]
public int MovementType { get; set; }
[Column(Name = "npcflag")]
public int npcflag { get; set; }
[Column(Name = "unit_flags")]
public int unit_flags { get; set; }
[Column(Name = "dynamicflags")]
internal int dynamicflags { get; set; }
[Column(Name = "ScriptName")]
internal string ScriptName { get; set; }
[Column(Name = "VerifiedBuild")]
internal int VerifiedBuild { get; set; }
/// <summary>
/// No linqdb-select!
/// </summary>
public string Name { get; set; } = "";
/// <summary>
/// No linqdb-select!
/// </summary>
public int MinLevel { get; set; } = 0;
/// <summary>
/// No linqdb-select!
/// </summary>
public int MaxLevel { get; set; } = 0;
/// <summary>
/// No linqdb-select!
/// </summary>
public int MinGold { get; set; } = 0;
/// <summary>
/// No linqdb-select!
/// </summary>
public int MaxGold { get; set; } = 0;
/// <summary>
/// No linqdb-select!
/// </summary>
public Vector3 Position { get; set; } = Vector3.Empty;
/// <summary>
/// No linqdb-select!
/// </summary>
public UnitClassification Rank { get; set; } = UnitClassification.minus;
/// <summary>
/// No linqdb-select!
/// </summary>
public WoWFactionTemplate Faction { get; set; } = WoWFactionTemplate.FromId(0);
/// <summary>
/// No linqdb-select!
/// <para>Is bitmask</para>
/// <see cref="GetNpcFlags"/>
/// </summary>
internal int NpcFlags { get; set; }
public List<UnitNPCFlags> GetNpcFlags()
{
return Utilities.Other.BitmaskToEnum<UnitNPCFlags>(NpcFlags).ToList();
}
}
[Table(Name = "creature_addon")]
public class creature_addon
{
[Column(Name = "guid")]
public int guid { get; set; }
[Column(Name = "path_id")]
public int path_id { get; set; }
[Column(Name = "mount")]
public int mount { get; set; }
[Column(Name = "bytes1")]
public int bytes1 { get; set; }
[Column(Name = "bytes2")]
public int bytes2 { get; set; }
[Column(Name = "emote")]
public int emote { get; set; }
[Column(Name = "auras")]
public string auras { get; set; }
}
[Table(Name = "creature_classlevelstats")]
public class creature_classlevelstats
{
[Column(Name = "level")]
public int level { get; set; }
[Column(Name = "class")]
public int class_ { get; set; }
[Column(Name = "basehp0")]
public int basehp0 { get; set; }
[Column(Name = "basehp1")]
public int basehp1 { get; set; }
[Column(Name = "basehp2")]
public int basehp2 { get; set; }
[Column(Name = "basemana")]
public int basemana { get; set; }
[Column(Name = "basearmor")]
public int basearmor { get; set; }
[Column(Name = "attackpower")]
public int attackpower { get; set; }
[Column(Name = "rangedattackpower")]
public int rangedattackpower { get; set; }
[Column(Name = "damage_base")]
public float damage_base { get; set; }
[Column(Name = "damage_exp1")]
public float damage_exp1 { get; set; }
[Column(Name = "damage_exp2")]
public float damage_exp2 { get; set; }
[Column(Name = "comment")]
public string comment { get; set; }
}
[Table(Name = "creature_loot_template")]
public class creature_loot_template
{
[Column(Name = "Entry")]
public int Entry { get; set; }
[Column(Name = "Item")]
public int Item { get; set; }
[Column(Name = "Reference")]
public int Reference { get; set; }
[Column(Name = "Chance")]
public float Chance { get; set; }
[Column(Name = "QuestRequired")]
public bool QuestRequired { get; set; }
[Column(Name = "LootMode")]
public int LootMode { get; set; }
[Column(Name = "GroupId")]
public int GroupId { get; set; }
[Column(Name = "MinCount")]
public int MinCount { get; set; }
[Column(Name = "MaxCount")]
public int MaxCount { get; set; }
[Column(Name = "Comment")]
public string Comment { get; set; }
}
[Table(Name = "creature_questender")]
public class creature_questender
{
[Column(Name = "id")]
public int id { get; set; }
[Column(Name = "quest")]
public int quest { get; set; }
}
[Table(Name = "creature_questitem")]
public class creature_questitem
{
[Column(Name = "CreatureEntry")]
public int CreatureEntry { get; set; }
[Column(Name = "Idx")]
public int Idx { get; set; }
[Column(Name = "ItemId")]
public int ItemId { get; set; }
[Column(Name = "VerifiedBuild")]
public int VerifiedBuild { get; set; }
}
[Table(Name = "creature_queststarter")]
public class creature_queststarter
{
[Column(Name = "id")]
public int id { get; set; }
[Column(Name = "quest")]
public int quest { get; set; }
}
[Table(Name = "creature_template")]
public class creature_template
{
[Column(Name = "entry")]
public int entry { get; set; }
[Column(Name = "difficulty_entry_1")]
public int difficulty_entry_1 { get; set; }
[Column(Name = "difficulty_entry_2")]
public int difficulty_entry_2 { get; set; }
[Column(Name = "difficulty_entry_3")]
public int difficulty_entry_3 { get; set; }
[Column(Name = "KillCredit1")]
public int KillCredit1 { get; set; }
[Column(Name = "KillCredit2")]
public int KillCredit2 { get; set; }
[Column(Name = "modelid1")]
public int modelid1 { get; set; }
[Column(Name = "modelid2")]
public int modelid2 { get; set; }
[Column(Name = "modelid3")]
public int modelid3 { get; set; }
[Column(Name = "modelid4")]
public int modelid4 { get; set; }
[Column(Name = "name")]
public string name { get; set; }
[Column(Name = "subname")]
public string subname { get; set; }
[Column(Name = "IconName")]
public string IconName { get; set; }
[Column(Name = "gossip_menu_id")]
public int gossip_menu_id { get; set; }
[Column(Name = "minlevel")]
public int minlevel { get; set; }
[Column(Name = "maxlevel")]
public int maxlevel { get; set; }
[Column(Name = "exp")]
public int exp { get; set; }
[Column(Name = "faction")]
public uint faction { get; set; }
[Column(Name = "npcflag")]
public int npcflag { get; set; }
[Column(Name = "speed_walk")]
public float speed_walk { get; set; }
[Column(Name = "speed_run")]
public float speed_run { get; set; }
[Column(Name = "scale")]
public float scale { get; set; }
[Column(Name = "rank")]
public int rank { get; set; }
[Column(Name = "dmgschool")]
public int dmgschool { get; set; }
[Column(Name = "BaseAttackTime")]
public int BaseAttackTime { get; set; }
[Column(Name = "RangeAttackTime")]
public int RangeAttackTime { get; set; }
[Column(Name = "BaseVariance")]
public float BaseVariance { get; set; }
[Column(Name = "RangeVariance")]
public float RangeVariance { get; set; }
[Column(Name = "unit_class")]
public int unit_class { get; set; }
[Column(Name = "unit_flags")]
public int unit_flags { get; set; }
[Column(Name = "unit_flags2")]
public int unit_flags2 { get; set; }
[Column(Name = "dynamicflags")]
public int dynamicflags { get; set; }
[Column(Name = "family")]
public int family { get; set; }
[Column(Name = "trainer_type")]
public int trainer_type { get; set; }
[Column(Name = "trainer_spell")]
public int trainer_spell { get; set; }
[Column(Name = "trainer_class")]
public int trainer_class { get; set; }
[Column(Name = "trainer_race")]
public int trainer_race { get; set; }
[Column(Name = "type")]
public int type { get; set; }
[Column(Name = "type_flags")]
public int type_flags { get; set; }
[Column(Name = "lootid")]
public int lootid { get; set; }
[Column(Name = "pickpocketloot")]
public int pickpocketloot { get; set; }
[Column(Name = "skinloot")]
public int skinloot { get; set; }
[Column(Name = "resistance1")]
public int resistance1 { get; set; }
[Column(Name = "resistance2")]
public int resistance2 { get; set; }
[Column(Name = "resistance3")]
public int resistance3 { get; set; }
[Column(Name = "resistance4")]
public int resistance4 { get; set; }
[Column(Name = "resistance5")]
public int resistance5 { get; set; }
[Column(Name = "resistance6")]
public int resistance6 { get; set; }
[Column(Name = "spell1")]
public int spell1 { get; set; }
[Column(Name = "spell2")]
public int spell2 { get; set; }
[Column(Name = "spell3")]
public int spell3 { get; set; }
[Column(Name = "spell4")]
public int spell4 { get; set; }
[Column(Name = "spell5")]
public int spell5 { get; set; }
[Column(Name = "spell6")]
public int spell6 { get; set; }
[Column(Name = "spell7")]
public int spell7 { get; set; }
[Column(Name = "spell8")]
public int spell8 { get; set; }
[Column(Name = "PetSpellDataId")]
public int PetSpellDataId { get; set; }
[Column(Name = "VehicleId")]
public int VehicleId { get; set; }
[Column(Name = "mingold")]
public int mingold { get; set; }
[Column(Name = "maxgold")]
public int maxgold { get; set; }
[Column(Name = "AIName")]
public string AIName { get; set; }
[Column(Name = "MovementType")]
public int MovementType { get; set; }
[Column(Name = "InhabitType")]
public int InhabitType { get; set; }
[Column(Name = "HoverHeight")]
public float HoverHeight { get; set; }
[Column(Name = "HealthModifier")]
public float HealthModifier { get; set; }
[Column(Name = "ManaModifier")]
public float ManaModifier { get; set; }
[Column(Name = "ArmorModifier")]
public float ArmorModifier { get; set; }
[Column(Name = "DamageModifier")]
public float DamageModifier { get; set; }
[Column(Name = "ExperienceModifier")]
public float ExperienceModifier { get; set; }
[Column(Name = "RacialLeader")]
public int RacialLeader { get; set; }
[Column(Name = "movementId")]
public int movementId { get; set; }
[Column(Name = "RegenHealth")]
public int RegenHealth { get; set; }
[Column(Name = "mechanic_immune_mask")]
public int mechanic_immune_mask { get; set; }
[Column(Name = "flags_extra")]
public int flags_extra { get; set; }
[Column(Name = "ScriptName")]
public string ScriptName { get; set; }
[Column(Name = "VerifiedBuild")]
public int VerifiedBuild { get; set; }
}
[Table(Name = "creature_template_addon")]
public class creature_template_addon
{
[Column(Name = "entry")]
public int entry { get; set; }
[Column(Name = "path_id")]
public int path_id { get; set; }
[Column(Name = "mount")]
public int mount { get; set; }
[Column(Name = "bytes1")]
public int bytes1 { get; set; }
[Column(Name = "bytes2")]
public int bytes2 { get; set; }
[Column(Name = "emote")]
public int emote { get; set; }
[Column(Name = "auras")]
public string auras { get; set; }
}
[Table(Name = "disenchant_loot_template")]
public class disenchant_loot_template
{
[Column(Name = "Entry")]
public int Entry { get; set; }
[Column(Name = "Item")]
public int Item { get; set; }
[Column(Name = "Reference")]
public int Reference { get; set; }
[Column(Name = "Chance")]
public float Chance { get; set; }
[Column(Name = "QuestRequired")]
public bool QuestRequired { get; set; }
[Column(Name = "LootMode")]
public int LootMode { get; set; }
[Column(Name = "GroupId")]
public int GroupId { get; set; }
[Column(Name = "MinCount")]
public int MinCount { get; set; }
[Column(Name = "MaxCount")]
public int MaxCount { get; set; }
[Column(Name = "Comment")]
public string Comment { get; set; }
}
[Table(Name = "fishing_loot_template")]
public class fishing_loot_template
{
[Column(Name = "Entry")]
public int Entry { get; set; }
[Column(Name = "Item")]
public int Item { get; set; }
[Column(Name = "Reference")]
public int Reference { get; set; }
[Column(Name = "Chance")]
public float Chance { get; set; }
[Column(Name = "QuestRequired")]
public bool QuestRequired { get; set; }
[Column(Name = "LootMode")]
public int LootMode { get; set; }
[Column(Name = "GroupId")]
public int GroupId { get; set; }
[Column(Name = "MinCount")]
public int MinCount { get; set; }
[Column(Name = "MaxCount")]
public int MaxCount { get; set; }
[Column(Name = "Comment")]
public string Comment { get; set; }
}
[Table(Name = "gameobject")]
public class gameobject
{
[Column(Name = "guid")]
public int guid { get; set; }
[Column(Name = "id")]
public int id { get; set; }
[Column(Name = "map")]
public int map { get; set; }
[Column(Name = "zoneId")]
public int zoneId { get; set; }
[Column(Name = "areaId")]
public int areaId { get; set; }
[Column(Name = "spawnMask")]
public int spawnMask { get; set; }
[Column(Name = "phaseMask")]
public int phaseMask { get; set; }
[Column(Name = "position_x")]
public float position_x { get; set; }
[Column(Name = "position_y")]
public float position_y { get; set; }
[Column(Name = "position_z")]
public float position_z { get; set; }
[Column(Name = "orientation")]
public float orientation { get; set; }
[Column(Name = "rotation0")]
public float rotation0 { get; set; }
[Column(Name = "rotation1")]
public float rotation1 { get; set; }
[Column(Name = "rotation2")]
public float rotation2 { get; set; }
[Column(Name = "rotation3")]
public float rotation3 { get; set; }
[Column(Name = "spawntimesecs")]
public int spawntimesecs { get; set; }
[Column(Name = "animprogress")]
public int animprogress { get; set; }
[Column(Name = "state")]
public int state { get; set; }
[Column(Name = "ScriptName")]
public string ScriptName { get; set; }
[Column(Name = "VerifiedBuild")]
public int VerifiedBuild { get; set; }
/// <summary>
/// No linqdb-select!
/// </summary>
public string Name { get; set; } = "";
/// <summary>
/// No linqdb-select!
/// </summary>
public GameObjectType Type { get; set; } = GameObjectType.None;
/// <summary>
/// No linqdb-select!
/// </summary>
public int DisplayId { get; set; } = 0;
/// <summary>
/// No linqdb-select!
/// </summary>
public float Size { get; set; } = 0;
/// <summary>
/// No linqdb-select!
/// </summary>
public Vector3 Position { get; set; } = Vector3.Empty;
}
[Table(Name = "gameobject_addon")]
public class gameobject_addon
{
[Column(Name = "guid")]
public int guid { get; set; }
[Column(Name = "parent_rotation0")]
public float parent_rotation0 { get; set; }
[Column(Name = "parent_rotation1")]
public float parent_rotation1 { get; set; }
[Column(Name = "parent_rotation2")]
public float parent_rotation2 { get; set; }
[Column(Name = "parent_rotation3")]
public float parent_rotation3 { get; set; }
[Column(Name = "invisibilityType")]
public int invisibilityType { get; set; }
[Column(Name = "invisibilityValue")]
public int invisibilityValue { get; set; }
}
[Table(Name = "gameobject_loot_template")]
public class gameobject_loot_template
{
[Column(Name = "Entry")]
public int Entry { get; set; }
[Column(Name = "Item")]
public int Item { get; set; }
[Column(Name = "Reference")]
public int Reference { get; set; }
[Column(Name = "Chance")]
public float Chance { get; set; }
[Column(Name = "QuestRequired")]
public bool QuestRequired { get; set; }
[Column(Name = "LootMode")]
public int LootMode { get; set; }
[Column(Name = "GroupId")]
public int GroupId { get; set; }
[Column(Name = "MinCount")]
public int MinCount { get; set; }
[Column(Name = "MaxCount")]
public int MaxCount { get; set; }
[Column(Name = "Comment")]
public string Comment { get; set; }
}
[Table(Name = "gameobject_questender")]
public class gameobject_questender
{
[Column(Name = "id")]
public int id { get; set; }
[Column(Name = "quest")]
public int quest { get; set; }
}
[Table(Name = "gameobject_questitem")]
public class gameobject_questitem
{
[Column(Name = "GameObjectEntry")]
public int GameObjectEntry { get; set; }
[Column(Name = "Idx")]
public int Idx { get; set; }
[Column(Name = "ItemId")]
public int ItemId { get; set; }
[Column(Name = "VerifiedBuild")]
public int VerifiedBuild { get; set; }
}
[Table(Name = "gameobject_queststarter")]
public class gameobject_queststarter
{
[Column(Name = "id")]
public int id { get; set; }
[Column(Name = "quest")]
public int quest { get; set; }
}
[Table(Name = "gameobject_template")]
public class gameobject_template
{
[Column(Name = "entry")]
public int entry { get; set; }
[Column(Name = "type")]
public int type { get; set; }
[Column(Name = "displayId")]
public int displayId { get; set; }
[Column(Name = "name")]
public string name { get; set; }
[Column(Name = "IconName")]
public string IconName { get; set; }
[Column(Name = "castBarCaption")]
public string castBarCaption { get; set; }
[Column(Name = "unk1")]
public string unk1 { get; set; }
[Column(Name = "size")]
public float size { get; set; }
[Column(Name = "Data0")]
public int Data0 { get; set; }
[Column(Name = "Data1")]
public int Data1 { get; set; }
[Column(Name = "Data2")]
public int Data2 { get; set; }
[Column(Name = "Data3")]
public int Data3 { get; set; }
[Column(Name = "Data4")]
public int Data4 { get; set; }
[Column(Name = "Data5")]
public int Data5 { get; set; }
[Column(Name = "Data6")]
public int Data6 { get; set; }
[Column(Name = "Data7")]
public int Data7 { get; set; }