新增/修改
新增 - getContainerType 修改 - HandleRequestActionEvent
This commit is contained in:
+2
-2
@@ -266,7 +266,7 @@ void Export_Event_API() {
|
||||
}
|
||||
case doHash("HandleRequestAction"): {
|
||||
auto Call = RemoteCall::importAs<
|
||||
bool(Player * player, std::string const& actionType, int ContainerNetId, int slot)>(
|
||||
bool(Player * player, std::string const& actionType, std::string const& containerNetId, int slot)>(
|
||||
eventName,
|
||||
eventId
|
||||
);
|
||||
@@ -278,7 +278,7 @@ void Export_Event_API() {
|
||||
result = Call(
|
||||
&ev.self(),
|
||||
magic_enum::enum_name(requestAction->mActionType).data(),
|
||||
(int)requestAction->getSrc().mOpenContainerNetId,
|
||||
magic_enum::enum_name(requestAction->getSrc().mOpenContainerNetId).data(),
|
||||
requestAction->getSrc().mSlot
|
||||
);
|
||||
} catch (...) {}
|
||||
|
||||
Reference in New Issue
Block a user