Struct Route
- Namespace
- KSP.Networking.MP
- Assembly
- Assembly-CSharp.dll
- Inherited Members
-
- Extension Methods
-
Constructors
Route(RouteTo)
public Route(RouteTo routeTo)
Parameters
routeTo RouteTo
Route(RouteTo, byte)
public Route(RouteTo routeTo, byte specificPlayerId)
Parameters
routeTo RouteTo
specificPlayerId byte
Route(RouteTo, byte, int)
public Route(RouteTo routeTo, byte specificPlayerId, int specificAgencyId)
Parameters
routeTo RouteTo
specificPlayerId byte
specificAgencyId int
Route(RouteTo, int)
public Route(RouteTo routeTo, int agencyPlayerId)
Parameters
routeTo RouteTo
agencyPlayerId int
Route(byte, RouteTo)
public Route(byte originatingPlayerId, RouteTo routeTo)
Parameters
originatingPlayerId byte
routeTo RouteTo
Route(byte, RouteTo, byte)
public Route(byte originatingPlayerId, RouteTo routeTo, byte specificPlayerId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificPlayerId byte
Route(byte, RouteTo, byte, int)
public Route(byte originatingPlayerId, RouteTo routeTo, byte specificPlayerId, int specificAgencyId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificPlayerId byte
specificAgencyId int
Route(byte, RouteTo, int)
public Route(byte originatingPlayerId, RouteTo routeTo, int agencyPlayerId)
Parameters
originatingPlayerId byte
routeTo RouteTo
agencyPlayerId int
Fields
DEFAULT_ORIGINATING_PLAYER_ID
public const byte DEFAULT_ORIGINATING_PLAYER_ID = 0
Field Value
- byte
DEFAULT_ROUTE_TO
public const RouteTo DEFAULT_ROUTE_TO = None
Field Value
- RouteTo
DEFAULT_SPECIFIC_AGENCY_ID
public const int DEFAULT_SPECIFIC_AGENCY_ID = 0
Field Value
- int
DEFAULT_SPECIFIC_PLAYER_ID
public const byte DEFAULT_SPECIFIC_PLAYER_ID = 0
Field Value
- byte
Properties
NeedAgencyId
public bool NeedAgencyId { get; }
Property Value
- bool
NeedPlayerId
public bool NeedPlayerId { get; }
Property Value
- bool
OriginatingPlayerId
public byte OriginatingPlayerId { get; }
Property Value
- byte
RouteFlags
public RouteFlag RouteFlags { get; }
Property Value
- RouteFlag
RouteTo
public RouteTo RouteTo { get; }
Property Value
- RouteTo
ShouldProcess
public bool ShouldProcess { get; }
Property Value
- bool
ShouldProcessLocally
public bool ShouldProcessLocally { get; }
Property Value
- bool
ShouldSendToServer
public bool ShouldSendToServer { get; }
Property Value
- bool
SpecificAgencyId
public int SpecificAgencyId { get; }
Property Value
- int
SpecificPlayerId
public byte SpecificPlayerId { get; }
Property Value
- byte
Methods
GetDebugString(bool)
public string GetDebugString(bool abbrev)
Parameters
abbrev bool
Returns
- string
GetRouteFlags(RouteTo)
public static RouteFlag GetRouteFlags(RouteTo routeTo)
Parameters
routeTo RouteTo
Returns
- RouteFlag
Init(RouteTo)
public void Init(RouteTo routeTo)
Parameters
routeTo RouteTo
Init(RouteTo, byte)
public void Init(RouteTo routeTo, byte specificPlayerId)
Parameters
routeTo RouteTo
specificPlayerId byte
Init(RouteTo, byte, int)
public void Init(RouteTo routeTo, byte specificPlayerId, int specificAgencyId)
Parameters
routeTo RouteTo
specificPlayerId byte
specificAgencyId int
Init(RouteTo, int)
public void Init(RouteTo routeTo, int specificAgencyId)
Parameters
routeTo RouteTo
specificAgencyId int
Init(byte, RouteTo)
public void Init(byte originatingPlayerId, RouteTo routeTo)
Parameters
originatingPlayerId byte
routeTo RouteTo
Init(byte, RouteTo, byte)
public void Init(byte originatingPlayerId, RouteTo routeTo, byte specificPlayerId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificPlayerId byte
Init(byte, RouteTo, byte, int)
public void Init(byte originatingPlayerId, RouteTo routeTo, byte specificPlayerId, int specificAgencyId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificPlayerId byte
specificAgencyId int
Init(byte, RouteTo, int)
public void Init(byte originatingPlayerId, RouteTo routeTo, int specificAgencyId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificAgencyId int
ResetAllValues()
public void ResetAllValues()
Set(RouteTo)
public void Set(RouteTo routeTo)
Parameters
routeTo RouteTo
Set(RouteTo, byte)
public void Set(RouteTo routeTo, byte specificPlayerId)
Parameters
routeTo RouteTo
specificPlayerId byte
Set(RouteTo, byte, int)
public void Set(RouteTo routeTo, byte specificPlayerId, int specificAgencyId)
Parameters
routeTo RouteTo
specificPlayerId byte
specificAgencyId int
Set(RouteTo, int)
public void Set(RouteTo routeTo, int specificAgencyId)
Parameters
routeTo RouteTo
specificAgencyId int
Set(byte, RouteTo)
public void Set(byte originatingPlayerId, RouteTo routeTo)
Parameters
originatingPlayerId byte
routeTo RouteTo
Set(byte, RouteTo, byte)
public void Set(byte originatingPlayerId, RouteTo routeTo, byte specificPlayerId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificPlayerId byte
Set(byte, RouteTo, byte, int)
public void Set(byte originatingPlayerId, RouteTo routeTo, byte specificPlayerId, int specificAgencyId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificPlayerId byte
specificAgencyId int
Set(byte, RouteTo, int)
public void Set(byte originatingPlayerId, RouteTo routeTo, int specificAgencyId)
Parameters
originatingPlayerId byte
routeTo RouteTo
specificAgencyId int
SetOriginatingPlayerId(byte)
public void SetOriginatingPlayerId(byte originatingPlayerId)
Parameters
originatingPlayerId byte
SetRouteTo(RouteTo)
public void SetRouteTo(RouteTo routeTo)
Parameters
routeTo RouteTo
SetSpecificAgencyId(int)
public void SetSpecificAgencyId(int specificAgencyId)
Parameters
specificAgencyId int
SetSpecificPlayerId(byte)
public void SetSpecificPlayerId(byte specificPlayerId)
Parameters
specificPlayerId byte
ToString()
public override string ToString()
Returns
- string