Add host-validated multiplayer fish sales
This commit is contained in:
parent
c4e7ea0728
commit
f7044669a8
13 changed files with 836 additions and 24 deletions
|
|
@ -65,6 +65,17 @@ func to_save_dict() -> Dictionary:
|
|||
}
|
||||
|
||||
|
||||
func to_network_dict() -> Dictionary:
|
||||
return {
|
||||
"catch_id": String(catch_id),
|
||||
"fish_id": String(fish_id),
|
||||
"weight_lb": weight_lb,
|
||||
"display_scale": display_scale,
|
||||
"sale_value": sale_value,
|
||||
"is_favorited": is_favorited,
|
||||
}
|
||||
|
||||
|
||||
static func from_save_dict(
|
||||
data: Dictionary,
|
||||
resolved_fish: FishDataType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue