Package | Description |
---|---|
com.tameif.tame |
Base package.
|
com.tameif.tame.element |
Contains the element types.
|
com.tameif.tame.element.context |
Contains context and state data for a TAME context.
|
Modifier and Type | Method and Description |
---|---|
TObject |
TAMECommand.getObject1()
Gets the first object.
|
TObject |
TAMECommand.getObject2()
Gets the second object.
|
TObject |
TAMEModule.getObjectByIdentity(java.lang.String identity)
Retrieves an Object by identity.
|
TObject |
TAMEModuleContext.resolveObject(java.lang.String objectIdentity)
Resolves an object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.util.Map.Entry<java.lang.String,TObject>> |
TAMEModule.getObjectList() |
java.lang.Iterable<TObject> |
TAMEModuleContext.resolveObjectList(Value varObjectContainer)
Resolves a list of all objects contained by an object container.
|
Modifier and Type | Method and Description |
---|---|
void |
TAMEModule.addObject(TObject object)
Adds an object to the module.
|
static boolean |
TAMELogic.checkObjectAccessibility(TAMERequest request,
TAMEResponse response,
TPlayer player,
TObject object)
Checks if an object is accessible to a player.
|
static TAMECommand |
TAMECommand.create(TAction action,
TObject object)
Creates a transitive action item to execute later.
|
static TAMECommand |
TAMECommand.create(TAction action,
TObject object1,
TObject object2)
Creates a ditransitive action item to execute later.
|
int |
TAMEModuleContext.getAccessibleObjectsByName(java.lang.String name,
TObject[] outputArray,
int arrayOffset)
Returns all objects in the accessible area by an object name read from the interpreter.
|
TObjectContext |
TAMEModuleContext.getObjectContext(TObject object)
Gets an object context by object.
|
Modifier and Type | Method and Description |
---|---|
static TObject |
TObject.create(java.io.InputStream in)
Creates this object from an input stream, expecting its byte representation.
|
Constructor and Description |
---|
TObject(java.lang.String identity,
TObject parent)
Creates an empty object.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<TObject,com.tameif.tame.struct.CaseInsensitiveStringSet> |
TOwnershipMap.objectCurrentNames
Map of object to its current names.
|
protected java.util.Map<TObject,com.tameif.tame.struct.CaseInsensitiveStringSet> |
TOwnershipMap.objectCurrentTags
Map of object to its current tags.
|
protected com.tameif.tame.struct.HashDequeMap<ObjectContainer,TObject> |
TOwnershipMap.objectsOwnedByElements
Ownership map - objects owned by elements.
|
protected java.util.Map<TObject,ObjectContainer> |
TOwnershipMap.objectsToElement
Reverse lookup object - not saved.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<TObject> |
TOwnershipMap.getObjectsOwnedByElement(ObjectContainer element)
Gets the list of objects owned by an element.
|
Modifier and Type | Method and Description |
---|---|
void |
TOwnershipMap.addObjectName(TObject object,
java.lang.String name)
Adds a name to an object.
|
void |
TOwnershipMap.addObjectTag(TObject object,
java.lang.String tag)
Adds a tag to this object.
|
void |
TOwnershipMap.addObjectToElement(TObject object,
ObjectContainer element)
Adds an object to an element that can hold objects.
|
boolean |
TOwnershipMap.checkElementHasObject(ObjectContainer element,
TObject object)
Checks if an element possesses an object.
|
boolean |
TOwnershipMap.checkObjectHasName(TObject object,
java.lang.String name)
Checks if an object contains a particular name.
|
boolean |
TOwnershipMap.checkObjectHasNoOwner(TObject object)
Checks if an object has no owner.
|
boolean |
TOwnershipMap.checkObjectHasTag(TObject object,
java.lang.String tag)
Checks if an object contains a particular tag.
|
void |
TOwnershipMap.removeObject(TObject object)
Removes an object from all owners.
|
void |
TOwnershipMap.removeObjectName(TObject object,
java.lang.String name)
Removes a name from an object.
|
void |
TOwnershipMap.removeObjectTag(TObject object,
java.lang.String tag)
Removes a tag from an object.
|
Constructor and Description |
---|
TObjectContext(TObject object)
Creates an object context.
|