maket online
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "Engine/levelstreamingdynamic.h"
|
||||
|
||||
CSocket* soc;
|
||||
char ipc[100];
|
||||
|
||||
/*for working tarray::Contains*/
|
||||
bool operator==(const Fcppcoords& c1, const Fcppcoords& c2) {
|
||||
@@ -132,9 +133,11 @@ void UcppGI::avoidAutoState()
|
||||
|
||||
void UcppGI::makeSocket(FString ip, int port)
|
||||
{
|
||||
char* ipc=NULL;
|
||||
wcstombs(ipc, *ip, ip.Len());
|
||||
soc = new CSocket(ipc, port);
|
||||
//static char ipc[100];
|
||||
wcstombs(&ipc[0], *ip, ip.Len()+1);
|
||||
//size_t sz;
|
||||
//wcstombs_s(&sz, ipc, ip.Len(),*ip,ip.Len());
|
||||
soc = new CSocket(&ipc[0], port);
|
||||
}
|
||||
|
||||
void UcppGI::setColor(uint8 code, FColor color)
|
||||
|
||||
Reference in New Issue
Block a user