Skip to content

Commit

Permalink
sdk生成数组entitycall出错
Browse files Browse the repository at this point in the history
  • Loading branch information
kebiao committed May 25, 2018
1 parent 9eead0e commit 37a46d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions kbe/src/server/tools/kbcmd/client_sdk_ue4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ std::string ClientSDKUE4::typeToType(const std::string& type)
}
else if (type == "PYTHON")
{
return type;
return "TArray<uint8>";
}
else if (type == "PY_DICT")
{
return type;
return "TArray<uint8>";
}
else if (type == "PY_TUPLE")
{
return type;
return "TArray<uint8>";
}
else if (type == "PY_LIST")
{
return type;
return "TArray<uint8>";
}
else if (type == "BLOB")
{
Expand Down
8 changes: 4 additions & 4 deletions kbe/src/server/tools/kbcmd/client_sdk_unity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,19 @@ std::string ClientSDKUnity::typeToType(const std::string& type)
}
else if (type == "PYTHON")
{
return type;
return "byte[]";
}
else if (type == "PY_DICT")
{
return type;
return "byte[]";
}
else if (type == "PY_TUPLE")
{
return type;
return "byte[]";
}
else if (type == "PY_LIST")
{
return type;
return "byte[]";
}
else if (type == "BLOB")
{
Expand Down

0 comments on commit 37a46d5

Please sign in to comment.