Skip to content

Commit c7292ea

Browse files
committed
sdk生成数组entitycall出错
kbengine#637
1 parent 99b44f0 commit c7292ea

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

kbe/src/server/tools/kbcmd/client_sdk_ue4.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,19 @@ std::string ClientSDKUE4::typeToType(const std::string& type)
8383
}
8484
else if (type == "PYTHON")
8585
{
86-
return type;
86+
return "TArray<uint8>";
8787
}
8888
else if (type == "PY_DICT")
8989
{
90-
return type;
90+
return "TArray<uint8>";
9191
}
9292
else if (type == "PY_TUPLE")
9393
{
94-
return type;
94+
return "TArray<uint8>";
9595
}
9696
else if (type == "PY_LIST")
9797
{
98-
return type;
98+
return "TArray<uint8>";
9999
}
100100
else if (type == "BLOB")
101101
{

kbe/src/server/tools/kbcmd/client_sdk_unity.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,19 @@ std::string ClientSDKUnity::typeToType(const std::string& type)
8181
}
8282
else if (type == "PYTHON")
8383
{
84-
return type;
84+
return "byte[]";
8585
}
8686
else if (type == "PY_DICT")
8787
{
88-
return type;
88+
return "byte[]";
8989
}
9090
else if (type == "PY_TUPLE")
9191
{
92-
return type;
92+
return "byte[]";
9393
}
9494
else if (type == "PY_LIST")
9595
{
96-
return type;
96+
return "byte[]";
9797
}
9898
else if (type == "BLOB")
9999
{

0 commit comments

Comments
 (0)