| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using SOTF_Struct.Generic;
- using SOTF_Struct.Data;
- namespace SOTF_Struct.Data {
- public class Construction {
- public string Version { get; set; }
- public List<List<Construction_Structure?>?> Structures { get; set; }
- }
- // TypeID Name
- // ----------------------
- // 0 -
- // 1 -
- // 2 -
- // 3 -
- // 4 -
- // 5 -
- // 6 -
- // 7 -
- // 8 -
- // 9 -
- // 10 Zelt
- // 11 Bett?
- // 12 Zelt
- // 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 -
- public class Construction_Structure {
- public int TypeID { get; set; }
- public Position Position { get; set; }
- public Rotation Rotation { get; set; }
- public List<LinkedStructure?> LinkedStructures { get; set; }
- public List<Element?> Elements { get; set; }
- public List<Storeage?> Storeages { get; set; }
- public string GetDisplayName() {
- if (this.TypeID == 10) return "Player Tent";
- return "CSTRUCTURE_" + TypeID.ToString();
- }
- }
- }
|