forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.meeting.xml
1021 lines (913 loc) · 38.5 KB
/
df.meeting.xml
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
<data-definition>
<struct-type type-name='dipscript_info'>
<int32_t name='id' comment='assigned during Save'/>
<stl-string name='script_file' comment='data/dipscript/dwarf_liaison'/>
<stl-vector name='script_steps' pointer-type='script_stepst'/>
<stl-vector name='script_vars' pointer-type='script_varst'/>
<stl-string name='code' comment='DWARF_LIAISON etc'/>
<code-helper name='describe'>$.code</code-helper>
</struct-type>
<struct-type type-name='dipscript_popup'>
<pointer name='meeting_holder' type-name='unit'/>
<pointer name='activity' type-name='activity_info'/>
<bitfield name='flags'>
<flag-bit name='close_screen'/>
<flag-bit name='new_screen'/>
</bitfield>
</struct-type>
<class-type type-name='script_stepst'>
<int32_t name='next_step_idx'/>
<virtual-methods>
<vmethod name='setNextStep' ret-type='bool'>
<int32_t name='idx'/>
</vmethod>
<vmethod name='execute' ret-type='int32_t'>
<pointer name='context' type-name='meeting_context'/>
</vmethod>
<vmethod name='skip' ret-type='int32_t'>
<pointer name='context' type-name='meeting_context'/>
</vmethod>
<vmethod is-destructor='true'/>
</virtual-methods>
</class-type>
<class-type type-name='script_step_setvarst' inherits-from='script_stepst'>
<stl-string name='dest_type'/>
<stl-string name='dest_name'/>
<stl-string name='src_type'/>
<stl-string name='src_name'/>
</class-type>
<class-type type-name='script_step_simpleactionst' inherits-from='script_stepst'>
<stl-string name='type'/>
<stl-string name='subtype'/>
</class-type>
<class-type type-name='script_step_conditionalst' inherits-from='script_stepst'>
<compound name='condition'>
<stl-string name='var1_type'/>
<stl-string name='var1_name'/>
<stl-string name='comparison'/>
<stl-string name='var2_type'/>
<stl-string name='var2_name'/>
</compound>
<int32_t name='conditional_next_step_idx'/>
</class-type>
<class-type type-name='script_step_textviewerst' inherits-from='script_stepst'>
<stl-string name='filename'/>
<stl-string name='outvar_name'/>
</class-type>
<class-type type-name='script_step_diphistoryst' inherits-from='script_stepst'>
<stl-string name='event'/>
</class-type>
<class-type type-name='script_step_discussst' inherits-from='script_stepst'>
<stl-string name='event'/>
</class-type>
<class-type type-name='script_step_topicdiscussionst' inherits-from='script_stepst'/>
<class-type type-name='script_step_constructtopiclistst' inherits-from='script_stepst'/>
<class-type type-name='script_step_dipeventst' inherits-from='script_step_eventst'>
<stl-string name='parm1'/>
<stl-string name='parm2'/>
<stl-string name='parm3'/>
<stl-string name='parm4'/>
<stl-string name='parm5'/>
</class-type>
<class-type type-name='script_step_invasionst' inherits-from='script_step_eventst'>
<stl-string name='parm'/>
</class-type>
<class-type type-name='script_step_eventst' inherits-from='script_stepst'/>
<class-type type-name='script_varst'>
<stl-string name='name'/>
<virtual-methods>
<vmethod name='instantiate'>
<ret-type><pointer type-name='active_script_varst'/></ret-type>
</vmethod>
</virtual-methods>
</class-type>
<class-type type-name='script_var_unitst' inherits-from='script_varst'/>
<class-type type-name='script_var_longst' inherits-from='script_varst'/>
<class-type type-name='active_script_varst'>
<stl-string name='name'/>
<virtual-methods>
<vmethod name='setColor'/>
<vmethod name='formatString'>
<pointer type-name='static-string' name='output'/>
<pointer type-name='stl-string' name='format'/>
</vmethod>
<vmethod name='getValue'>
<pointer name='int_value' type-name='int32_t'/>
<pointer name='ref_value' type-name='specific_ref'/>
</vmethod>
<vmethod name='setValue'>
<pointer name='var' type-name='meeting_variable'/>
</vmethod>
<vmethod name='removeUnit'>
<pointer name='ref_value' type-name='specific_ref'/>
</vmethod>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'> <pointer name='file' type-name='file_compressorst'/> <int32_t name='load_version'/> </vmethod>
</virtual-methods>
</class-type>
<class-type type-name='active_script_var_unitst' inherits-from='active_script_varst'>
<pointer name='unit' type-name='unit'/>
</class-type>
<class-type type-name='active_script_var_longst' inherits-from='active_script_varst'>
<int32_t name='value'/>
</class-type>
<struct-type type-name='meeting_variable'>
<int32_t name='value'/>
<compound name='ref' type-name='specific_ref'/>
<pointer name='active_var' type-name='active_script_varst'/>
</struct-type>
<struct-type type-name='meeting_context'>
<pointer name='meeting' type-name='meeting_diplomat_info'/>
<pointer name='popup' type-name='dipscript_popup'/>
<pointer name='unk_2'/>
<pointer name='unk_3'/>
</struct-type>
<struct-type type-name='meeting_diplomat_info'>
<int32_t name='civ_id' ref-target='historical_entity'/>
<int16_t name='unk1' comment='maybe is_first_contact'/>
<int32_t name='diplomat_id' ref-target='historical_figure'/>
<int32_t name='associate_id' ref-target='historical_figure'/>
<stl-vector name="topic_list">
<enum base-type='int32_t' type-name='meeting_topic'/>
</stl-vector>
<stl-vector type-name='int32_t' name='topic_parms'/>
<pointer type-name='entity_sell_requests' name='sell_requests'/>
<pointer type-name='entity_buy_requests' name='buy_requests'/>
<pointer name="dipscript" type-name="dipscript_info"/>
<int32_t name="cur_step"/>
<stl-vector name='active_script_vars' pointer-type='active_script_varst'/>
<stl-string name="unk_50"/>
<stl-string name="unk_6c"/>
<bitfield name='flags'>
<flag-bit name='dynamic_load' comment='destroy dipscript_info in destructor'/>
<flag-bit name='failure'/>
<flag-bit name='success'/>
</bitfield>
<stl-vector pointer-type='meeting_event' name='events'/>
<stl-vector name='agreement_entity' type-name='int32_t' ref-target='historical_entity'/>
<stl-vector name='agreement_topic' type-name='meeting_topic'/>
<stl-vector name='agreement_year' type-name='int32_t'/>
<stl-vector name='agreement_tick' type-name='int32_t'/>
<stl-vector name='agreement_outcome' type-name='int16_t'/>
<stl-vector name='contact_entity' type-name='int32_t' ref-target='historical_entity'/>
<stl-vector name='contact_year' type-name='int32_t'/>
<stl-vector name='contact_tick' type-name='int32_t'/>
</struct-type>
<enum-type type-name='meeting_topic' base-type='int16_t'>
<enum-item name="DiscussCurrent"/>
<enum-item name="RequestPeace"/>
<enum-item name="TreeQuota"/>
<enum-item name="BecomeLandHolder"/>
<enum-item name="PromoteLandHolder"/>
<enum-item name="ExportAgreement"/>
<enum-item name="ImportAgreement"/>
<enum-item name="PleasantPlace"/>
<enum-item name="WorldStatus"/>
<enum-item name="TributeAgreement"/>
</enum-type>
<enum-type type-name='meeting_event_type' base-type='int16_t'>
<enum-item name="AcceptAgreement"/>
<enum-item name="RejectAgreement"/>
<enum-item name="AcceptPeace"/>
<enum-item name="RejectPeace"/>
<enum-item name="ExportAgreement"/>
<enum-item name="ImportAgreement"/>
</enum-type>
<struct-type type-name='meeting_event'>
<enum base-type='int16_t' type-name='meeting_event_type' name='type'/>
<enum base-type='int16_t' type-name='meeting_topic' name='topic'/>
<int16_t name='topic_parm'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t name='quota_total'/>
<int32_t name='quota_remaining'/>
<int32_t name='year'/>
<int32_t name='ticks'/>
<pointer type-name='entity_sell_prices' name='sell_prices'/>
<pointer type-name='entity_buy_prices' name='buy_prices'/>
</struct-type>
<struct-type type-name='activity_info'>
<int32_t name='id' comment='assigned during Save'/>
<pointer name='unit_actor' type-name='unit' comment='diplomat or worker'/>
<pointer name='unit_noble' type-name='unit' comment='meeting recipient'/>
<pointer name='place' type-name='building'/>
<bitfield base-type='uint16_t' name='flags'>
<flag-bit name='next_step'/>
<flag-bit name='checked_building'/>
<flag-bit name='add_delay'/>
<flag-bit name='topic_discussed'/>
<flag-bit name='meeting_done'/>
</bitfield>
<int8_t name='unk3' comment='3'/>
<int16_t name='delay' comment='0'/>
<int32_t name='tree_quota' comment='-1'/>
</struct-type>
<struct-type type-name='party_info'>
<stl-vector name="units" pointer-type='unit'/>
<pointer name="location" type-name="building"/>
<int32_t name="timer" comment='-1 per 10'/>
<int32_t name='id' comment='assigned during Save'/>
</struct-type>
<struct-type type-name='room_rent_info'>
<stl-vector name='elements' pointer-type='building'/>
<int32_t name='rent_value'/>
<bitfield name='flags'>
<flag-bit name='eviction_underway'/>
<flag-bit name='move_underway'/>
</bitfield>
</struct-type>
<struct-type type-name='activity_entry' instance-vector='$global.world.activities.all' key-field='id'>
<int32_t name='id'/>
<int16_t name='type' comment='was is_individual; 2 is associated with Conflict events'/>
<stl-vector name='events' pointer-type='activity_event'/>
<int32_t name='next_event_id'/>
<int32_t name='army_controller' ref-target='army_controller' since='v0.40.01'/>
</struct-type>
<enum-type type-name='activity_event_type'>
<enum-item name='TrainingSession'/>
<enum-item name='CombatTraining'/>
<enum-item name='SkillDemonstration'/>
<enum-item name='IndividualSkillDrill'/>
<enum-item name='Sparring'/>
<enum-item name='RangedPractice'/>
<enum-item name='Harassment'/>
<enum-item name='Conversation'/>
<enum-item name='Conflict'/>
<enum-item name='Guard'/>
<enum-item name='Reunion'/>
<enum-item name='Prayer'/>
<enum-item name='Socialize'/>
<enum-item name='Worship'/>
<enum-item name='Performance'/>
<enum-item name='Research'/>
<enum-item name='PonderTopic'/>
<enum-item name='DiscussTopic'/>
<enum-item name='Read'/>
<enum-item name='FillServiceOrder'/>
<enum-item name='Write'/>
<enum-item name='CopyWrittenContent'/>
<enum-item name='TeachTopic'/>
<enum-item name='Play'/>
<enum-item name='MakeBelieve'/>
<enum-item name='PlayWithToy'/>
<enum-item name='Encounter'/>
<enum-item name='StoreObject'/>
</enum-type>
<struct-type type-name='activity_event_participants'>
<stl-vector name='histfigs'>
<int32_t ref-target='historical_figure'/>
</stl-vector>
<stl-vector name='units'>
<int32_t ref-target='unit'/>
</stl-vector>
-- Seemingly units that are free to be grouped
-- away into subevents or sparring pairs.
<stl-vector name='free_histfigs'>
<int32_t ref-target='historical_figure'/>
</stl-vector>
<stl-vector name='free_units'>
<int32_t ref-target='unit'/>
</stl-vector>
-- Holder event
<int32_t name='activity_id' ref-target='activity_entry'/>
<int32_t name='event_id'/>
</struct-type>
<class-type type-name='activity_event' original-name='activity_eventst'>
<int32_t name='event_id'
comment='mostly, but not always, the index in activity.events'/>
<int32_t name='activity_id' ref-target='activity_entry'/>
<code-helper name='find-instance'>
(let ((activity (find-instance $activity_entry $$)))
(find-by-id $activity.events $event_id $))
</code-helper>
<int32_t name='parent_event_id' ref-target='activity_event' aux-value='$$.activity_id'/>
<bitfield name='flags'>
<flag-bit name='dismissed' comment='to be removed from squad_position, anyway'/>
<flag-bit name='squad' comment='for all in training session, but not ind.drill'/>
</bitfield>
<stl-vector name='unk_v42_1'>
<pointer>
<int32_t/>
<int32_t name='item_id' ref-target='item' init-value='-1' comment='is artifact id for some activities ie. copy written'/>
<int32_t init-value='0'/>
</pointer>
</stl-vector>
<stl-vector name='unk_v42_2'>
<pointer>
<int32_t/>
<int32_t init-value='-1'/>
<int32_t name='item_id' ref-target='item' init-value='-1'
comment='is unit ID for writing jobs'/>
<int32_t init-value='0'/>
</pointer>
</stl-vector>
<virtual-methods>
<vmethod ret-type='activity_event_type' name='getType'/>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<int32_t name='loadversion'/>
</vmethod>
<vmethod is-destructor='true'/>
<vmethod ret-type='bool' name='isEmpty'
comment='returns true if hist_figure_ids empty or if various subclass fields are uninitialized'/>
<vmethod ret-type='int32_t' comment='returns -1'/>
<vmethod comment='does nothing'> <pointer/> </vmethod>
<vmethod name='getParticipantInfo'>
<ret-type> <pointer type-name='activity_event_participants'/> </ret-type>
</vmethod>
<vmethod name='dismiss'> <bool name='children_too'/> </vmethod>
<vmethod name='move'>
<int16_t name='dx'/>
<int16_t name='dy'/>
<int16_t name='dz'/>
</vmethod>
<vmethod name='removeParticipant'> <int32_t name='histfig'/> <int32_t name='unit'/> <bool/> </vmethod>
<vmethod name='process'> <int32_t/> <pointer type-name='unit'/> </vmethod>
<vmethod ret-type='int32_t' name='checkDrillInvalid'><int32_t/></vmethod>
<vmethod ret-type='bool' name='decUniformLock'><int32_t/></vmethod>
<vmethod name='getSquadEventType'>
<ret-type> <enum base-type='int16_t' type-name='squad_event_type'/> </ret-type>
</vmethod>
<vmethod name='setDemoSkill'>
<enum base-type='int16_t' name='skill' type-name='job_skill'/>
</vmethod>
<vmethod name='setSkillDemoTimers'>
<int32_t name='wait_countdown'/>
<int32_t name='train_rounds'/>
<int32_t name='train_countdown'/>
</vmethod>
<vmethod name='adjustOrganizeCounter'>
<int32_t name='amount'/>
</vmethod>
<vmethod name='getOrganizer' comment='or perhaps somebody else - only works for combat_training and skill_demonstration'>
<pointer type-name='int32_t' name='hist_figure_id'/>
<pointer type-name='int32_t' name='unit_id'/>
</vmethod>
<vmethod name='getBuilding' comment='returns pointer to building_id'>
<ret-type><pointer type-name='int32_t'/></ret-type>
</vmethod>
<vmethod ret-type='bool' name='isSparring'/>
<vmethod ret-type='int16_t' name='getUniformType'/>
<vmethod name='getName'>
<int32_t name='unit_id'/>
<pointer type-name='stl-string' name='str'/>
</vmethod>
</virtual-methods>
</class-type>
<class-type type-name='activity_event_training_sessionst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
</class-type>
<class-type type-name='activity_event_combat_trainingst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='building_id' ref-target='building'/>
<int32_t name='hist_figure_id' ref-target='historical_figure'/>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='organize_counter' comment='gt 0 => organizing, lt 0 => done'/>
</class-type>
<class-type type-name='activity_event_skill_demonstrationst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='building_id' ref-target='building'/>
<int32_t name='hist_figure_id' ref-target='historical_figure'/>
<int32_t name='unit_id' ref-target='unit'/>
<enum base-type='int16_t' name='skill' type-name='job_skill'/>
<int32_t name='organize_counter'/>
<int32_t name='wait_countdown' init-value='100'/>
<int32_t name='train_rounds' init-value='15'/>
<int32_t name='train_countdown' init-value='20'/>
</class-type>
<class-type type-name='activity_event_individual_skill_drillst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='building_id' ref-target='building'/>
<int32_t name='countdown' init-value='3000'/>
</class-type>
<class-type type-name='activity_event_sparringst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='building_id' ref-target='building'/>
<stl-vector name='groups'>
<pointer>
<stl-vector name='units' type-name='int32_t' ref-target='unit'/>
<int32_t name='countdown' init-value='3000'/>
<int32_t name='building_id' ref-target='building'/>
</pointer>
</stl-vector>
<int32_t name='countdown' init-value='3000'/>
</class-type>
<class-type type-name='activity_event_ranged_practicest' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='building_id' ref-target='building'/>
<int32_t name='uniform_lock'/>
</class-type>
<class-type type-name='activity_event_harassmentst' inherits-from='activity_event'>
<stl-vector type-name='int32_t'/>
<stl-vector>
<pointer>
<int32_t/>
<static-array type-name='int32_t' count='3'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
</pointer>
</stl-vector>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<enum-type type-name='conversation_menu'>
<enum-item name='None' value='-1'/>
<enum-item name='RespondGreeting'/>
<enum-item name='MainMenu'/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item name='RespondGoodbye'/>
<enum-item/>
<enum-item name='DenyPermissionSleep'/>
<enum-item name='AskJoin'/>
<enum-item name='RespondJoin'/>
<enum-item name='DiscussRescue'/>
<enum-item name='DiscussAgreement'/>
<enum-item name='DiscussTrade'/>
<enum-item name='DiscussSurroundingArea'/>
<enum-item name='RespondAccusation'/>
<enum-item name='DiscussFamily'/>
<enum-item name='RespondArmistice'/>
<enum-item name='RespondDemandYield'/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item name='AskDirections'/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item name='Demand'/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item name='Barter'/>
<enum-item name='DiscussHearthpersonDuties'/>
<enum-item/>
<enum-item name='DiscussJourney'/>
<enum-item name='DiscussGroup'/>
<enum-item name='DiscussConflict'/>
<enum-item name='DiscussSite'/>
<enum-item name='RespondDemand'/>
<enum-item/>
<enum-item name='RespondTributeDemand'/>
<enum-item name='RespondTributeOffer'/>
<enum-item name='DiscussTradeCancellation'/>
<enum-item name='RespondPeaceOffer'/>
<enum-item name='DiscussAgreementConclusion'/>
<enum-item name='RespondAdoptionRequest'/>
<enum-item/>
<enum-item/>
<enum-item name='RespondPositionOffer'/>
<enum-item name='RespondInvocation'/>
<enum-item/>
<enum-item name='AskAboutPerson'/>
<enum-item/>
<enum-item name='DiscussFeelings'/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item name='StateGeneralThoughts'/>
<enum-item name='DiscussValues'/>
<enum-item name='RespondValues'/>
<enum-item name='RespondPassiveReply'/>
<enum-item name='RespondFlattery'/>
<enum-item name='RespondDismissal'/>
</enum-type>
<class-type type-name='activity_event_conversationst' inherits-from='activity_event'>
<stl-vector name='participants'>
<pointer>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='histfig_id' ref-target='historical_figure'/>
</pointer>
</stl-vector>
<enum name='menu' type-name='conversation_menu'/>
<compound name='unk1' type-name='entity_event'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t name='unk_v42_3' since='v0.42.01'/>
<stl-vector type-name='int32_t' name='unk_v42_4' since='v0.42.01'/>
<stl-vector type-name='int32_t'/>
<stl-vector>
<pointer>
<int32_t/>
<int16_t/>
<int16_t/>
<int16_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</pointer>
</stl-vector>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<compound name='unk_b4'>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
</compound>
<stl-vector name='turns'>
<pointer>
<int32_t name='speaker' ref-target='unit'/>
<int32_t name='speaker_hfid' ref-target='historical_figure'/>
<enum name='type' type-name='talk_choice_type'/>
<compound name='event' type-name='entity_event'/>
<int32_t/>
<int16_t name='foreground'/>
<int16_t name='background'/>
<int16_t name='bright'/>
<int32_t name='year'/>
<int32_t name='ticks'/>
copies of anon_2 through anon_5 in this turn's talk_choice:
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t name='unk_v4014_1' since='v0.40.14' comment='uninit'/>
</pointer>
</stl-vector>
<int32_t name='floor_holder' ref-target='unit' comment="-1 = no one's turn"/>
<int32_t name='floor_holder_hfid' ref-target='historical_figure' comment="-1 = no one's turn"/>
<int32_t name='pause' comment='ticks since the last turn'/>
<bitfield name='flags2'>
<flag-bit/>
<flag-bit name='shouting'/>
</bitfield>
<compound name='unk2'>
<stl-vector pointer-type='incident'/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</compound>
<stl-vector name='choices' pointer-type='talk_choice'/>
<enum type-name='conversation_menu' init-value='None' comment='copy of menu'/>
<compound type-name='entity_event' comment='copy of unk1'/>
<int32_t comment='copy of anon_1'/>
</class-type>
<class-type type-name='activity_event_conflictst' inherits-from='activity_event'>
<stl-vector name='sides'>
<pointer>
<int32_t name='id'/>
<stl-vector name='histfig_ids' type-name='int32_t' ref-target='historical_figure'/>
<stl-vector name='unit_ids' type-name='int32_t' ref-target='unit'/>
<stl-vector name='enemies' comment='relationships to other sides in this conflict'>
<pointer>
<int32_t name='id'/>
<enum name='conflict_level' type-name='conflict_level'/>
</pointer>
</stl-vector>
<int32_t/>
<int32_t/>
</pointer>
</stl-vector>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t name='unk_v42_3' since='v0.42.01'/>
</class-type>
<class-type type-name='activity_event_guardst' inherits-from='activity_event'>
<stl-vector type-name='int32_t'/>
<compound type-name='coord'/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_reunionst' inherits-from='activity_event'>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_prayerst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='histfig_id' ref-target='historical_figure' comment='deity'/>
<enum base-type='int16_t' type-name='sphere_type' name='topic' comment='-1 when praying'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_socializest' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_worshipst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<enum-type type-name='performance_event_type'>
<enum-item name='STORY'/>
<enum-item name='POETRY'/>
<enum-item name='MUSIC'/>
<enum-item name='DANCE'/>
</enum-type>
<enum-type type-name='performance_participant_type'>
<enum-item name='TELL_STORY'/>
<enum-item name='RECITE_POETRY'/>
<enum-item name='MAKE_MUSIC'/>
<enum-item name='PERFORM_DANCE'/>
<enum-item name='LISTEN'/>
<enum-item name='HEAR'/>
</enum-type>
<class-type type-name='activity_event_performancest' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<enum name='type' base-type='int32_t' type-name='performance_event_type'/>
<int32_t name='event' ref-target='history_event' comment='used for story'/>
<int32_t name='written_content_id' ref-target='written_content'/>
<int32_t name='poetic_form' ref-target='poetic_form'/>
<int32_t name='music_form' ref-target='musical_form'/>
<int32_t name='dance_form' ref-target='dance_form'/>
<int32_t name='unk_1'/>
<int32_t name='unk_2'/>
<int32_t name='unk_3'/>
<int32_t name='unk_4'/>
<int32_t name='unk_5'/>
<int32_t name='unk_6'/>
<stl-vector name='participant_actions'>
<pointer>
<enum name='type' base-type='int32_t' type-name='performance_participant_type'/>
<int32_t name='sub_type' comment='depends on type. if music: voice index in musical form'/>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='histfig_id' ref-target='historical_figure'/>
<int32_t name='unk_act_1'/>
<int32_t name='unk_act_2'/>
<compound name='unk_act_3' type-name='coord'/>
<int32_t name='unk_act_6'/>
<int32_t name='unk_act_7'/>
<int32_t name='unk_act_8'/>
<int32_t name='unk_act_9'/>
</pointer>
</stl-vector>
<compound name='pos_performer_2d' type-name='coord2d'/>
<compound name='pos_performer' type-name='coord'/>
<int16_t name='unk_pos_1_x0'/>
<int16_t name='unk_pos_1_y0'/>
<int16_t name='unk_pos_1_x1'/>
<int16_t name='unk_pos_1_y1'/>
<int16_t name='unk_pos_1_z'/>
<int16_t name='unk_pos_2_x0'/>
<int16_t name='unk_pos_2_y0'/>
<int16_t name='unk_pos_2_x1'/>
<int16_t name='unk_pos_2_y1'/>
<int16_t name='unk_pos_2_z'/>
<stl-vector name='play_orders' pointer-type='performance_play_orderst'/>
<int32_t name='unk_11'/>
<static-array name='unk_12' type-name='int8_t' count='49'/>
<compound name='unk_13' type-name='coord'/>
<int32_t name='unk_16'/>
<int32_t name='unk_17'/>
<int32_t name='unk_18'/>
</class-type>
<class-type type-name='performance_play_orderst'>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector>
<pointer>
<static-array type-name='int16_t' count='28'/>
<static-array type-name='int16_t' count='28'/>
</pointer>
</stl-vector>
<int32_t/>
<virtual-methods>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<int32_t name='loadversion'/>
</vmethod>
</virtual-methods>
</class-type>
<class-type type-name='activity_event_researchst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='site_id' ref-target='world_site'/>
<int32_t name='location_id' ref-target='abstract_building' aux-value='$$.site_id'/>
<int32_t name='building_id'/>
</class-type>
<class-type type-name='activity_event_ponder_topicst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='site_id' ref-target='world_site'/>
<int32_t name='location_id' ref-target='abstract_building' aux-value='$$.site_id'/>
<int32_t name='building_id'/>
<int32_t/>
<compound name='knowledge' type-name='knowledge_scholar_category_flag'/>
<int32_t name='timer'/>
</class-type>
<class-type type-name='activity_event_discuss_topicst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='site_id' ref-target='world_site'/>
<int32_t name='location_id' ref-target='abstract_building' aux-value='$$.site_id'/>
<int32_t name='building_id'/>
<int32_t/>
<compound name='knowledge' type-name='knowledge_scholar_category_flag'/>
<int32_t name='timer'/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_readst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='building_id'/>
<int32_t name='site_id' ref-target='world_site'/>
<int32_t name='location_id' ref-target='abstract_building' aux-value='$$.site_id'/>
<int32_t name='state' comment='0 if not in progress, 1 if reading'/>
<int32_t name='timer'/>
</class-type>
<class-type type-name='activity_event_fill_service_orderst' inherits-from='activity_event'>
<int32_t name='histfig_id' ref-target='historical_figure'/>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_writest' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t name='building_id'/>
<int32_t name='site_id'/>
<int32_t name='location_id'/>
<int32_t/>
<int32_t name='timer'/>
<int32_t/>
<int32_t/>
<int32_t/>
<compound name='knowledge' type-name='knowledge_scholar_category_flag'/>
</class-type>
<class-type type-name='activity_event_copy_written_contentst' inherits-from='activity_event'>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='histfig_id' ref-target='historical_figure'/>
<int32_t name='occupation_id'/>
<int32_t name='building_id'/>
<int32_t name='site_id'/>
<int32_t name='location_id'/>
<bitfield name='flagsmaybe'>
<flag-bit name='unk0'/>
<flag-bit/>
<flag-bit/>
<flag-bit/>
<flag-bit/>
<flag-bit/>
<flag-bit/>
<flag-bit/>
<flag-bit/>
<flag-bit/>
</bitfield>
<int32_t/>
<int32_t name='timer'/>
</class-type>
<class-type type-name='activity_event_teach_topicst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_playst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t/>
<static-array type-name='int8_t' count='49'/>
<compound type-name='coord'/>
</class-type>
<class-type type-name='activity_event_make_believest' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t/>
<int32_t/>
<int32_t/>
<static-array type-name='int8_t' count='49'/>
<compound type-name='coord'/>
</class-type>
<class-type type-name='activity_event_play_with_toyst' inherits-from='activity_event'>
<compound name='participants' type-name='activity_event_participants'/>
<int32_t/>
<int32_t/>
<int32_t/>
<compound name='unk'>
<static-array type-name='int8_t' count='49'/>
<compound type-name='coord'/>
</compound>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_encounterst' inherits-from='activity_event'>
<stl-vector>
<pointer>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</pointer>
</stl-vector>
<stl-vector>
<pointer>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</pointer>
</stl-vector>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>
<class-type type-name='activity_event_store_objectst' inherits-from='activity_event'>
<int32_t/>
<compound type-name='coord'/>
<int32_t/>
<int32_t/>
<int32_t/>
</class-type>