mirror of
https://github.com/ProjectSWGCore/pswgcommon.git
synced 2026-01-15 23:04:19 -05:00
Added default constructor for StringId to support deserialization
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
/***********************************************************************************
|
/***********************************************************************************
|
||||||
* Copyright (c) 2024 /// Project SWG /// www.projectswg.com *
|
* Copyright (c) 2024 /// Project SWG /// www.projectswg.com *
|
||||||
* *
|
* *
|
||||||
* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on *
|
* ProjectSWG is an emulation project for Star Wars Galaxies founded on *
|
||||||
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
|
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
|
||||||
* Our goal is to create an emulator which will provide a server for players to *
|
* Our goal is to create one or more emulators which will provide servers for *
|
||||||
* continue playing a game similar to the one they used to play. We are basing *
|
* players to continue playing a game similar to the one they used to play. *
|
||||||
* it on the final publish of the game prior to end-game events. *
|
|
||||||
* *
|
* *
|
||||||
* This file is part of PSWGCommon. *
|
* This file is part of PSWGCommon. *
|
||||||
* *
|
* *
|
||||||
@@ -35,7 +34,9 @@ class StringId(file: String, key: String? = null) : OutOfBandData, MongoPersista
|
|||||||
private set
|
private set
|
||||||
var file: String
|
var file: String
|
||||||
private set
|
private set
|
||||||
|
|
||||||
|
constructor() : this("", "")
|
||||||
|
|
||||||
init {
|
init {
|
||||||
if (key == null) {
|
if (key == null) {
|
||||||
var stf = file
|
var stf = file
|
||||||
|
|||||||
Reference in New Issue
Block a user