Class MyIDModule
This should be replaced by MyEntityOwnershipComponent
Inheritance
System.Object
MyIDModule
Assembly: Sandbox.Game.dll
Syntax
public class MyIDModule : Object
Constructors
MyIDModule()
Declaration
MyIDModule(Int64, MyOwnershipShareModeEnum)
Declaration
public MyIDModule(long owner, MyOwnershipShareModeEnum shareMode)
Parameters
Properties
Owner
Declaration
public long Owner { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
ShareMode
Declaration
public MyOwnershipShareModeEnum ShareMode { get; set; }
Property Value
Methods
GetRelationPlayerBlock(Int64, Int64, MyOwnershipShareModeEnum, MyRelationsBetweenPlayerAndBlock, MyRelationsBetweenFactions, MyRelationsBetweenPlayerAndBlock, MyRelationsBetweenPlayerAndBlock)
Declaration
public static MyRelationsBetweenPlayerAndBlock GetRelationPlayerBlock(long owner, long user, MyOwnershipShareModeEnum share, MyRelationsBetweenPlayerAndBlock noFactionResult, MyRelationsBetweenFactions defaultFactionRelations, MyRelationsBetweenPlayerAndBlock defaultShareWithAllRelations, MyRelationsBetweenPlayerAndBlock defaultNoUser)
Parameters
Returns
GetRelationPlayerPlayer(Int64, Int64, MyRelationsBetweenFactions, MyRelationsBetweenPlayers, Boolean, Boolean)
Declaration
public static MyRelationsBetweenPlayers GetRelationPlayerPlayer(long owner, long user, MyRelationsBetweenFactions defaultFactionRelations, MyRelationsBetweenPlayers defaultNoFactionRelation, bool treatFriendsAsAllies = true, bool treatNobodyAsNeutral = false)
Parameters
Returns
GetUserRelationToOwner(Int64, MyRelationsBetweenPlayerAndBlock)
Declaration
public MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner(long identityId, MyRelationsBetweenPlayerAndBlock defaultNoUser)
Parameters
Returns