Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ShardName

Returns the name of the shard the character is currently connected to (or was last connected to).

The shard name corresponds to the name configured in the Stealth profile settings.

Возвращает имя шарда, к которому персонаж сейчас подключён (или был подключён последним).

Имя шарда соответствует имени, заданному в настройках профиля Stealth.

Pascal

function ShardName: String;

Python

def ShardName() -> str: ...

Pascal Example

begin
  AddToSystemJournal('Connected to shard: ' + ShardName);
end.

Python Example

AddToSystemJournal(f'Connected to shard: {ShardName()}')

See Also

ShardPath, ProfileName, ProfileShardName