public ZoneDescriptor(JSONObject data) { gatewayZoneCategory = (WormholeCategories)data.GetField("gatewayZoneCategory").i; zoneGuid = data.GetField("zoneGuid").str; playerOwnerGuid = data.GetField("playerOwnerGuid").str; }
public ZoneDescriptor(WormholeCategories gZc, string zG, string pG) { gatewayZoneCategory = gZc; zoneGuid = zG; playerOwnerGuid = pG; }