#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "UObject/Interface.h"
#include "BetterKillerInterface.generated.h"
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
New Challenger: andreabotti.bf | |
Output: 0123456789ABCDEF | |
Tape: [0, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] | |
executed 155 opcodes in 965 cycles | |
- | |
New Challenger: andreadecaro.bf | |
Output: 0123456789ABCDEF | |
Tape: [0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] | |
executed 122 opcodes in 1244 cycles | |
- |
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
TArray<FLuaValue> ULuaReflectionState::MetaMethodIndex(TArray<FLuaValue> LuaArgs) | |
{ | |
TArray<FLuaValue> ReturnValues; | |
UObject* Object = LuaArgs[0].Object; | |
FString Key = LuaArgs[1].ToString(); | |
if (!Object) | |
{ | |
return ReturnValues; |
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
FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked<FAssetRegistryModule>("AssetRegistry"); | |
TArray<FAssetData> AssetData; | |
AssetRegistryModule.Get().GetAssetsByClass(UBlueprint::StaticClass()->GetFName(), AssetData, true); | |
for (FAssetData& Asset : AssetData) | |
{ | |
if (Asset.ObjectPath.ToString().StartsWith("/Game/")) |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Aiv.Fast2D; | |
using Aiv.Audio; | |
namespace LearningAudio | |
{ |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.Net; | |
using System.Net.Sockets; | |
using System; | |
using System.IO; | |
public class PacketManager : MonoBehaviour | |
{ |
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 socket | |
import time | |
import select | |
class MultiClientServer: | |
def __init__(self, address, port): | |
self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) |
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 socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
s.bind(('127.0.0.1', 8081)) | |
s.listen(10) | |
while True: | |
new_client, sender = s.accept() |
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 socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
#s.connect(('towel.blinkenlights.nl', 23)) | |
s.connect(('aiv01.it', 80)) | |
first_line = 'GET /corsi/programmazione HTTP/1.0\r\n' | |
first_header = 'Host: aiv01.it\r\n' | |
second_header = 'Connection: close\r\n' |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.Net; | |
using System.Net.Sockets; | |
using System; | |
public class PacketsManager : MonoBehaviour | |
{ | |
[SerializeField] |
NewerOlder