when:
- event: tag
+ ref: refs/tags/v*
- event: push
- event: pull_request
- name: dotnet restore
image: mcr.microsoft.com/dotnet/sdk:9.0-noble
commands:
- - dotnet restore --packages $CI_WORKSPACE/.nuget
+ - dotnet restore /p:Configuration=Release --packages $CI_WORKSPACE/.nuget
- name: dotnet build
image: mcr.microsoft.com/dotnet/sdk:9.0-noble
commands:
- mkdir release
- mv Questionable/dist/Questionable/latest.zip release/Questionable-${CI_COMMIT_TAG##v}.zip
- - mv Questionable/dist/Questionable/Questionable.json release/Questionable-${CI_COMMIT_TAG##v}.json
+ - mv Questionable/dist/Questionable/Questionable.json release/Questionable-${CI_COMMIT_TAG##v}.json.d12
when:
- event: tag
+ ref: refs/tags/v*
- name: prepare release
image: woodpeckerci/plugin-release
draft: true
files:
- "release/*.zip"
- - "release/*.json"
+ - "release/*.json.*"
api_key:
from_secret: ACCESS_TOKEN
checksum: sha256
when:
- event: tag
+ ref: refs/tags/v*
-Subproject commit 8f995a3ff27c55b585a679415d350bb90bcc3fb7
+Subproject commit acddd5aad13f92427987ddd7f81c19386ed979b4
private static uint LookupContentFinderConditionForQuestBattle(IDataManager dataManager, uint questBattleId)
{
if (questBattleId >= 5000)
- return dataManager.GetExcelSheet<InstanceContent>().GetRow(questBattleId).Order;
+ return dataManager.GetExcelSheet<InstanceContent>().GetRow(questBattleId).ContentFinderCondition.RowId;
else
return dataManager.GetExcelSheet<QuestBattleResident>().GetRow(questBattleId).Unknown0;
}
private readonly ILogger<GameFunctions> _logger;
private readonly AbandonDutyDelegate _abandonDuty;
- private readonly ReadOnlyDictionary<ushort, byte> _territoryToAetherCurrentCompFlgSet;
+ private readonly ReadOnlyDictionary<ushort, uint> _territoryToAetherCurrentCompFlgSet;
private readonly ReadOnlyDictionary<uint, uint> _contentFinderConditionToContentId;
public GameFunctions(
_territoryToAetherCurrentCompFlgSet = dataManager.GetExcelSheet<TerritoryType>()
.Where(x => x.RowId > 0)
- .Where(x => x.Unknown4 > 0)
- .ToDictionary(x => (ushort)x.RowId, x => x.Unknown4)
+ .Where(x => x.AetherCurrentCompFlgSet.RowId > 0)
+ .ToDictionary(x => (ushort)x.RowId, x => x.AetherCurrentCompFlgSet.RowId)
.AsReadOnly();
_contentFinderConditionToContentId = dataManager.GetExcelSheet<ContentFinderCondition>()
.Where(x => x.RowId > 0 && x.Content.RowId > 0)
var playerState = PlayerState.Instance();
return playerState != null &&
- _territoryToAetherCurrentCompFlgSet.TryGetValue(territoryId, out byte aetherCurrentCompFlgSet) &&
+ _territoryToAetherCurrentCompFlgSet.TryGetValue(territoryId, out uint aetherCurrentCompFlgSet) &&
playerState->IsAetherCurrentZoneComplete(aetherCurrentCompFlgSet);
}
PreviousInstanceContentJoin = (EQuestJoin)quest.InstanceContentJoin;
GrandCompany = (GrandCompany)quest.GrandCompany.RowId;
AlliedSociety = (EAlliedSociety)quest.BeastTribe.RowId;
- AlliedSocietyQuestGroup = quest.Unknown11;
+ AlliedSocietyQuestGroup = quest.DailyQuestPool;
AlliedSocietyRank = (int)quest.BeastReputationRank.RowId;
ClassJobs = QuestInfoUtils.AsList(quest.ClassJobCategory0.ValueNullable!);
IsSeasonalEvent = quest.Festival.RowId != 0;
public unsafe void Draw()
{
var map = AgentMap.Instance();
- using (var unused = ImRaii.Disabled(map == null || map->IsFlagMarkerSet == 0 ||
+ using (var unused = ImRaii.Disabled(map == null || map->IsFlagMarkerSet ||
map->FlagMapMarker.TerritoryId != _clientState.TerritoryType ||
!_navmeshIpc.IsReady))
{