Final API11 updates and new channel switcher

This commit is contained in:
Infi
2024-11-16 21:06:35 +01:00
parent c5873b95cf
commit bf27d3e853
15 changed files with 193 additions and 190 deletions
@@ -14,4 +14,9 @@ internal sealed class TellTarget
ContentId = contentId;
Reason = reason;
}
public bool IsSet() => Name.Length > 0 && World > 0;
public string ToWorldString() => Sheets.WorldSheet.TryGetRow(World, out var worldRow) ? worldRow.Name.ExtractText() : string.Empty;
public string ToTargetString() => $"{Name}@{ToWorldString()}";
}