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.ModAPIAssembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax void ChangeGridOwnership(
long playerId,
MyOwnershipShareModeEnum shareMode
)
Parameters
- playerId
- Type: SystemInt64
new owner id - shareMode
- Type: MyOwnershipShareModeEnum
new share mode
See Also