Пример #1
0
		public BackpackUiBlock(Rct _rct, AskMessage _message)
			: base(_rct, _message.GetFirstParameter<ESelectItemDialogBehavior>(), _message.Act, World.TheWorld.Avatar.GetBackPackItems().OrderBy(_thingDescriptor => _thingDescriptor.UiOrderIndex))

		{
			var category = _message.GetParameters<EItemCategory>();
			m_allowedCategories = category ?? new EItemCategory[0];
		}
Пример #2
0
        public BackpackUiBlock(Rct _rct, AskMessage _message)
            : base(_rct, _message.GetFirstParameter <ESelectItemDialogBehavior>(), _message.Act, World.TheWorld.Avatar.GetBackPackItems().OrderBy(_thingDescriptor => _thingDescriptor.UiOrderIndex))

        {
            var category = _message.GetParameters <EItemCategory>();

            m_allowedCategories = category ?? new EItemCategory[0];
        }
Пример #3
0
 public SelectItemsUiBlock(Rct _rct, AskMessage _message)
     : base(_rct, _message.GetFirstParameter <ESelectItemDialogBehavior>(), _message.Act, _message.GetParameters <EssenceDescriptor>())
 {
 }
Пример #4
0
		public SelectItemsUiBlock(Rct _rct, AskMessage _message)
			: base(_rct, _message.GetFirstParameter<ESelectItemDialogBehavior>(), _message.Act, _message.GetParameters<EssenceDescriptor>()) { }