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
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. | |
#include "GameObjectLookupTable.generated.h" | |
#pragma once | |
USTRUCT(Blueprintable) | |
struct FGameObjectLookupTable : public FTableRowBase | |
{ | |
GENERATED_USTRUCT_BODY() |
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
ESocketErrors getErrors() | |
{ | |
if (serverSocket == NULL) return SE_NO_ERROR; | |
// HotFix for 316 (Unkown error) | |
if (errno == 316) errno = 0; | |
return ISocketSubsystem::Get()->GetLastErrorCode(); | |
} |
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
[2014.04.17-13.05.47:674][148]LogSockets:Warning: Unhandled socket error! Error Code: 316 | |
/Users/build/BuildFarm/build_++depot+UE4-Releases+4.0/Engine/Source/Runtime/Sockets/Private/BSDSockets/SocketSubsystemBSD.cpp(218): Assertion failed: 0 |
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
UFUNCTION(BlueprintCallable, Category = "ServerProxy") | |
static TSubclassOf<AActor> FindGOCByString(const FString name); |
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
Net = require 'net' | |
Dissolve = require 'dissolve' | |
Util = require "util" | |
Concentrate = require 'concentrate' | |
PCT_NOHUP = 1 | |
PCT_LOGINREQUEST = 2 | |
PCT_LOGINRESPONSE = 3 | |
PCT_ADM_SEND_MSG = 4 | |
PCT_ADM_MSG = 5 |
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
USerializablePacket* UServerProxyBlueprintInterface::CreatePacket() | |
{ | |
return NewObject<USerializablePacket>(); | |
} |
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
//oo FString | |
std::ostream& operator<<( std::ostream & s, FString& c ) | |
{ | |
uint16 fstringLength = c.Len(); | |
s.write( reinterpret_cast<const char*>(&fstringLength), sizeof(fstringLength) ); | |
return s; | |
} | |
std::istream& operator>>( std::istream & s, FString& c ) | |
{ |
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
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. | |
namespace UnrealBuildTool.Rules | |
{ | |
public class OnlineSubsystemUsecode : ModuleRules | |
{ | |
public OnlineSubsystemUsecode(TargetInfo Target) | |
{ | |
PublicIncludePaths.AddRange( | |
new string[] { |
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
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. | |
#pragma once | |
#include "ModuleManager.h" | |
/** | |
* The public interface to this module | |
*/ |
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
FIPv4Endpoint myServerAddress; | |
FIPv4Endpoint::Parse( FString("23.92.18.101:50010"), &myServerAddress); | |
// FSocket* MySocket = FTcpSocketBuilder().AsNonBlocking().AsReusable().BoundToPort(MyServerPort).Build(); | |
FSocket* MySocket = FTcpSocketBuilder().AsNonBlocking().AsReusable().Build(); | |
MySocket->Connect( myServerAddress.ToInternetAddr() ); | |