This file contains 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
fn addController<T: HasController>(controller: T){ | |
println("ADdded controller");//Hier in Registry aufnehmen, durch namen hin routen | |
} |
This file contains 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
import PokeAPI from 'pokemongo-api'; | |
const Poke = new PokeAPI(); | |
function lerp(a, b, t) { | |
var len = a.length; | |
if (b.length != len) return; | |
var x = []; | |
for (var i = 0; i < len; i++) |
This file contains 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
function SinglePlayer.Server:OnClientConnect( channelId ) | |
local params = | |
{ | |
name = "Dude", | |
class = "Player", | |
position = {x=0, y=0, z=0}, | |
rotation = {x=0, y=0, z=0}, | |
scale = {x=1, y=1, z=1}, | |
}; | |
player = Actor.CreateActor(channelId, params); |
This file contains 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
function KillAll() | |
for i, entity in pairs(System.GetEntitiesInSphereByClass(player:GetWorldPos(), 200, "NPC")) do | |
entity.soul:DealDamage(100, 100) | |
end | |
for i, entity in pairs(System.GetEntitiesInSphereByClass(player:GetWorldPos(), 200, "NPC_Female")) do | |
entity.soul:DealDamage(100, 100) | |
end | |
end | |
-- Opens a file in append mode |
This file contains 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
defmodule CryptoDiscord.Application do | |
use Application | |
alias Alchemy.Client | |
defmodule Commands do | |
use Alchemy.Cogs | |
alias Alchemy.{Client, Cache, User, Embed} | |
import Embed |
This file has been truncated, but you can view the full file.
This file contains 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
[37m[INFO][winit::platform::platform::x11::window] Guessed window DPI factor: 1.0833333333333333[0m | |
[37m[DEBUG][winit::platform::platform::x11::window] Calculated physical dimensions: 542x542[0m | |
[37m[INFO][amethyst::app] Initializing Amethyst...[0m | |
[37m[INFO][amethyst::app] Version: 0.11.1[0m | |
[37m[INFO][amethyst::app] Platform: x86_64-unknown-linux-gnu[0m | |
[37m[INFO][amethyst::app] Amethyst git commit: fc9243e292affa8b48dc801af05bb94fe7db2074[0m | |
[37m[INFO][amethyst::app] Rustc version: 1.35.0 Stable[0m | |
[37m[INFO][amethyst::app] Rustc git commit: 3c235d5600393dfe6c36eeed34042efad8d4f26e[0m | |
[37m[TRACE][amethyst::app] Entering `ApplicationBuilder::build`[0m | |
[37m[DEBUG][rendy_factory::factory] Creating factory[0m |
This file contains 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
obj.AddGameMenuOption("village", "village_work", "Work", game_menu_work_here_on_condition, this.game_menu_work_village_on_consequence,false,3); | |
obj.AddWaitGameMenu("village_work_menus", "You are Working", null, game_menu_village_work_on_condition, null, onWaitTick, GameMenu.MenuAndOptionType.WaitMenuHideProgressAndHoursOption, GameOverlays.MenuOverlayType.SettlementWithBoth); | |
obj.AddGameMenuOption("village_work_menus", "work_leave", "Stop Working", game_menu_stop_waiting_at_village_on_condition, this.game_menu_stop_working_at_village_on_consequence, true); | |
This file contains 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 TaleWorlds.Engine.GauntletUI; | |
using TaleWorlds.Engine.Screens; | |
using TaleWorlds.GauntletUI.Data; | |
using TaleWorlds.InputSystem; | |
using TaleWorlds.MountAndBlade.View.Missions; | |
namespace CombatDevTest | |
{ | |
[OverrideView(typeof(HostOptionsScreen))] | |
public class HostOptionsGauntletScreen : ScreenBase |
This file contains 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 System.Collections.Generic; | |
using TaleWorlds.CampaignSystem; | |
using TaleWorlds.SaveSystem; | |
namespace TestSPMod | |
{ | |
public class CustomSaveTickerTest : CampaignBehaviorBase | |
{ | |
public override void RegisterEvents() | |
{ |
This file contains 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
@doc "Alle drehenede x" | |
defprotocol Drehzahl do | |
@doc "Berechnet die Aktuelle Drehzahl" | |
def rpm(device) | |
end | |
defimpl Drehzahl, for: Any do | |
def rpm(any), do: any.rpm | |
end |
OlderNewer