Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commented out the attributes that are not implemented in Burrito #361

Open
wants to merge 2 commits into
base: xml_converter
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
182 changes: 0 additions & 182 deletions guildpoint.gd
Original file line number Diff line number Diff line change
Expand Up @@ -929,21 +929,6 @@ class Icon:
service.field = _map_id
data[_map_id.tag] = service

_distance_fade_end = PBField.new("distance_fade_end", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 5, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _distance_fade_end
data[_distance_fade_end.tag] = service

_distance_fade_start = PBField.new("distance_fade_start", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 6, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _distance_fade_start
data[_distance_fade_start.tag] = service

_height_offset = PBField.new("height_offset", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 7, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _height_offset
data[_height_offset.tag] = service

_position = PBField.new("position", PB_DATA_TYPE.MESSAGE, PB_RULE.OPTIONAL, 8, true, DEFAULT_VALUES_3[PB_DATA_TYPE.MESSAGE])
service = PBServiceField.new()
service.field = _position
Expand Down Expand Up @@ -977,21 +962,6 @@ class Icon:
service.field = _disable_player_cutout
data[_disable_player_cutout.tag] = service

_minimum_size_on_screen = PBField.new("minimum_size_on_screen", PB_DATA_TYPE.INT32, PB_RULE.OPTIONAL, 20, true, DEFAULT_VALUES_3[PB_DATA_TYPE.INT32])
service = PBServiceField.new()
service.field = _minimum_size_on_screen
data[_minimum_size_on_screen.tag] = service

_map_display_size = PBField.new("map_display_size", PB_DATA_TYPE.INT32, PB_RULE.OPTIONAL, 21, true, DEFAULT_VALUES_3[PB_DATA_TYPE.INT32])
service = PBServiceField.new()
service.field = _map_display_size
data[_map_display_size.tag] = service

_maximum_size_on_screen = PBField.new("maximum_size_on_screen", PB_DATA_TYPE.INT32, PB_RULE.OPTIONAL, 22, true, DEFAULT_VALUES_3[PB_DATA_TYPE.INT32])
service = PBServiceField.new()
service.field = _maximum_size_on_screen
data[_maximum_size_on_screen.tag] = service

_constant_size_on_map = PBField.new("constant_size_on_map", PB_DATA_TYPE.BOOL, PB_RULE.OPTIONAL, 23, true, DEFAULT_VALUES_3[PB_DATA_TYPE.BOOL])
service = PBServiceField.new()
service.field = _constant_size_on_map
Expand Down Expand Up @@ -1068,11 +1038,6 @@ class Icon:
service.field = _is_hidden_on_minimap
data[_is_hidden_on_minimap.tag] = service

_tentative__scale = PBField.new("tentative__scale", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 2048, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _tentative__scale
data[_tentative__scale.tag] = service

_bhdraft__schedule = PBField.new("bhdraft__schedule", PB_DATA_TYPE.STRING, PB_RULE.OPTIONAL, 2052, true, DEFAULT_VALUES_3[PB_DATA_TYPE.STRING])
service = PBServiceField.new()
service.field = _bhdraft__schedule
Expand Down Expand Up @@ -1112,33 +1077,6 @@ class Icon:
func set_map_id(value : int) -> void:
_map_id.value = value

var _distance_fade_end: PBField
func get_distance_fade_end() -> float:
return _distance_fade_end.value
func clear_distance_fade_end() -> void:
data[5].state = PB_SERVICE_STATE.UNFILLED
_distance_fade_end.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_distance_fade_end(value : float) -> void:
_distance_fade_end.value = value

var _distance_fade_start: PBField
func get_distance_fade_start() -> float:
return _distance_fade_start.value
func clear_distance_fade_start() -> void:
data[6].state = PB_SERVICE_STATE.UNFILLED
_distance_fade_start.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_distance_fade_start(value : float) -> void:
_distance_fade_start.value = value

var _height_offset: PBField
func get_height_offset() -> float:
return _height_offset.value
func clear_height_offset() -> void:
data[7].state = PB_SERVICE_STATE.UNFILLED
_height_offset.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_height_offset(value : float) -> void:
_height_offset.value = value

var _position: PBField
func get_position() -> Position:
return _position.value
Expand Down Expand Up @@ -1196,33 +1134,6 @@ class Icon:
func set_disable_player_cutout(value : bool) -> void:
_disable_player_cutout.value = value

var _minimum_size_on_screen: PBField
func get_minimum_size_on_screen() -> int:
return _minimum_size_on_screen.value
func clear_minimum_size_on_screen() -> void:
data[20].state = PB_SERVICE_STATE.UNFILLED
_minimum_size_on_screen.value = DEFAULT_VALUES_3[PB_DATA_TYPE.INT32]
func set_minimum_size_on_screen(value : int) -> void:
_minimum_size_on_screen.value = value

var _map_display_size: PBField
func get_map_display_size() -> int:
return _map_display_size.value
func clear_map_display_size() -> void:
data[21].state = PB_SERVICE_STATE.UNFILLED
_map_display_size.value = DEFAULT_VALUES_3[PB_DATA_TYPE.INT32]
func set_map_display_size(value : int) -> void:
_map_display_size.value = value

var _maximum_size_on_screen: PBField
func get_maximum_size_on_screen() -> int:
return _maximum_size_on_screen.value
func clear_maximum_size_on_screen() -> void:
data[22].state = PB_SERVICE_STATE.UNFILLED
_maximum_size_on_screen.value = DEFAULT_VALUES_3[PB_DATA_TYPE.INT32]
func set_maximum_size_on_screen(value : int) -> void:
_maximum_size_on_screen.value = value

var _constant_size_on_map: PBField
func get_constant_size_on_map() -> bool:
return _constant_size_on_map.value
Expand Down Expand Up @@ -1355,15 +1266,6 @@ class Icon:
func set_is_hidden_on_minimap(value : bool) -> void:
_is_hidden_on_minimap.value = value

var _tentative__scale: PBField
func get_tentative__scale() -> float:
return _tentative__scale.value
func clear_tentative__scale() -> void:
data[2048].state = PB_SERVICE_STATE.UNFILLED
_tentative__scale.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_tentative__scale(value : float) -> void:
_tentative__scale.value = value

var _bhdraft__schedule: PBField
func get_bhdraft__schedule() -> String:
return _bhdraft__schedule.value
Expand Down Expand Up @@ -1422,27 +1324,12 @@ class Trail:
service.field = _map_id
data[_map_id.tag] = service

_distance_fade_end = PBField.new("distance_fade_end", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 5, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _distance_fade_end
data[_distance_fade_end.tag] = service

_distance_fade_start = PBField.new("distance_fade_start", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 6, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _distance_fade_start
data[_distance_fade_start.tag] = service

_trail_data = PBField.new("trail_data", PB_DATA_TYPE.MESSAGE, PB_RULE.OPTIONAL, 7, true, DEFAULT_VALUES_3[PB_DATA_TYPE.MESSAGE])
service = PBServiceField.new()
service.field = _trail_data
service.func_ref = funcref(self, "new_trail_data")
data[_trail_data.tag] = service

_animation_speed = PBField.new("animation_speed", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 8, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _animation_speed
data[_animation_speed.tag] = service

_achievement_id = PBField.new("achievement_id", PB_DATA_TYPE.INT32, PB_RULE.OPTIONAL, 16, true, DEFAULT_VALUES_3[PB_DATA_TYPE.INT32])
service = PBServiceField.new()
service.field = _achievement_id
Expand All @@ -1463,11 +1350,6 @@ class Trail:
service.field = _is_wall
data[_is_wall.tag] = service

_scale = PBField.new("scale", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 21, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _scale
data[_scale.tag] = service

_rgba_color = PBField.new("rgba_color", PB_DATA_TYPE.FIXED32, PB_RULE.OPTIONAL, 22, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FIXED32])
service = PBServiceField.new()
service.field = _rgba_color
Expand Down Expand Up @@ -1509,11 +1391,6 @@ class Trail:
service.func_ref = funcref(self, "new_species_filter")
data[_species_filter.tag] = service

_map_display_size = PBField.new("map_display_size", PB_DATA_TYPE.INT32, PB_RULE.OPTIONAL, 29, true, DEFAULT_VALUES_3[PB_DATA_TYPE.INT32])
service = PBServiceField.new()
service.field = _map_display_size
data[_map_display_size.tag] = service

_cull_chirality = PBField.new("cull_chirality", PB_DATA_TYPE.ENUM, PB_RULE.OPTIONAL, 30, true, DEFAULT_VALUES_3[PB_DATA_TYPE.ENUM])
service = PBServiceField.new()
service.field = _cull_chirality
Expand Down Expand Up @@ -1573,24 +1450,6 @@ class Trail:
func set_map_id(value : int) -> void:
_map_id.value = value

var _distance_fade_end: PBField
func get_distance_fade_end() -> float:
return _distance_fade_end.value
func clear_distance_fade_end() -> void:
data[5].state = PB_SERVICE_STATE.UNFILLED
_distance_fade_end.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_distance_fade_end(value : float) -> void:
_distance_fade_end.value = value

var _distance_fade_start: PBField
func get_distance_fade_start() -> float:
return _distance_fade_start.value
func clear_distance_fade_start() -> void:
data[6].state = PB_SERVICE_STATE.UNFILLED
_distance_fade_start.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_distance_fade_start(value : float) -> void:
_distance_fade_start.value = value

var _trail_data: PBField
func get_trail_data() -> TrailData:
return _trail_data.value
Expand All @@ -1601,15 +1460,6 @@ class Trail:
_trail_data.value = TrailData.new()
return _trail_data.value

var _animation_speed: PBField
func get_animation_speed() -> float:
return _animation_speed.value
func clear_animation_speed() -> void:
data[8].state = PB_SERVICE_STATE.UNFILLED
_animation_speed.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_animation_speed(value : float) -> void:
_animation_speed.value = value

var _achievement_id: PBField
func get_achievement_id() -> int:
return _achievement_id.value
Expand Down Expand Up @@ -1646,15 +1496,6 @@ class Trail:
func set_is_wall(value : bool) -> void:
_is_wall.value = value

var _scale: PBField
func get_scale() -> float:
return _scale.value
func clear_scale() -> void:
data[21].state = PB_SERVICE_STATE.UNFILLED
_scale.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_scale(value : float) -> void:
_scale.value = value

var _rgba_color: PBField
func get_rgba_color() -> int:
return _rgba_color.value
Expand Down Expand Up @@ -1724,15 +1565,6 @@ class Trail:
_species_filter.value = SpeciesFilter.new()
return _species_filter.value

var _map_display_size: PBField
func get_map_display_size() -> int:
return _map_display_size.value
func clear_map_display_size() -> void:
data[29].state = PB_SERVICE_STATE.UNFILLED
_map_display_size.value = DEFAULT_VALUES_3[PB_DATA_TYPE.INT32]
func set_map_display_size(value : int) -> void:
_map_display_size.value = value

var _cull_chirality: PBField
func get_cull_chirality():
return _cull_chirality.value
Expand Down Expand Up @@ -2000,11 +1832,6 @@ class Trigger:
service.field = _reset_length
data[_reset_length.tag] = service

_range = PBField.new("range", PB_DATA_TYPE.FLOAT, PB_RULE.OPTIONAL, 11, true, DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT])
service = PBServiceField.new()
service.field = _range
data[_range.tag] = service

_action_hide_category = PBField.new("action_hide_category", PB_DATA_TYPE.MESSAGE, PB_RULE.OPTIONAL, 12, true, DEFAULT_VALUES_3[PB_DATA_TYPE.MESSAGE])
service = PBServiceField.new()
service.field = _action_hide_category
Expand Down Expand Up @@ -2120,15 +1947,6 @@ class Trigger:
func set_reset_length(value : float) -> void:
_reset_length.value = value

var _range: PBField
func get_range() -> float:
return _range.value
func clear_range() -> void:
data[11].state = PB_SERVICE_STATE.UNFILLED
_range.value = DEFAULT_VALUES_3[PB_DATA_TYPE.FLOAT]
func set_range(value : float) -> void:
_range.value = value

var _action_hide_category: PBField
func get_action_hide_category() -> Category:
return _action_hide_category.value
Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/fade/distance_fade_end.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Distance Fade End
type: Float32
applies_to: [Icon, Trail]
xml_fields: [FadeFar, DistanceFadeEnd]
protobuf_field: distance_fade_end
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #distance_fade_end
examples:
- "850"
- "600"
Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/fade/distance_fade_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Distance Fade Start
type: Float32
applies_to: [Icon, Trail]
xml_fields: [FadeNear, DistanceFadeStart]
protobuf_field: distance_fade_start
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #distance_fade_start
examples:
- "650"
- "400"
Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/position/height_offset.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Height Offset
type: Float32
applies_to: ["Icon"]
xml_fields: ["HeightOffset", "BHHeightOffset"]
protobuf_field: height_offset
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #height_offset
examples:
- "0"
---
Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/rendering/map_display_size.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Map Display Size
type: Int32
applies_to: [Icon, Trail]
xml_fields: [MapDisplaySize]
protobuf_field: map_display_size
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #map_display_size
---
The size, in pixels, that the marker should be shown on the minimap or fullscreen map.
When applied to a Trail, affects the width of the trail shown on the minimap or fullscreen map.
Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/scale/icon_size.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Icon Size
type: Float32
applies_to: [Icon]
xml_fields: [IconSize]
protobuf_field: tentative__scale
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #tentative__scale
---
Multiplier on the size of an image (i.e. 1 is 100%, 2 is 200%).

Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/scale/trail_scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Trail Scale
type: Float32
applies_to: [Trail]
xml_fields: [TrailScale]
protobuf_field: scale
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #scale
---
Adjusts the width of a trail mesh as a multiplier to the default width.

Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/size_on_screen/maximum_size_on_screen.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Maximum Size On Screen
type: Int32
applies_to: [Icon]
xml_fields: [MaxSize]
protobuf_field: maximum_size_on_screen
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #maximum_size_on_screen
---
The largest width/height of this icon on the screen.
Notes
Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/size_on_screen/minimum_size_on_screen.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Minimum Size on Screen
type: Int32
applies_to: [Icon]
xml_fields: [MinSize]
protobuf_field: minimum_size_on_screen
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #minimum_size_on_screen
---
The smallest width/height of this icon on the screen.

Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/texture/animation_speed.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Animation Speed
type: Float32
applies_to: [Trail]
xml_fields: ["AnimSpeed", "AnimationSpeed"]
protobuf_field: animation_speed
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #animation_speed
---
The speed which the texture should be moving across the object.

Expand Down
3 changes: 2 additions & 1 deletion xml_converter/doc/trigger/trigger_range.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Trigger Range
type: Float32
applies_to: [Icon]
xml_fields: [TriggerRange, InfoRange]
protobuf_field: trigger.range
#151 This field should be set to 0 in the protobuf when equal to the default value
protobuf_field: null #trigger.range
---

Used to indicate a trigger range. This attribute is used by multiple other attributes to define a distance from the marker in which those attributes will activate their functionality or behavior.
Expand Down
Binary file not shown.
Loading
Loading