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]; }
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]; }
public SelectItemsUiBlock(Rct _rct, AskMessage _message) : base(_rct, _message.GetFirstParameter <ESelectItemDialogBehavior>(), _message.Act, _message.GetParameters <EssenceDescriptor>()) { }
public SelectItemsUiBlock(Rct _rct, AskMessage _message) : base(_rct, _message.GetFirstParameter<ESelectItemDialogBehavior>(), _message.Act, _message.GetParameters<EssenceDescriptor>()) { }