16 lines
336 B
GDScript
16 lines
336 B
GDScript
#
|
|
# © 2024-present https://github.com/cengiz-pz
|
|
#
|
|
class_name LoadAdError
|
|
extends AdError
|
|
|
|
const RESPONSE_INFO_PROPERTY := &"response_info"
|
|
|
|
|
|
func _init(a_data: Dictionary):
|
|
super(a_data)
|
|
|
|
|
|
func get_response_info() -> ResponseInfo:
|
|
return ResponseInfo.new(_data[RESPONSE_INFO_PROPERTY]) if _data.has(RESPONSE_INFO_PROPERTY) else null
|