-
Notifications
You must be signed in to change notification settings - Fork 87
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
Автоматические доступы, что выдаются в зависимости от кода станции #1004
base: master
Are you sure you want to change the base?
Conversation
Может ли агент скопировать доступы через агентскую карту что были выданы таким способом через код станции? |
public string CurrentAlertLevel; | ||
|
||
[DataField("redAlertAccesses")] | ||
public ProtoId<AlertAccessesPrototype> RedAlertAccesses; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Что это за пиздец, зачем сколько переменных здесь, создай просто Dict<уровень, доступы> и прописывай его через прототипы.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
поправлю
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ready
/// Defines a single access level that can be stored on ID cards and checked for. | ||
/// </summary> | ||
[Prototype("alertAccessesPrototype")] | ||
public sealed partial class AlertAccessesPrototype : IPrototype |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зачем делать отдельный прототип.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
удалил
id: SecurityRedAlertAccesses | ||
access: | ||
- Engineer | ||
- Command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Почему так мало доступов расширяется? РНД? Медбей? Карго которое уже заказало 20 ящиков пушек?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
это для теста пока, потом дополню
не сможет |
Changelog
🆑 kanopus7