Skip to content

Commit

Permalink
client: comment out VirtualEntityGroup.getByRemoteID
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Sep 4, 2023
1 parent c4a8960 commit 51d8e23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shared/bindings/VirtualEntityGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ static void StaticGetByID(const v8::FunctionCallbackInfo<v8::Value>& info)

#ifdef ALT_CLIENT_API

/* NOTE (xLuxy): Client's are not aware of remote groups (yet?)
static void StaticGetByRemoteId(const v8::FunctionCallbackInfo<v8::Value>& info)
{
V8_GET_ISOLATE_CONTEXT_RESOURCE();
Expand All @@ -53,7 +54,7 @@ static void StaticGetByRemoteId(const v8::FunctionCallbackInfo<v8::Value>& info)
}
V8_RETURN_NULL();
}
}*/

#endif

Expand Down Expand Up @@ -139,7 +140,7 @@ extern V8Class v8VirtualEntityGroup("VirtualEntityGroup",

V8Helpers::SetStaticMethod(isolate, tpl, "getByID", StaticGetByID);
#ifdef ALT_CLIENT_API
V8Helpers::SetStaticMethod(isolate, tpl, "getByRemoteID", StaticGetByRemoteId);
// V8Helpers::SetStaticMethod(isolate, tpl, "getByRemoteID", StaticGetByRemoteId);
#endif
V8Helpers::SetStaticAccessor(isolate, tpl, "all", AllGetter);

Expand Down

0 comments on commit 51d8e23

Please sign in to comment.