Example #1
0
 public Physics(
     JSONNode jNode_)
     : base(jNode_)
 {
     BaseDirection   = Serializer.ReadEnum <EDirection>(jNode_["baseDirection"]);
     AddedDirection  = jNode_["addedDirection"];
     Normalized      = jNode_["normalized"].AsBool;
     Magnitude       = jNode_["magnitude"];
     TravelType      = Serializer.ReadEnum <ETravelType>(jNode_["travelType"]);
     TravelParameter = jNode_["travelParameter"];
 }
Example #2
0
 public Physics(
     Id id_,
     EDirection baseDirection,
     MetricReference addedDirection_,
     bool normalized_,
     MetricReference magnitude_,
     ETravelType travelType_,
     MetricReference travelParameter_)
     : base(id_)
 {
     BaseDirection   = baseDirection;
     AddedDirection  = addedDirection_;
     Normalized      = normalized_;
     Magnitude       = magnitude_;
     TravelType      = travelType_;
     TravelParameter = travelParameter_;
 }
Example #3
0
 /// <summary>
 /// Travel to a different map or IP address. Calls the PreClientTravel event before doing anything.
 /// NOTE: This is implemented as a locally executed wrapper for ClientTravelInternal, to avoid API compatability breakage
 /// @param URL                           A string containing the mapname (or IP address) to travel to, along with option key/value pairs
 /// @param TravelType            specifies whether the client should append URL options used in previous travels; if true is specified
 ///                                                      for the bSeamlesss parameter, this value must be TRAVEL_Relative.
 /// @param bSeamless                     Indicates whether to use seamless travel (requires TravelType of TRAVEL_Relative)
 /// @param MapPackageGuid        The GUID of the map package to travel to - this is used to find the file when it has been autodownloaded,
 ///                                                      so it is only needed for clients
 /// </summary>
 public extern void ClientTravel(FString URL, ETravelType TravelType, bool bSeamless, FGuid MapPackageGuid);