Skip to content

Commit 37a46d5

Browse files
committed
sdk生成数组entitycall出错
kbengine/kbengine#637
1 parent 9eead0e commit 37a46d5

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
@@ -101,19 +101,19 @@ std::string ClientSDKUE4::typeToType(const std::string& type)
101101
}
102102
else if (type == "PYTHON")
103103
{
104-
return type;
104+
return "TArray<uint8>";
105105
}
106106
else if (type == "PY_DICT")
107107
{
108-
return type;
108+
return "TArray<uint8>";
109109
}
110110
else if (type == "PY_TUPLE")
111111
{
112-
return type;
112+
return "TArray<uint8>";
113113
}
114114
else if (type == "PY_LIST")
115115
{
116-
return type;
116+
return "TArray<uint8>";
117117
}
118118
else if (type == "BLOB")
119119
{

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,19 @@ std::string ClientSDKUnity::typeToType(const std::string& type)
9999
}
100100
else if (type == "PYTHON")
101101
{
102-
return type;
102+
return "byte[]";
103103
}
104104
else if (type == "PY_DICT")
105105
{
106-
return type;
106+
return "byte[]";
107107
}
108108
else if (type == "PY_TUPLE")
109109
{
110-
return type;
110+
return "byte[]";
111111
}
112112
else if (type == "PY_LIST")
113113
{
114-
return type;
114+
return "byte[]";
115115
}
116116
else if (type == "BLOB")
117117
{

0 commit comments

Comments
 (0)