This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SNew(SListView< FString* >) | |
| .ItemHeight(24) | |
| .ListItemsSource( &Items ) | |
| // Need to learn how to use OnGenerateRow | |
| .OnGenerateRow(this, &SGameUIComposition::OnGenerateRowForList) | |
| .HeaderRow | |
| ( | |
| SNew(SHeaderRow) | |
| + SHeaderRow::Column("Skill").DefaultLabel(FText::FromString("Skill")) | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FSlateColor SStrategySlateHUDWidget::GetOverlayColor() const | |
| { | |
| const FStrategyHUDSoundsStyle& HUDSounds = FStrategyStyle::Get().GetWidgetStyle<FStrategyHUDSoundsStyle>("DefaultStrategyHUDSoundsStyle"); | |
| FLinearColor Result(0,0,0,0.3f); | |
| const float PosExiting = FMath::Max(MenuHelper::GetSoundPlaybackPosition(OwnerHUD->PlayerOwner->GetWorld(),HUDSounds.ExitGameSound,this, &SStrategySlateHUDWidget::ExitGame), | |
| MenuHelper::GetSoundPlaybackPosition(OwnerHUD->PlayerOwner->GetWorld(),HUDSounds.ExitGameSound,this, &SStrategySlateHUDWidget::ReturnToMainMenu)); | |
| Result.A = 0.3f + 0.7f * PosExiting; | |
| if (PosExiting > 0.95f) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include("lib/Iugu.php"); | |
| // Iugu::setApiKey("6de701b310dd429546d35ee54f195d67"); | |
| class Ts_Iugu_ChurnRate extends APIResource { | |
| public static function last30Days() { | |
| $url = Iugu::getBaseURI() . "/accounts/last_30_days_churn_rate"; | |
| $response = self::API()->request( | |
| "GET", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) | |
| # Mayor.create(name: 'Emanuel', city: cities.first) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ApplicationController < ActionController::Base | |
| # Prevent CSRF attacks by raising an exception. | |
| # For APIs, you may want to use :null_session instead. | |
| protect_from_forgery with: :exception | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global.SkillTypes.FISHING = 100 | |
| onUse = ( goObject, goPlayer ) -> | |
| if CheckSkill( goPlayer, SkillTypes.FISHING, 0, 1000 ) | |
| SystemMessage "You catch a fish" | |
| else | |
| SystemMessage "You failed to catch a fish" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream platform { | |
| server unix:/tmp/unicorn.platform.sock fail_timeout=0; | |
| server unix:/tmp/unicorn.platform.sock fail_timeout=0; | |
| server unix:/tmp/unicorn.platform.sock fail_timeout=0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [WindowsNoEditor DeviceProfile] | |
| CVars=r.PostProcessAAQuality=1 | |
| CVars=sg.ShadowQuality=2 | |
| CVars=sg.TextureQuality=3 | |
| CVars=sg.EffectsQuality=2 | |
| CVars=r.screenPercentage=-1 | |
| CVars=r.DetailMode=2 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1>------ Skipped Build: Project: DotNETUtilities, Configuration: Development Any CPU ------ | |
| 1>Project not selected to build for this solution configuration | |
| 2>------ Skipped Build: Project: DeploymentInterface, Configuration: Development Any CPU ------ | |
| 2>Project not selected to build for this solution configuration | |
| 3>------ Skipped Build: Project: MobileDeviceInterface, Configuration: Development Any CPU ------ | |
| 3>Project not selected to build for this solution configuration | |
| 4>------ Skipped Build: Project: AutomationToolLauncher, Configuration: Development Any CPU ------ | |
| 4>Project not selected to build for this solution configuration | |
| 5>------ Skipped Build: Project: Distill, Configuration: Development Any CPU ------ | |
| 5>Project not selected to build for this solution configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnrealBuildTool; | |
| using System.Collections.Generic; | |
| public class NetherdeepServerTarget : TargetRules | |
| { | |
| public NetherdeepServerTarget(TargetInfo Target) | |
| { | |
| Type = TargetType.Server; | |
| bUsesSteam = true; | |
| } |