Click or drag to resize
IMyCubeGridChangeGridOwnership Method

[This is preliminary documentation and is subject to change.]

Changes owner of all blocks on grid Call only on server!

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void ChangeGridOwnership(
	long playerId,
	MyOwnershipShareModeEnum shareMode
)

Parameters

playerId
Type: SystemInt64
new owner id
shareMode
Type: MyOwnershipShareModeEnum
new share mode
See Also