Initial Commit
This commit is contained in:
commit
48a5e71e00
1136 changed files with 64347 additions and 0 deletions
34
lib/models/chatter.gd
Normal file
34
lib/models/chatter.gd
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
extends SQLiteObject
|
||||
class_name Chatter
|
||||
|
||||
enum ChatterLevel
|
||||
{
|
||||
NEW,
|
||||
NORMAL,
|
||||
REGULAR,
|
||||
DEVOTEE,
|
||||
VIP,
|
||||
MOD,
|
||||
STREAMER
|
||||
}
|
||||
|
||||
@export var id: int
|
||||
@export var twitch_id: String
|
||||
@export var nickname: String = ""
|
||||
@export var known_engine: String = ""
|
||||
@export var game_lists: Dictionary[String, String] = {}
|
||||
@export var is_indie_game_dev: bool = false
|
||||
@export var is_on_team: bool = false
|
||||
@export var level: ChatterLevel = ChatterLevel.NEW
|
||||
@export var auto_shoutout: bool = false
|
||||
@export var shoutout_as_devteam: bool = false
|
||||
@export var notes: String = ""
|
||||
@export var scores: Dictionary[String, int] = {}
|
||||
@export var extra_data: Dictionary[String, Variant] = {}
|
||||
@export var first_seen: float = 0.0
|
||||
@export var last_seen: float = 0.0
|
||||
|
||||
static func _setup() -> void:
|
||||
set_table_name(Chatter, "chatters")
|
||||
set_column_flags(Chatter, "id", Flags.PRIMARY_KEY|Flags.AUTO_INCREMENT|Flags.NOT_NULL)
|
||||
set_column_flags(Chatter, "twitch_id", Flags.NOT_NULL)
|
||||
1
lib/models/chatter.gd.uid
Normal file
1
lib/models/chatter.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://vfrg17drxmif
|
||||
Loading…
Add table
Add a link
Reference in a new issue