Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream130125 #2699

Closed
wants to merge 315 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
143a44c
Небольшой фикс для Ската (#20)
mersen-tyn Aug 18, 2024
7f08d32
Change pvs
Vonsant Aug 22, 2024
3be3f7d
Отключение Чарли
Vonsant Aug 22, 2024
4d039ad
Отключение Эпсилона
Vonsant Aug 22, 2024
fa6b09e
Возвращаем Чарли, Эпсилон и Аванпост
mersen-tyn Aug 22, 2024
f0671ec
Merge pull request #24 from Corvax-Frontier/fix's_Maps
Vonsant Aug 22, 2024
c27211a
MergeFixes
Vonsant Aug 22, 2024
d7233dd
FixMerge
Vonsant Aug 24, 2024
1fc0a1c
Localisation
Vonsant Aug 24, 2024
3a04c37
Merge remote-tracking branch 'upstream/master' into up240824
Vonsant Aug 24, 2024
f2a4aba
Localisation
Vonsant Aug 24, 2024
e781413
Merge pull request #26 from Corvax-Frontier/up240824
Vonsant Aug 24, 2024
99ec49b
Спрайты... (#27)
Zekins3366 Aug 26, 2024
87983bf
FixMerge
Vonsant Aug 26, 2024
badaf5a
Inflation trade crates
Sh1ntra Aug 27, 2024
1c5a529
Merge pull request #29 from Corvax-Frontier/DespawnCrate
Sh1ntra Aug 27, 2024
e56cb35
elzuosa cum back
Sh1ntra Aug 30, 2024
6886f5a
Заливаем шаттлики и изменение Чарли с Эпсилон
mersen-tyn Sep 1, 2024
5476972
Merge pull request #32 from Corvax-Frontier/maps_mersen
Zekins3366 Sep 1, 2024
027d682
Ещё исправление Чарли
mersen-tyn Sep 2, 2024
4962f0f
Merge pull request #33 from Corvax-Frontier/maps_mersen
Sh1ntra Sep 2, 2024
167c979
Merge pull request #31 from Corvax-Frontier/elzuosa
Sh1ntra Sep 2, 2024
faf0c17
Шаттлик
FireFoxPhoenix Sep 6, 2024
c95593d
Исправление начисление баланса с ивента и возвращение Зари двух видов…
mersen-tyn Sep 8, 2024
cb56653
Фикс
FireFoxPhoenix Sep 8, 2024
fb5ed8e
Небольшой фикс рецептов
Zekins3366 Sep 14, 2024
f9fb39c
Merge pull request #39 from Corvax-Frontier/minifix
Zekins3366 Sep 14, 2024
0a46d92
Фикс инвалида
FireFoxPhoenix Sep 15, 2024
0d8e791
Merge branch 'Corvax-Frontier:master' into Шаттл-кудза
FireFoxPhoenix Sep 16, 2024
7b15b11
Дробовик КС23 (#38)
FireFoxPhoenix Sep 18, 2024
d6f4150
Больше шаттлов, вырезка медицины, и многое другое
mersen-tyn Sep 27, 2024
4a1990e
Больше шаттлов, вырезка медицины и многое другое
mersen-tyn Sep 27, 2024
28c7329
Update pill.yml
mersen-tyn Sep 27, 2024
72c9286
Теперь не улетит клиника
mersen-tyn Sep 28, 2024
43a73e7
Merge pull request #43 from Corvax-Frontier/maps_mersen
mersen-tyn Sep 28, 2024
021846a
Merge branch 'Corvax-Frontier:master' into Шаттл-кудза
FireFoxPhoenix Sep 28, 2024
a7e15b7
Merge pull request #36 from FireFoxPhoenix/Шаттл-кудза
mersen-tyn Sep 28, 2024
154e281
Фикс поликлиники
mersen-tyn Sep 28, 2024
6ed15eb
Merge pull request #44 from Corvax-Frontier/maps_Mers
mersen-tyn Sep 28, 2024
6ffc31d
Обновление
FireFoxPhoenix Sep 30, 2024
fbb94b9
Merge branch 'Corvax-Frontier:master' into KS23-update
FireFoxPhoenix Oct 2, 2024
aaa664d
Up september (#46)
Sh1ntra Oct 2, 2024
831b522
Up september (#47)
Sh1ntra Oct 2, 2024
91ae87d
fix publish v1
Sh1ntra Oct 2, 2024
be93d21
fix publish v1 (#48)
Sh1ntra Oct 2, 2024
e91b5a7
try fix publish v2
Sh1ntra Oct 2, 2024
9acf4b7
Fix publish (#49)
Sh1ntra Oct 2, 2024
3d3d75b
try fix publish v3
Sh1ntra Oct 2, 2024
608a09f
Fix publish (#50)
Sh1ntra Oct 2, 2024
ebdceb4
publish try fix v4
Sh1ntra Oct 2, 2024
22339c5
Merge branch 'master' into Fix_publish
Sh1ntra Oct 2, 2024
d50a0c8
Merge pull request #51 from Corvax-Frontier/Fix_publish
Sh1ntra Oct 2, 2024
8527035
Merge branch 'master' into KS23-update
FireFoxPhoenix Oct 3, 2024
ce13a1c
Обновление
FireFoxPhoenix Oct 4, 2024
adf988c
try fix publish
Sh1ntra Oct 4, 2024
851bc13
Убран тег noSpawn
FireFoxPhoenix Oct 4, 2024
6423e5e
try fix publish 2
Sh1ntra Oct 4, 2024
40d6b68
try fix publish v3
Sh1ntra Oct 4, 2024
38fec43
Update publish.yml
Sh1ntra Oct 4, 2024
8fb7939
Update publish.yml
Sh1ntra Oct 4, 2024
8b0129b
try fix publish
Sh1ntra Oct 4, 2024
cd3301b
try fix publish
Sh1ntra Oct 4, 2024
e62b82f
clear up publish
Sh1ntra Oct 4, 2024
93228b6
Merge branch 'Corvax-Frontier:master' into KS23-update
FireFoxPhoenix Oct 5, 2024
8a5aba6
Блюфикс+Локализация
Oct 5, 2024
85dc46d
IndstrlПечка
Oct 5, 2024
01725c0
cryo (#52)
FireFoxPhoenix Oct 5, 2024
2adb3b8
Merge branch 'master' into KS23-update
FireFoxPhoenix Oct 5, 2024
0773dd8
Убран ипекак в газе
FireFoxPhoenix Oct 5, 2024
824b2aa
Ну верни как было
Oct 5, 2024
288062f
Merge pull request #53 from FireFoxPhoenix/KS23-update
Sh1ntra Oct 5, 2024
2c5ad38
Merge pull request #54 from Succuberry/BlueFix
Sh1ntra Oct 5, 2024
e61c875
Update publish.yml
Sh1ntra Oct 5, 2024
7865e07
Update publish.yml
Sh1ntra Oct 5, 2024
ff32d9c
Add some hours to roles for event
Sh1ntra Oct 5, 2024
e733e66
Merge pull request #55 from Corvax-Frontier/event
Sh1ntra Oct 5, 2024
401e2cc
Revert "Add some hours to roles for event"
Sh1ntra Oct 5, 2024
737aec9
Merge pull request #56 from Corvax-Frontier/revert-55-event
Sh1ntra Oct 5, 2024
bff80e2
БагФиксы
Oct 11, 2024
29c6c95
Фаст фикс сборки некоторых машин и перевод модулей СБ
Oct 11, 2024
9831104
Merge pull request #57 from Succuberry/BlueFix
Sh1ntra Oct 11, 2024
8de18a1
Вернул основной аванпост Фронтир
Sh1ntra Oct 11, 2024
96bdbc7
Merge pull request #58 from Corvax-Frontier/fixfrontier
Sh1ntra Oct 11, 2024
d03fe42
Добавил корабль среднего класса Аврора
SergeantEcho Oct 14, 2024
21402b7
Пофиксил ошибки маппинга и немного внес нёрфа
SergeantEcho Oct 14, 2024
a7a1996
Пофиксил факс, добавил немного мощностей и пофиксил некоторые ляпы ма…
SergeantEcho Oct 14, 2024
cefdaf4
Изменения шаттлов
FireFoxPhoenix Oct 14, 2024
ad24b43
Перенос и копии старых шаттлов
FireFoxPhoenix Oct 14, 2024
65ba21e
Крафт стойки дефибриллятора
FireFoxPhoenix Oct 14, 2024
1dae38d
Пофиксил некоторые ошибки, переделал некоторые отделы шаттла по требо…
SergeantEcho Oct 14, 2024
53b82ae
Перезалил файл с шаттлом, так как залил не тот по ошибке
SergeantEcho Oct 14, 2024
a2c4777
Удалил рипли которого забыл удалить, вот теперь точно ВСЁ
SergeantEcho Oct 14, 2024
a495112
Добавил побольше декалей и деталей, чтобы был наполнен чуть лучше
SergeantEcho Oct 14, 2024
126b75b
скорректировал цену шаттла, на данный момент все ошибки исправлены, П…
SergeantEcho Oct 14, 2024
31dbd03
Добавил ваккумные атмос фиксы на гриды которые в космосе, теперь шатт…
SergeantEcho Oct 14, 2024
5739b1f
Нашёл в себе силы заменить стеклянные пожарные шлюзы на всех дверях н…
SergeantEcho Oct 14, 2024
4355386
Пофиксил последнюю ошибку
SergeantEcho Oct 14, 2024
68d83d6
Сортировка шаттлов
FireFoxPhoenix Oct 15, 2024
07e4aa4
Изменение путей
FireFoxPhoenix Oct 15, 2024
bdcbb7e
Комментирование шаттлов
FireFoxPhoenix Oct 15, 2024
d76a2b4
Локализация и фиксы
Oct 15, 2024
f0233df
Забыл сохранить?
Oct 15, 2024
43fc9f4
Не тот id
Oct 15, 2024
72505f2
Фикс secret-stash и капля переводов.
Oct 16, 2024
fe0e447
Я дэбил
Oct 16, 2024
081d697
Еще перемещения
FireFoxPhoenix Oct 16, 2024
fa02955
Фикс боярышника
FireFoxPhoenix Oct 16, 2024
eae3c68
Финальная сортировка
FireFoxPhoenix Oct 16, 2024
2ab945b
QoL Печки
Oct 16, 2024
e0ef7f8
Merge pull request #62 from Succuberry/Fixxxxxxxxxxxx
Sh1ntra Oct 17, 2024
eef5984
Добавил автолат, плату сервера РНД и плату консоли к нему и Раздатчик…
SergeantEcho Oct 20, 2024
57e935a
Последние штрихи к ПРу
mersen-tyn Oct 20, 2024
9d67c85
Update wasp.yml
mersen-tyn Oct 20, 2024
c92df96
Merge pull request #63 from FireFoxPhoenix/shuttles_from_NF
mersen-tyn Oct 20, 2024
5c207ab
Переместил и дополнил
mersen-tyn Oct 20, 2024
7021baf
Упс
mersen-tyn Oct 20, 2024
09b510f
Merge pull request #59 from SergeantEcho/ncaurora_ship
mersen-tyn Oct 20, 2024
9c8a29d
Конфликты
Zekins3366 Oct 25, 2024
1e852e9
Прочие фиксы
Zekins3366 Oct 26, 2024
4b212ae
Линтер фиксы
Zekins3366 Oct 26, 2024
d162939
Ещё фиксы
Zekins3366 Oct 26, 2024
ec3a7c7
Again
Zekins3366 Oct 26, 2024
db56d6a
Когда не нажать SaveAll
Zekins3366 Oct 26, 2024
9de2577
Линтер фиксы x2
Zekins3366 Oct 26, 2024
6c22771
Немного "фикса" от меня
mersen-tyn Oct 26, 2024
db2c291
Ещё фиксы по шаттлам
mersen-tyn Oct 26, 2024
9cf8044
Забытый новый шаттлик
mersen-tyn Oct 26, 2024
142875a
Правим правим....
mersen-tyn Oct 26, 2024
daccd46
И ещё раз пробуем
mersen-tyn Oct 26, 2024
9ace81c
Фикс Зари
Zekins3366 Oct 26, 2024
a2c4ed5
Попытка нмоер 2
Zekins3366 Oct 26, 2024
d123793
Попытка нмоер 3
Zekins3366 Oct 26, 2024
fab786e
Попытка нмоер 4
Zekins3366 Oct 26, 2024
96e642c
Вырезаем шаттл
mersen-tyn Oct 27, 2024
75869e6
Правим ещё цены
mersen-tyn Oct 27, 2024
ccca2ac
Merge pull request #67 from Corvax-Frontier/up251024
Zekins3366 Oct 27, 2024
9a3468d
Revert publish update
Zekins3366 Oct 27, 2024
467f7ad
Обновление паблиша
Zekins3366 Oct 27, 2024
92b29f9
Обновление паблиша 2
Zekins3366 Oct 27, 2024
9c6f132
Исправление ошибок Авроры
SergeantEcho Oct 29, 2024
9a95937
Правление незначительных ошибок
SergeantEcho Oct 30, 2024
51d102a
Поменял вентиляторы на направленные вентиляторы
SergeantEcho Oct 30, 2024
7f34a9c
Переименовал камеры
SergeantEcho Oct 30, 2024
3c00ab9
Классические переводы и фиксы. (#69)
percent-temp-percent Nov 1, 2024
168a6ec
Merge branch 'master' into aurorafix
Zekins3366 Nov 1, 2024
2d53a01
Добавление японской еды | Адаптация (#70)
Chocosasel Nov 2, 2024
aec2b29
Merge branch 'master' into aurorafix
SergeantEcho Nov 2, 2024
af59183
Merge pull request #68 from SergeantEcho/aurorafix
mersen-tyn Nov 3, 2024
2a69cc4
Конфликты
Zekins3366 Nov 3, 2024
7528e08
фикс
Zekins3366 Nov 3, 2024
2999f4b
fix's event
mersen-tyn Nov 3, 2024
ad248e5
Merge pull request #71 from Corvax-Frontier/miniup
Zekins3366 Nov 3, 2024
20f43d5
МиниПеревод (#73)
percent-temp-percent Nov 4, 2024
cfd355e
Японские изменения | Ребаланс (#72)
Chocosasel Nov 4, 2024
fc569b9
Фикс Авроры
SergeantEcho Nov 6, 2024
7e16efe
Добавил корзину бумаг на мостик
SergeantEcho Nov 8, 2024
861c53f
Добавил пилоту шкафчик
SergeantEcho Nov 8, 2024
3ba0e1b
Return (#75)
FireFoxPhoenix Nov 8, 2024
dfbd9cb
Merge branch 'Corvax-Frontier:master' into aurorafixtwo
SergeantEcho Nov 9, 2024
c69bf56
conflicts
Zekins3366 Nov 9, 2024
fea429f
Merge pull request #76 from Corvax-Frontier/up091124
Zekins3366 Nov 9, 2024
86e7fd1
Merge branch 'Corvax-Frontier:master' into aurorafixtwo
SergeantEcho Nov 10, 2024
b03fc38
Merge pull request #74 from SergeantEcho/aurorafixtwo
mersen-tyn Nov 10, 2024
4aecd9d
Исправление кошачьих проблем из-за хитрых лис (#77)
Chocosasel Nov 10, 2024
60134be
Добавлен экспедиционный шаттл большого класса Атлас
SergeantEcho Nov 11, 2024
b109c74
Изменил цену на приемлемую
SergeantEcho Nov 12, 2024
7f289eb
Добавил туалет, переделал стыковочные шлюзы
SergeantEcho Nov 12, 2024
8ad5327
Скорректирована структура шаттла
SergeantEcho Nov 13, 2024
1eae248
Добавлены скрубберы в коридоре у уборщика
SergeantEcho Nov 13, 2024
a65b45d
Исправил положение зеркала
SergeantEcho Nov 14, 2024
26203ce
Переделаны трубы атмоса, во избежания ошибок после обновлений, под за…
SergeantEcho Nov 14, 2024
e6a09f2
ds ahelp frontier
Sh1ntra Nov 14, 2024
1ac2893
Merge pull request #80 from Corvax-Frontier/discordahelp
Sh1ntra Nov 14, 2024
9c227b8
Подключил некоторые пожарные шлюзы к сигнализации и к кнопке
SergeantEcho Nov 14, 2024
3765687
ds ahelp 2
Sh1ntra Nov 14, 2024
5b80123
Merge pull request #81 from Corvax-Frontier/discordahelp
Sh1ntra Nov 14, 2024
06635ec
Слегка поменял воздушные сигнализации
SergeantEcho Nov 14, 2024
103e5f1
Изменил форму шаттла, чтобы это было похоже на шаттл, убрал измельчит…
SergeantEcho Nov 15, 2024
91ccadc
Удаление ската из пула
FireFoxPhoenix Nov 15, 2024
71ada99
Merge pull request #82 from FireFoxPhoenix/remove_skat
mersen-tyn Nov 15, 2024
bf15a4d
Удалил решётки над шаттлом
SergeantEcho Nov 15, 2024
e83ebf3
upstream 16/11/2024
Sh1ntra Nov 15, 2024
834bf04
Merge pull request #83 from Corvax-Frontier/up16112024
Sh1ntra Nov 15, 2024
0e8d9a2
Merge branch 'Corvax-Frontier:master' into expatlas
SergeantEcho Nov 16, 2024
74a8b56
Отныне шаттл перемещён в категорию гражданского шаттла
SergeantEcho Nov 16, 2024
529bf12
Перевёл шаттла из экспедиционного в обычную верфь
SergeantEcho Nov 16, 2024
043caae
Merge pull request #78 from SergeantEcho/expatlas
mersen-tyn Nov 16, 2024
79d0ea8
Фикс сетки инвентаря сумки и мессенджера у наёмников (#85)
NULL882 Nov 16, 2024
0701d1a
Новый экспедиционный шаттл большого класса Сьерра
SergeantEcho Nov 18, 2024
50ab863
подправил шкафы для отделов
SergeantEcho Nov 18, 2024
289fd12
Скорректировал ящики в наёмнической
SergeantEcho Nov 18, 2024
e41524f
Провёл трубопровод к туалету
SergeantEcho Nov 18, 2024
badf5a2
Merge pull request #86 from SergeantEcho/sierra
mersen-tyn Nov 20, 2024
8b883bd
Фикс ошибок и недостатков Атласа
SergeantEcho Nov 20, 2024
c5499b0
Merge pull request #87 from SergeantEcho/atlasfix
mersen-tyn Nov 20, 2024
d72e13d
Вырезка шаттлов-станции
mersen-tyn Nov 24, 2024
3121bc0
Merge pull request #88 from Corvax-Frontier/mersen_map
mersen-tyn Nov 24, 2024
2936c42
conflicts
Zekins3366 Nov 25, 2024
8561716
Новогодний фронтир
mersen-tyn Nov 25, 2024
890f3ab
Merge pull request #90 from Corvax-Frontier/mersen_map
mersen-tyn Nov 25, 2024
23381da
Небольшое исправление Фронтиры
mersen-tyn Nov 25, 2024
963db91
Немного небольших фиксов Фронтиры
mersen-tyn Nov 26, 2024
133d6e1
И ещё фикс Фронтиры
mersen-tyn Nov 26, 2024
0664005
Новый шаттл Хунами
Nov 26, 2024
9efa8af
Merge pull request #91 from Autsaider-IM/Hunami
Sh1ntra Nov 26, 2024
5380da1
Шаттл-Баржа Венера (#92)
SergeantEcho Nov 29, 2024
d63c127
Добавил плащ капитану, грузовой поддон для получения награды, удалил …
SergeantEcho Nov 29, 2024
87d5da0
Добавил направленный вентилятор под гермозатвором научного отдела, по…
SergeantEcho Nov 29, 2024
7c93230
Добавил пожарный шлюз во вход двери РНД
SergeantEcho Nov 29, 2024
aa90be2
Изменил структуру шаттла, в особенности РНД для того чтобы дать побол…
SergeantEcho Nov 29, 2024
02be82c
Поставил шкафчик дефибрилятора с верной стороны
SergeantEcho Nov 29, 2024
9445806
Обновление шаттлов
Dec 1, 2024
07da070
Merge pull request #94 from Autsaider-IM/new_shuttle
Sh1ntra Dec 2, 2024
d662a24
Merge branch 'Corvax-Frontier:master' into venerafix
SergeantEcho Dec 3, 2024
4209f40
Merge pull request #93 from SergeantEcho/venerafix
mersen-tyn Dec 3, 2024
f2da4b7
Boost inflation
Dec 3, 2024
7db70f9
Fix's Frontier
mersen-tyn Dec 3, 2024
3b21215
Reseen modifier
Dec 3, 2024
52248b2
Merge pull request #96 from NEirotoXiN00/Inflation
Sh1ntra Dec 3, 2024
4e84c1c
conflicts
Zekins3366 Dec 5, 2024
7037194
BoomBox (#98)
NEirotoXiN00 Dec 5, 2024
759ad66
update
Zekins3366 Dec 8, 2024
498aed3
conflicts
Zekins3366 Dec 8, 2024
90b490c
Merge branch 'master' into up251124
Zekins3366 Dec 8, 2024
3c200e5
Fix's and end
mersen-tyn Dec 8, 2024
540e5cb
fix
Zekins3366 Dec 8, 2024
28a0c12
Merge pull request #89 from Corvax-Frontier/up251124
Zekins3366 Dec 8, 2024
de77595
Small fixes
mersen-tyn Dec 9, 2024
ed37982
Пофиксил все недочёты Полюса
ilivor Dec 12, 2024
61f9f0f
Merge pull request #100 from ilivor/fix_pole
mersen-tyn Dec 13, 2024
26e962e
conflicts
Zekins3366 Dec 14, 2024
d5cddba
conflicts
Zekins3366 Dec 14, 2024
d16447e
minifix
Zekins3366 Dec 14, 2024
97ec82f
minifix
Zekins3366 Dec 14, 2024
19d8bcf
fix' minor
mersen-tyn Dec 15, 2024
16d872a
Merge pull request #103 from Corvax-Frontier/up141224
Zekins3366 Dec 15, 2024
9687d3a
fix's maps
mersen-tyn Dec 15, 2024
2ac3f54
Merge pull request #106 from Corvax-Frontier/up141224
mersen-tyn Dec 15, 2024
7d5c332
Удален факс и добавлено имя факса
mersen-tyn Dec 16, 2024
ecde5f4
change aghost speed
Sh1ntra Dec 17, 2024
462d8db
Merge pull request #107 from Corvax-Frontier/aghost
Sh1ntra Dec 17, 2024
64a5a19
Fix's frontier
mersen-tyn Dec 24, 2024
3da499c
Куча всего разного Часть 1
Jan 8, 2025
736ce44
фикс
Jan 8, 2025
17a5326
фикс2
Jan 8, 2025
11f2a25
Merge pull request #108 from Autsaider-IM/PR1
mersen-tyn Jan 8, 2025
9f844b7
Заливаем небольшие фиксы по картам
mersen-tyn Jan 10, 2025
890c244
FixMerge
Vonsant Jan 12, 2025
a1d74aa
FixMerge2
Vonsant Jan 12, 2025
e8d772b
Translate
Vonsant Jan 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
73 changes: 73 additions & 0 deletions Content.Client/BoomBox/UI/BoomBoxBoundUi.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
using Content.Shared.BoomBox;
using JetBrains.Annotations;
using Robust.Client.GameObjects;

namespace Content.Client.BoomBox.UI;

[UsedImplicitly]
public sealed class BoomBoxBoundUi : BoundUserInterface
{
[ViewVariables]
private BoomBoxWindow? _window;

public BoomBoxBoundUi(EntityUid owner, Enum uiKey) : base(owner, uiKey)
{
}

protected override void Open()
{
base.Open();

_window = new BoomBoxWindow();
_window.OpenCentered();

_window.OnClose += Close;
_window.MinusVolButtonPressed += OnMinusVolButtonPressed;
_window.PlusVolButtonPressed += OnPlusVolButtonPressed;
_window.StartButtonPressed += OnStartButtonPressed;
_window.StopButtonPressed += OnStopButtonPressed;
_window.PlaybackSliderChanged += OnPlaybackSliderChanged;
}

private void OnPlaybackSliderChanged(float newPosition)
{
SendMessage(new BoomBoxSetTimeMessage(newPosition)); // Отправка сообщения при изменении ползунка
}

private void OnMinusVolButtonPressed()
{
SendMessage(new BoomBoxMinusVolMessage());
}

private void OnPlusVolButtonPressed()
{
SendMessage(new BoomBoxPlusVolMessage());
}

private void OnStartButtonPressed()
{
SendMessage(new BoomBoxStartMessage());
}

private void OnStopButtonPressed()
{
SendMessage(new BoomBoxStopMessage());
}

protected override void UpdateState(BoundUserInterfaceState state)
{
base.UpdateState(state);

if (_window == null || state is not BoomBoxUiState cast)
return;

_window.UpdateState(cast);
}

protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (disposing)
_window?.Dispose();
}
}
28 changes: 28 additions & 0 deletions Content.Client/BoomBox/UI/BoomBoxWindow.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<DefaultWindow xmlns="https://spacestation14.io"
Title="{Loc 'boombox-ui-window'}"
MinSize="280 130"
SetSize="280 130">
<BoxContainer Orientation="Vertical" VerticalExpand="True">
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
<Button Name="MinusVolButton"
Text="{Loc 'boombox-ui-minusvol-button'}"
HorizontalExpand="True"
Disabled="True" />
<Button Name="StartButton"
Text="{Loc 'boombox-ui-start-button'}"
HorizontalExpand="True"
Disabled="True" />
<Button Name="StopButton"
Text="{Loc 'boombox-ui-stop-button'}"
HorizontalExpand="True"
Disabled="True" />
<Button Name="PlusVolButton"
Text="{Loc 'boombox-ui-plusvol-button'}"
HorizontalExpand="True"
Disabled="True" />
</BoxContainer>
<Slider Name="PlaybackSlider" HorizontalExpand="True"/>
</BoxContainer>
</DefaultWindow>


41 changes: 41 additions & 0 deletions Content.Client/BoomBox/UI/BoomBoxWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using System.Linq;
using Content.Shared.BoomBox;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;

namespace Content.Client.BoomBox.UI;

[GenerateTypedNameReferences]
public sealed partial class BoomBoxWindow : DefaultWindow
{
public event Action? MinusVolButtonPressed;
public event Action? PlusVolButtonPressed;
public event Action? StartButtonPressed;
public event Action? StopButtonPressed;
public event Action<float>? PlaybackSliderChanged;

private bool _isSliderDragging = false;

public BoomBoxWindow()
{
RobustXamlLoader.Load(this);

MinusVolButton.OnPressed += _ => MinusVolButtonPressed?.Invoke();
PlusVolButton.OnPressed += _ => PlusVolButtonPressed?.Invoke();
StartButton.OnPressed += _ => StartButtonPressed?.Invoke();
StopButton.OnPressed += _ => StopButtonPressed?.Invoke();
PlaybackSlider.OnValueChanged += args => PlaybackSliderChanged?.Invoke(args.Value);
}

public void UpdateState(BoomBoxUiState state)
{
MinusVolButton.Disabled = !state.CanMinusVol;
PlusVolButton.Disabled = !state.CanPlusVol;
StartButton.Disabled = !state.CanStart;
StopButton.Disabled = !state.CanStop;

PlaybackSlider.MaxValue = state.SoundDuration;
PlaybackSlider.SetValueWithoutEvent(state.PlaybackPosition);
}
}
1 change: 0 additions & 1 deletion Content.Client/Kitchen/UI/MicrowaveBoundUserInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ protected override void Open()
("time", Loc.GetString("microwave-menu-instant-button")));
}
};

// Frontier: UI customization
_menu.Title = Loc.GetString(_menuTitle);
_menu.LeftFooter.Text = Loc.GetString(_leftFlavorText);
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/MainMenu/UI/MainMenuControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public MainMenuControl(IResourceCache resCache, IConfigurationManager configMan)
LayoutContainer.SetMarginTop(VBox, 30);
LayoutContainer.SetGrowHorizontal(VBox, LayoutContainer.GrowDirection.Begin);

var logoTexture = resCache.GetResource<TextureResource>("/Textures/Logo/logo.png");
var logoTexture = resCache.GetResource<TextureResource>("/Textures/Logo/logo-ru.png");
Logo.Texture = logoTexture;

var currentUserName = configMan.GetCVar(CVars.PlayerName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ protected override void FrameUpdate(FrameEventArgs args)
_trackedEntityLabel.Text = string.Empty;
_trackedEntityPanel.Visible = false;
}
}
}
2 changes: 2 additions & 0 deletions Content.Client/Shipyard/UI/ShipyardConsoleMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private void OnClassItemSelected(OptionButton.ItemSelectedEventArgs args)
{
SetClassText(args.Id);
PopulateProducts(_lastAvailableProtos, _lastUnavailableProtos, _freeListings, _validId);

}

private void OnEngineItemSelected(OptionButton.ItemSelectedEventArgs args)
Expand All @@ -79,6 +80,7 @@ private void SetClassText(int id)
_class = id == 0 ? null : _classStrings[id];
Classes.SelectId(id);
}

private void SetEngineText(int id)
{
_engine = id == 0 ? null : _engineStrings[id];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ await server.WaitAssertion(() =>
consoleHost.GetSessionShell(playerMan.Sessions.First()).ExecuteCommand("suicide");
Assert.Multiple(() =>
{
//Assert.That(mobStateSystem.IsAlive(player, mobStateComp)); // DeltaV:
//Assert.That(mobStateSystem.IsAlive(player, mobStateComp)); // DeltaV:
Assert.That(entManager.TryGetComponent<GhostComponent>(mindComponent.CurrentEntity, out var ghostComp) &&
!ghostComp.CanReturnToBody);
});
Expand Down
1 change: 0 additions & 1 deletion Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public sealed class PostMapInitTest
};

private static readonly string[] GameMaps = FrontierConstants.GameMapPrototypes; // Frontier: not inline constants

/// <summary>
/// Asserts that specific files have been saved as grids and not maps.
/// </summary>
Expand Down
45 changes: 44 additions & 1 deletion Content.Server/Administration/ServerApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Threading.Tasks;
using Content.Server.Administration.Managers;
using Content.Server.Administration.Systems;
using Content.Server.Database;
using Content.Server.Administration.Managers;
using Content.Server.GameTicking;
using Content.Server.GameTicking.Presets;
using Content.Server.GameTicking.Rules.Components;
using Content.Server.Maps;
using Content.Server.RoundEnd;
using Content.Shared.Administration;
using Content.Shared.Administration.Managers;
using Content.Shared.Administration;
using Content.Shared.CCVar;
Expand All @@ -21,6 +24,7 @@
using Robust.Server.ServerStatus;
using Robust.Shared.Asynchronous;
using Robust.Shared.Configuration;
using Robust.Shared.Console;
using Robust.Shared.Network;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
Expand Down Expand Up @@ -60,6 +64,10 @@ public sealed partial class ServerApi : IPostInjectInit
[Dependency] private readonly ILogManager _logManager = default!;
[Dependency] private readonly IEntitySystemManager _entitySystemManager = default!;
[Dependency] private readonly ILocalizationManager _loc = default!;
[Dependency] private readonly IPlayerLocator _locator = default!;
[Dependency] private readonly IConsoleHost _shell = default!;
[Dependency] private readonly IServerDbManager _db = default!;
[Dependency] private readonly IBanManager _bans = default!;

private string _token = string.Empty;
private ISawmill _sawmill = default!;
Expand All @@ -75,6 +83,7 @@ void IPostInjectInit.PostInject()

// Post
RegisterActorHandler(HttpMethod.Post, "/admin/actions/round/start", ActionRoundStart);
RegisterActorHandler(HttpMethod.Post, "/admin/actions/ahelp/send", ActionAhelpSend);
RegisterActorHandler(HttpMethod.Post, "/admin/actions/round/end", ActionRoundEnd);
RegisterActorHandler(HttpMethod.Post, "/admin/actions/round/restartnow", ActionRoundRestartNow);
RegisterActorHandler(HttpMethod.Post, "/admin/actions/kick", ActionKick);
Expand Down Expand Up @@ -433,6 +442,35 @@ await RespondError(

}

private async Task ActionAhelpSend(IStatusHandlerContext context, Actor actor)
{
var body = await ReadJson<DiscordAhelpBody>(context);
if (body == null)
return;
if (body.Text == null)
{
await context.RespondErrorAsync(HttpStatusCode.BadRequest);
return;
}
var bwoinkSystem = _entitySystemManager.GetEntitySystem<BwoinkSystem>();
var data = await _locator.LookupIdByNameOrIdAsync($"{body.PlayerNickname}");
if (data != null)
{
var playerUserId = new NetUserId(data.UserId);

var senderUserId = new NetUserId(body.SenderUserId);
var message = new SharedBwoinkSystem.BwoinkTextMessage(playerUserId, senderUserId, body.Text);
await RunOnMainThread(async () =>
{
if (_playerManager.TryGetSessionById(playerUserId, out var session))
{
bwoinkSystem.DiscordAhelpSendMessage(message, new EntitySessionEventArgs(session));
await RespondOk(context);
}
});
}
}

#endregion

#region Fetching
Expand Down Expand Up @@ -641,7 +679,12 @@ await RespondError(
}

#region From Client

private sealed class DiscordAhelpBody
{
public required string PlayerNickname { get; init; }
public required Guid SenderUserId { get; init; }
public string? Text { get; init; }
}
private sealed class Actor
{
public required Guid Guid { get; init; }
Expand Down
Loading
Loading