s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
NetworkAccessor
AssignOwnership
chevron_left
Classes
class
NetworkAccessor
search
Constructors
functions
NetworkAccessor
Properties
data_object
Active
data_object
AlwaysTransmit
data_object
CreatorId
data_object
Flags
data_object
Interpolation
data_object
IsCreator
data_object
IsOwner
data_object
IsProxy
data_object
NetworkOrphaned
data_object
Owner
remove_circle
OwnerConnection
data_object
OwnerId
data_object
OwnerTransfer
data_object
RootGameObject
Methods
functions
AssignOwnership
functions
ClearInterpolation
remove_circle
DisableInterpolation
functions
DropOwnership
remove_circle
EnableInterpolation
functions
Refresh
functions
SetOrphanedMode
functions
SetOwnerTransfer
remove_circle
Spawn
functions
TakeOwnership
menu
AssignOwnership
Set the owner of this object to the specified Sandbox.Connection. <br /><br /> Note: whether you can assign ownership of this object depends on the Sandbox.GameObject.NetworkAccessor.OwnerTransfer of this networked object.
method
bool
AssignOwnership
(
Connection
channel
)
Parameters
Name
Type
Description
channel
Connection
Returns
Type
Description
bool
Exceptions
Type
When
System.ArgumentNullException
cannot be null. To clear owner, use
instead.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.