Final API11 updates and new channel switcher
This commit is contained in:
@@ -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()}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user