s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Network
Connection
HasInventoryItem
chevron_left Network
class
Connection

Constructors

lockConnection

Properties

data_objectAddressdata_objectAimAnglesdata_objectCanDestroyObjectsdata_objectCanRefreshObjectsdata_objectCanSpawnObjectsdata_objectConnectionTimedata_objectDisplayNamedata_objectFriendInfodata_objectIddata_objectIsActivedata_objectIsConnectingdata_objectIsDedicatedServerdata_objectIsHostdata_objectLatencydata_objectMessagesRecieveddata_objectMessagesSentdata_objectMouseDeltadata_objectMouseWheeldata_objectNamedata_objectOwnerSteamIddata_objectPartyIddata_objectPingdata_objectStatsdata_objectSteamIddata_objectTime

Methods

functionsDistanceSquaredfunctionsDownfunctionsGetAnalogfunctionsGetUserDatafunctionsHasInventoryItemfunctionsHasPermissionfunctionsKeyDownfunctionsKeyPressedfunctionsKeyReleasedfunctionsKickfunctionsPressedfunctionsReleasedfunctionsSendLogfunctionsSendMessagefunctionsSendRequestfunctionsSendResponse

Static Properties

data_objectAlldata_objectHostdata_objectLocal

Static Methods

functionsFind
HasInventoryItem
Check if this connection has a specific inventory item in their Steam Inventory
method
bool HasInventoryItem (int definitionId)

Parameters

NameTypeDescription
definitionId int

Returns

TypeDescription
bool
Declared in Sandbox.Connection ยท Assembly Sandbox.Engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter