Click or drag to resize
TeleportedEventArgs Class

Special object used to hold arguments passed to the TeleportedEventHandler delegate. Currently no information is passed to a creature after teleportation.

Inheritance Hierarchy

Namespace: Terrarium.Sdk.Classes.Creature.Events
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
[SerializableAttribute]
public class TeleportedEventArgs : OrganismEventArgs

The TeleportedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodTeleportedEventArgs
Initializes a new instance of the TeleportedEventArgs class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString

Used to get string information about this event args for debugging purposes.

(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyLocalTeleport

Provides information on whether you were teleported to a new machine or back to the local machine the teleportation started from. When you are teleported locally you shouldn't have to set up your creature, it should be in the same state as when the teleport began.

Note that your creature will be in a new location on the map. Note also that your creature will have missed some time within the game (not counted towards total age), because of the time it takes to teleport.

Top
See Also