Class PersistentObjectTracker
- Namespace
- MoreSlugcats
- Assembly
- Assembly-CSharp.dll
public class PersistentObjectTracker
- Inheritance
-
PersistentObjectTracker
- Inherited Members
-
Constructors
PersistentObjectTracker(AbstractPhysicalObject)
public PersistentObjectTracker(AbstractPhysicalObject obj)
Parameters
obj AbstractPhysicalObject
Fields
desiredSpawnLocation
public WorldCoordinate desiredSpawnLocation
Field Value
- WorldCoordinate
lastSeenRegion
public string lastSeenRegion
Field Value
- string
lastSeenRoom
public string lastSeenRoom
Field Value
- string
obj
public AbstractPhysicalObject obj
Field Value
- AbstractPhysicalObject
objRepresentation
public string objRepresentation
Field Value
- string
realizedThisCycle
public bool realizedThisCycle
Field Value
- bool
repData
Field Value
- string
repType
public AbstractPhysicalObject.AbstractObjectType repType
Field Value
- AbstractPhysicalObject.AbstractObjectType
unrecognizedAttributes
public string[] unrecognizedAttributes
Field Value
- string[]
Methods
AbstractizeRepresentation(World)
public void AbstractizeRepresentation(World w)
Parameters
w World
ChangeDesiredSpawnLocation(WorldCoordinate)
public void ChangeDesiredSpawnLocation(WorldCoordinate newCoord)
Parameters
newCoord WorldCoordinate
CompatibleWithTracker(AbstractPhysicalObject)
public bool CompatibleWithTracker(AbstractPhysicalObject abstractObj)
Parameters
abstractObj AbstractPhysicalObject
Returns
- bool
FromString(string, Name)
public void FromString(string str, SlugcatStats.Name saveSlot)
Parameters
str string
saveSlot SlugcatStats.Name
InjectDesiredSpawnToObjRepresentation(string)
public string InjectDesiredSpawnToObjRepresentation(string repString)
Parameters
repString string
Returns
- string
LinkObjectToTracker(AbstractPhysicalObject)
public bool LinkObjectToTracker(AbstractPhysicalObject abstractObj)
Parameters
abstractObj AbstractPhysicalObject
Returns
- bool
ToString()
public override string ToString()
Returns
- string
UninitializeTracker()
public void UninitializeTracker()
getRepData(AbstractPhysicalObject)
public string getRepData(AbstractPhysicalObject abstractObj)
Parameters
abstractObj AbstractPhysicalObject
Returns
- string
setRepresentation(string)
public void setRepresentation(string rep)
Parameters
rep string