init
This commit is contained in:
commit
b99855351d
434 changed files with 50357 additions and 0 deletions
25
addons/inkgd/runtime/extra/try_get_result.gd
Normal file
25
addons/inkgd/runtime/extra/try_get_result.gd
Normal file
|
@ -0,0 +1,25 @@
|
|||
# warning-ignore-all:shadowed_variable
|
||||
# ############################################################################ #
|
||||
# Copyright © 2015-2021 inkle Ltd.
|
||||
# Copyright © 2019-2022 Frédéric Maquin <fred@ephread.com>
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of inkgd.
|
||||
# inkgd is licensed under the terms of the MIT license.
|
||||
# ############################################################################ #
|
||||
|
||||
|
||||
extends RefCounted
|
||||
|
||||
class_name InkTryGetResult
|
||||
|
||||
# ############################################################################ #
|
||||
|
||||
var exists: bool = false # Bool
|
||||
var result = null # Variant
|
||||
|
||||
# ############################################################################ #
|
||||
|
||||
func _init(exists: bool, result):
|
||||
self.exists = exists
|
||||
self.result = result
|
Loading…
Add table
Add a link
Reference in a new issue