-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathdf.civagreement.xml
78 lines (71 loc) · 3.41 KB
/
df.civagreement.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
<data-definition>
<struct-type type-name='entity_recipe' original-name='civ_recipest'>
<int16_t name='subtype' ref-target='itemdef_foodst'/>
<stl-vector name='item_types'>
<enum base-type='int16_t' type-name='item_type'/>
</stl-vector>
<stl-vector name='item_subtypes'>
<int16_t name='item_subtype' refers-to='(item-subtype-target $$._parent._parent.item_types[$$._key] $)'/>
</stl-vector>
<stl-vector name='mat_types'>
<int16_t ref-target='material' aux-value='$$._parent.mat_indices[$._key]'/>
</stl-vector>
<stl-vector name='mat_indices' type-name='int16_t'/> yes, actually int16 even though matgloss should be int32
</struct-type>
<enum-type type-name='meeting_event_type'> bay12: AgreementTypes, no base type
<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='entity_sell_requests' original-name='civgoods_demandst'>
<static-array count='107' index-enum='entity_sell_category' name='priority'>
<stl-vector type-name='int8_t'/>
</static-array>
</struct-type>
<struct-type type-name='entity_buy_requests' original-name='civgoods_requestst'>
<stl-vector name='item_type' comment='guess'>
<enum base-type='int16_t' type-name='item_type'/>
</stl-vector>
<stl-vector name="item_subtype" comment='guess'>
<int16_t refers-to='(item-subtype-target $$._global.item_type[$$._key] $)'/>
</stl-vector>
<stl-vector name='mat_types'>
<int16_t ref-target='material' aux-value='$$._parent.mat_indices[$._key]'/>
</stl-vector>
<stl-vector name='mat_indices' type-name='int16_t'/>
<stl-vector name="mat_cats" type-name='job_material_category'/>
<stl-vector type-name='int8_t' name='priority'/>
</struct-type>
<struct-type type-name='entity_buy_prices' original-name='civ_requestagreementst'>
<pointer type-name='entity_buy_requests' name='items'/>
<stl-vector type-name='int32_t' name='price'/>
</struct-type>
<struct-type type-name='entity_sell_prices' original-name='civ_tradeagreementst'>
<pointer type-name='entity_sell_requests' name='items'/>
<static-array count='107' index-enum='entity_sell_category' name='price'>
<stl-vector type-name='int32_t'/>
</static-array>
</struct-type>
<struct-type type-name='meeting_event' original-name='civ_agreementst'>
<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 name='topic_epid' type-name='int32_t' comment='entity position?'/>
<stl-vector name='topic_hfid' type-name='int32_t' ref-target='historical_figure'/>
<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>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->