Значение компонентов и переменных ContentServers: различия между версиями

м (описание правки стёрто)
Метка: отмена
мНет описания правки
 
(не показано 5 промежуточных версий этого же участника)
Строка 1: Строка 1:
{| class="custom-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 24px; background:#252529;" border=2 cellspacing=1
! style="font-weight: bold; color: #E5E5E5;" | Пример
|-
|
{| class="inner-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 16px; background:#1F1F24;" border=1 cellspacing=1
! style="font-size: 18px; color: #FFFFFF;" | <big>Advertise</big> - Advertising Component in Vending Machines</center>
|-
|
{| class="detailed-wiki-table"
|-
! style="background-color:#35353B; width: 22%" | Variable Name !! style="background-color:#35353B; width: 7%" | Variable Type !! style="background-color:#35353B; width: 23%" | Default Value !! style="background-color:#35353B; width: 43%" | Description !! style="background-color:#35353B; width: 5%" | Editable
|-
| style="background-color:#252529; | <center>''' MaxWaitTime '''</center> 
| style="background-color:#252529; color:#A370FF | <center>''' int  '''</center> 
| style="background-color:#252529; | <center>''' 600 '''</center> 
| style="background-color:#252529; | <center>''' Maximum wait time before an advertisement is announced.  '''</center>
| style="background-color:#252529; | <center> ✓ </center>
|-
| style="background-color:#252529; | <center>''' MinWaitTime  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  int  '''</center> 
| style="background-color:#252529; | <center>''' 480 '''</center> 
| style="background-color:#252529; | <center>''' Minimum wait time before an advertisement is announced.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' NextAdTime  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  TimeSpan  '''</center> 
| style="background-color:#252529; | <center>''' N/A '''</center> 
| style="background-color:#252529; | <center>''' Time until the next advertisement is announced.  '''</center>
| style="background-color:#252529; | <center>  </center>
|-
| style="background-color:#252529; | <center>''' AdPackageId  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  string  '''</center> 
| style="background-color:#252529; | <center>''' N/A '''</center> 
| style="background-color:#252529; | <center>''' Identifier for the ad package prototype.  '''</center>
| style="background-color:#252529; | <center>  </center>
|}
|}
{| class="inner-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 16px; background:#1F1F24;" border=1 cellspacing=1
! style="font-size: 18px; color: #FFFFFF;" | <big>Advertise</big> - Advertising Component in Vending Machines</center>
|-
|
{| class="detailed-wiki-table"
|-
! style="background-color:#35353B; width: 22%" | Variable Name !! style="background-color:#35353B; width: 7%" | Variable Type !! style="background-color:#35353B; width: 23%" | Default Value !! style="background-color:#35353B; width: 43%" | Description !! style="background-color:#35353B; width: 5%" | Editable
|-
| style="background-color:#252529; | <center>''' MaxWaitTime '''</center> 
| style="background-color:#252529; color:#A370FF | <center>''' int  '''</center> 
| style="background-color:#252529; | <center>''' 600 '''</center> 
| style="background-color:#252529; | <center>''' Maximum wait time before an advertisement is announced.  '''</center>
| style="background-color:#252529; | <center> ✓ </center>
|-
| style="background-color:#252529; | <center>''' MinWaitTime  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  int  '''</center> 
| style="background-color:#252529; | <center>''' 480 '''</center> 
| style="background-color:#252529; | <center>''' Minimum wait time before an advertisement is announced.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' NextAdTime  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  TimeSpan  '''</center> 
| style="background-color:#252529; | <center>''' N/A '''</center> 
| style="background-color:#252529; | <center>''' Time until the next advertisement is announced.  '''</center>
| style="background-color:#252529; | <center>  </center>
|-
| style="background-color:#252529; | <center>''' AdPackageId  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  string  '''</center> 
| style="background-color:#252529; | <center>''' N/A '''</center> 
| style="background-color:#252529; | <center>''' Identifier for the ad package prototype.  '''</center>
| style="background-color:#252529; | <center>  </center>
|}
|}
|}
<div style="height: 10px;"></div>
{| class="custom-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 24px; background:#252529;" border=2 cellspacing=1
! style="font-weight: bold; color: #E5E5E5;" | Content.Server/Abilities/Mime/
|-
|
{| class="inner-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 16px; background:#1F1F24;" border=1 cellspacing=1
! style="font-size: 18px; color: #FFFFFF;" | <big>MimePowers</big> - Позволяет сущности использовать способности роли "мим"</center>
|-
|
{| class="detailed-wiki-table"
|-
! style="background-color:#35353B; width: 22%" | Название переменной !! style="background-color:#35353B; width: 7%" | Тип переменной !! style="background-color:#35353B; width: 23%" | Базовое значение !! style="background-color:#35353B; width: 43%" | Описание !! style="background-color:#35353B; width: 5%" | Editable
|-
| style="background-color:#252529; | <center>''' Enabled '''</center> 
| style="background-color:#252529; color:#A370FF | <center>''' bool  '''</center> 
| style="background-color:#252529; | <center>''' true '''</center> 
| style="background-color:#252529; | <center>''' Флаг, указывающий, активен ли данный компонент  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' WallPrototype  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  string  '''</center> 
| style="background-color:#252529; | <center>''' WallInvisible '''</center> 
| style="background-color:#252529; | <center>''' Идентификатор прототипа стены, который будет использован для создания "невидимых стен".  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' InvisibleWallAction  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  string?  '''</center> 
| style="background-color:#252529; | <center>'''  '''</center> 
| style="background-color:#252529; | <center>''' Идентификатор действия, связанного с созданием невидимой стены.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' InvisibleWallActionEntity  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  EntityUid?  '''</center> 
| style="background-color:#252529; | <center>'''  '''</center> 
| style="background-color:#252529; | <center>''' Уникальный идентификатор сущности, связанной с действием создания невидимой стены.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' VowBroken  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  bool  '''</center> 
| style="background-color:#252529; | <center>''' false '''</center> 
| style="background-color:#252529; | <center>''' Флаг, указывающий, была ли нарушена клятва молчания мимом.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' ReadyToRepent  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  bool  '''</center> 
| style="background-color:#252529; | <center>''' false '''</center> 
| style="background-color:#252529; | <center>''' Флаг, указывающий, готов ли мим к возобновлению клятвы.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' VowRepentTime  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  TimeSpan  '''</center> 
| style="background-color:#252529; | <center>''' 0 минут '''</center> 
| style="background-color:#252529; | <center>''' Время, через которое мим сможет возобновить свою клятву.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' VowCooldown  '''</center>   
| style="background-color:#252529; color:#A370FF | <center>'''  TimeSpan  '''</center> 
| style="background-color:#252529; | <center>''' 5 минут '''</center> 
| style="background-color:#252529; | <center>''' Время необходимое для возобновления клятвы после её нарушения.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|}
|}
|}
<div style="height: 10px;"></div>
{| class="custom-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 24px; background:#252529;" border=2 cellspacing=1
! style="font-weight: bold; color: #E5E5E5;" | Content.Server/Access/
|-
|
{| class="inner-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 16px; background:#1F1F24;" border=1 cellspacing=1
! style="font-size: 18px; color: #FFFFFF;" | <big>AgentIDCard</big> - Позволяет сущности иметь свойства пассажирской ID карты <span style="color:red;">[https://station14.ru/wiki/%D0%9F%D1%80%D0%B5%D0%B4%D0%B0%D1%82%D0%B5%D0%BB%D1%8C Агента]</span></center>
|-
|
{| class="detailed-wiki-table"
|-
! style="background-color:#35353B; width: 22%" | Название переменной !! style="background-color:#35353B; width: 7%" | Тип переменной !! style="background-color:#35353B; width: 23%" | Базовое значение !! style="background-color:#35353B; width: 43%" | Описание !! style="background-color:#35353B; width: 5%" | Editable
|-
| style="background-color:#252529; | <center>''' Icons '''</center> 
| style="background-color:#252529; color:#A370FF | <center>''' HashSet<string>  '''</center> 
| style="background-color:#252529; | <center>'''  '''</center> 
| style="background-color:#252529; | <center>''' Набор иконок, которые могут быть использованы на ID-карте агента.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
|}
|}
{| class="inner-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 16px; background:#1F1F24;" border=1 cellspacing=1
! style="font-size: 18px; color: #FFFFFF;" | <big>IdExaminable</big> - Компонент, который позволяет осмотреть сущность в контексте ID-карт</center>
|-
| style="background-color:#252529; text-align:center;" | Класс не содержит каких-либо переменных или методов и служит, по сути, лишь маркером для системы. Например, при удалении с сущности человека, его нельзя будет осмотреть на предмет установленной должности, даже при наличии ID карты.
|}
{| class="inner-wiki-table mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 16px; background:#1F1F24;" border=1 cellspacing=1
! style="font-size: 18px; color: #FFFFFF;" | <big>PresetIdCard</big> - Компонент, в котором сохраняются отображаемые при осмотре профессия и имя</center>
|-
|
{| class="detailed-wiki-table"
|-
! style="background-color:#35353B; width: 22%" | Название переменной !! style="background-color:#35353B; width: 7%" | Тип переменной !! style="background-color:#35353B; width: 23%" | Базовое значение !! style="background-color:#35353B; width: 43%" | Описание !! style="background-color:#35353B; width: 5%" | Editable
|-
| style="background-color:#252529; | <center>''' JobName '''</center> 
| style="background-color:#252529; color:#A370FF | <center>''' string?<string>  '''</center> 
| style="background-color:#252529; | <center>'''  '''</center> 
| style="background-color:#252529; | <center>''' Название должности, которая будет предустановлена на ID-карте.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
| style="background-color:#252529; | <center>''' IdName '''</center> 
| style="background-color:#252529; color:#A370FF | <center>''' string?<string>  '''</center> 
| style="background-color:#252529; | <center>'''  '''</center> 
| style="background-color:#252529; | <center>''' Имя, которок будет предустановлено на ID-карте.  '''</center>
| style="background-color:#252529; | <center> ✗ </center>
|-
|}
|}
|}
<div style="height: 10px;"></div>
{| class="wikitable mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 20px; background:#383842;" border=3 cellspacing=0
{| class="wikitable mw-collapsible mw-collapsed" style="width: 100%; text-align:center; font-size: 20px; background:#383842;" border=3 cellspacing=0
!<center>ДАМ</center>
!<center>ДАМ</center>