meeting

meeting.dipscript_info

<struct-type type-name="dipscript_info">
  <int32_t name="id">
    assigned during Save
  </int32_t>
  <stl-string name="script_file">
    data/dipscript/dwarf_liaison
  </stl-string>
  <stl-vector name="script_steps" pointer-type="script_stepst"/>
  <stl-vector name="script_vars" pointer-type="script_varst"/>
  <stl-string name="code">
    DWARF_LIAISON etc
  </stl-string>
</struct-type>

meeting.dipscript_popup

<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>

meeting.script_stepst

<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>

meeting.script_step_setvarst

<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>

meeting.script_step_simpleactionst

<class-type type-name="script_step_simpleactionst"
    inherits-from="script_stepst">
  <stl-string name="type"/>
  <stl-string name="subtype"/>
</class-type>

meeting.script_step_conditionalst

<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>

meeting.script_step_textviewerst

<class-type type-name="script_step_textviewerst"
    inherits-from="script_stepst">
  <stl-string name="filename"/>
  <stl-string name="outvar_name"/>
</class-type>

meeting.script_step_diphistoryst

<class-type type-name="script_step_diphistoryst"
    inherits-from="script_stepst">
  <stl-string name="event"/>
</class-type>

meeting.script_step_discussst

<class-type type-name="script_step_discussst"
    inherits-from="script_stepst">
  <stl-string name="event"/>
</class-type>

meeting.script_step_topicdiscussionst

<class-type type-name="script_step_topicdiscussionst"
    inherits-from="script_stepst"/>

meeting.script_step_constructtopiclistst

<class-type type-name="script_step_constructtopiclistst"
    inherits-from="script_stepst"/>

meeting.script_step_dipeventst

<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>

meeting.script_step_invasionst

<class-type type-name="script_step_invasionst"
    inherits-from="script_step_eventst">
  <stl-string name="parm"/>
</class-type>

meeting.script_step_eventst

<class-type type-name="script_step_eventst"
    inherits-from="script_stepst"/>

meeting.script_varst

<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>

meeting.script_var_unitst

<class-type type-name="script_var_unitst"
    inherits-from="script_varst"/>

meeting.script_var_longst

<class-type type-name="script_var_longst"
    inherits-from="script_varst"/>

meeting.active_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>

meeting.active_script_var_unitst

<class-type type-name="active_script_var_unitst"
    inherits-from="active_script_varst">
  <pointer name="unit" type-name="unit"/>
</class-type>

meeting.active_script_var_longst

<class-type type-name="active_script_var_longst"
    inherits-from="active_script_varst">
  <int32_t name="value"/>
</class-type>

meeting.meeting_variable

<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>

meeting.meeting_context

<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>

meeting.meeting_diplomat_info

<struct-type type-name="meeting_diplomat_info">
  <int32_t name="civ_id" ref-target="historical_entity"/>
  <int16_t name="unk1">
    maybe is_first_contact
  </int16_t>
  <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">
      destroy dipscript_info in destructor
    </flag-bit>
    <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>

meeting.meeting_topic

<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-type>

meeting.meeting_event_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>

meeting.meeting_event

<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>

meeting.activity_info

<struct-type type-name="activity_info">
  <int32_t name="id">
    assigned during Save
  </int32_t>
  <pointer name="unit_actor" type-name="unit">
    diplomat or worker
  </pointer>
  <pointer name="unit_noble" type-name="unit">
    meeting recipient
  </pointer>
  <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">
    3
  </int8_t>
  <int16_t name="delay">
    0
  </int16_t>
  <int32_t name="tree_quota">
    -1
  </int32_t>
</struct-type>

meeting.party_info

<struct-type type-name="party_info">
  <stl-vector name="units" pointer-type="unit"/>
  <pointer name="location" type-name="building"/>
  <int32_t name="timer">
    -1 per 10
  </int32_t>
  <int32_t name="id">
    assigned during Save
  </int32_t>
</struct-type>

meeting.room_rent_info

<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>

meeting.activity_entry

<struct-type type-name="activity_entry"
    instance-vector="$global.world.activities.all" key-field="id">
  <int32_t name="id"/>
  <int16_t name="type">
    was is_individual; 2 is associated with Conflict events
  </int16_t>
  <stl-vector name="events" pointer-type="activity_event"/>
  <int32_t name="next_event_id"/>
  <int32_t name="army_controller" ref-target="army_controller">
    v0.40.1
  </int32_t>
</struct-type>

meeting.activity_event_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-type>

meeting.activity_event_participants

<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>
  <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>
  <int32_t name="activity_id" ref-target="activity_entry"/>
  <int32_t name="event_id"/>
</struct-type>

meeting.activity_event

<class-type type-name="activity_event"
    original-name="activity_eventst">
  <int32_t name="event_id">
    mostly, but not always, the index in activity.events
  </int32_t>
  <int32_t name="activity_id" ref-target="activity_entry"/>
  <int32_t name="parent_event_id" ref-target="activity_event"
      aux-value="$$.activity_id"/>
  <bitfield name="flags">
    <flag-bit name="dismissed">
      to be removed from squad_position, anyway
    </flag-bit>
    <flag-bit name="squad">
      for all in training session, but not ind.drill
    </flag-bit>
  </bitfield>
  <stl-vector name="unk_v42_1">
    <pointer>
      <int32_t/>
      <int32_t name="item_id" ref-target="item" init-value="-1">
        is artifact id for some activities ie. copy written
      </int32_t>
      <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"/>
      <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">
      returns true if hist_figure_ids empty or if various subclass
      fields are uninitialized
    </vmethod>
    <vmethod>
      returns -1
    </vmethod>
    <vmethod>
      <pointer/>
      does nothing
    </vmethod>
    <vmethod name="getParticipantInfo">
      <ret-type>
        <pointer type-name="activity_event_participants"/>
      </ret-type>
    </vmethod>
    <vmethod name="dismiss">
      <bool name="children_too"/>
    </vmethod>
    <vmethod>
      <int32_t/>
      <int32_t/>
      <int32_t/>
    </vmethod>
    <vmethod name="removeParticipant">
      <int32_t name="histfig"/>
      <int32_t name="unit"/>
      <bool/>
    </vmethod>
    <vmethod name="process">
      <int32_t/>
      <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">
      <pointer type-name="int32_t" name="hist_figure_id"/>
      <pointer type-name="int32_t" name="unit_id"/>
      or perhaps somebody else - only works for combat_training and
      skill_demonstration
    </vmethod>
    <vmethod name="getBuilding">
      <ret-type>
        <pointer type-name="int32_t"/>
      </ret-type>
      returns pointer to building_id
    </vmethod>
    <vmethod ret-type="bool" name="isSparring"/>
    <vmethod ret-type="int16_t" name="getUniformType"/>
    <vmethod name="getName">
      <int32_t/>
      <pointer type-name="stl-string" name="str"/>
    </vmethod>
  </virtual-methods>
</class-type>

meeting.activity_event_training_sessionst

<class-type type-name="activity_event_training_sessionst"
    inherits-from="activity_event">
  <compound name="participants"
      type-name="activity_event_participants"/>
</class-type>

meeting.activity_event_combat_trainingst

<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">
    gt 0 => organizing, lt 0 => done
  </int32_t>
</class-type>

meeting.activity_event_skill_demonstrationst

<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>

meeting.activity_event_individual_skill_drillst

<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>

meeting.activity_event_sparringst

<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>

meeting.activity_event_ranged_practicest

<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>

meeting.activity_event_harassmentst

<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>

meeting.activity_event_conversationst

<class-type type-name="activity_event_conversationst"
    inherits-from="activity_event">
  <stl-vector>
    <pointer>
      <int32_t/>
      <int32_t/>
    </pointer>
  </stl-vector>
  <int32_t/>
  <compound name="unk1" type-name="entity_event"/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t name="unk_v42_3">
    v0.42.01
  </int32_t>
  <stl-vector name="unk_v42_4">
    v0.42.01
  </stl-vector>
  <stl-vector type-name="int32_t"/>
  <stl-vector type-name="int32_t"/>
  <stl-vector>
    <pointer>
      <int32_t/>
      <int32_t/>
      <int32_t/>
      <compound type-name="entity_event"/>
      <int32_t/>
      <int16_t/>
      <int16_t/>
      <int16_t/>
      <int32_t/>
      <int32_t/>
      <int32_t/>
      <int32_t/>
      <int32_t/>
      <int32_t name="unk_v4014_1">
        v0.40.14, uninit
      </int32_t>
    </pointer>
  </stl-vector>
  <int32_t name="unk_80_unit" ref-target="unit"/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <compound name="unk2">
    <stl-vector/>
    <int32_t/>
    <int32_t/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <stl-vector/>
    <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"/>
  <int32_t init-value="-1"/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
</class-type>

meeting.activity_event_conflictst

<class-type type-name="activity_event_conflictst"
    inherits-from="activity_event">
  <stl-vector>
    <pointer>
      <int32_t name="id"/>
      <stl-vector type-name="int32_t"/>
      <stl-vector type-name="int32_t"/>
      <stl-vector>
        <pointer>
          <int32_t/>
          <int32_t/>
        </pointer>
      </stl-vector>
      <int32_t/>
      <int32_t/>
    </pointer>
  </stl-vector>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t name="unk_v42_3">
    v0.42.01
  </int32_t>
</class-type>

meeting.activity_event_guardst

<class-type type-name="activity_event_guardst"
    inherits-from="activity_event">
  <stl-vector type-name="int32_t"/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int32_t/>
</class-type>

meeting.activity_event_reunionst

<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>

meeting.activity_event_prayerst

<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">
    deity
  </int32_t>
  <enum base-type="int16_t" type-name="sphere_type" name="topic">
    -1 when praying
  </enum>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
</class-type>

meeting.activity_event_socializest

<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/>
</class-type>

meeting.activity_event_worshipst

<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>

meeting.performance_event_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>

meeting.performance_participant_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>

meeting.activity_event_performancest

<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">
    used for story
  </int32_t>
  <int32_t name="poem" 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/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <stl-vector name="participant_actions">
    <pointer>
      <enum name="type" base-type="int32_t"
          type-name="performance_participant_type"/>
      <int32_t name="sub_type">
        depends on type. if music: 0 = sing, gt 0 => instrument index
        in musical form
      </int32_t>
      <int32_t name="unit_id" ref-target="unit"/>
      <int32_t name="histfig_id" ref-target="historical_figure"/>
      <int32_t/>
      <int32_t/>
      <int16_t/>
      <int16_t/>
      <int16_t/>
      <int32_t/>
      <int32_t/>
      <int32_t/>
      <int32_t/>
    </pointer>
  </stl-vector>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <stl-vector name="play_orders"
      pointer-type="performance_play_orderst"/>
  <int32_t/>
  <static-array type-name="int8_t" count="49"/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
</class-type>

meeting.performance_play_orderst

<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>

meeting.activity_event_researchst

<class-type type-name="activity_event_researchst"
    inherits-from="activity_event">
  <compound name="participants"
      type-name="activity_event_participants"/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
</class-type>

meeting.activity_event_ponder_topicst

<class-type type-name="activity_event_ponder_topicst"
    inherits-from="activity_event">
  <compound name="participants"
      type-name="activity_event_participants"/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t name="knowledge_category"/>
  <int32_t name="knowledge_flag"/>
  <int32_t/>
</class-type>

meeting.activity_event_discuss_topicst

<class-type type-name="activity_event_discuss_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/>
</class-type>

meeting.activity_event_readst

<class-type type-name="activity_event_readst"
    inherits-from="activity_event">
  <compound name="participants"
      type-name="activity_event_participants"/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
</class-type>

meeting.activity_event_fill_service_orderst

<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>

meeting.activity_event_writest

<class-type type-name="activity_event_writest"
    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/>
  <int32_t/>
</class-type>

meeting.activity_event_copy_written_contentst

<class-type type-name="activity_event_copy_written_contentst"
    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/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
  <int32_t/>
</class-type>

meeting.activity_event_teach_topicst

<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>

meeting.activity_event_playst

<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"/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
</class-type>

meeting.activity_event_make_believest

<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"/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
</class-type>

meeting.activity_event_play_with_toyst

<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/>
  <static-array type-name="int8_t" count="49"/>
  <int16_t/>
  <int16_t/>
  <int16_t/>
</class-type>

meeting.schedule_info

<struct-type type-name="schedule_info" key-field="id"
    instance-vector="$global.world.schedules.all">
  <int32_t name="id"/>
  <int16_t/>
  <stl-vector name="slots" pointer-type="schedule_slot"/>
</struct-type>

meeting.schedule_slot

<struct-type type-name="schedule_slot">
  <int16_t name="type">
    0:Eat, 1:Sleep, 2-4:???
  </int16_t>
  <int16_t name="start_time"/>
  <int16_t name="end_time"/>
  <int16_t/>
  <int8_t name="processed"/>
</struct-type>