unreal.Map

class unreal.Map(*args, **kwargs)

Bases: unreal._WrapperBase

Type for all UE4 exposed map instances

__copy__() → Map -- copy this Unreal map
classmethod cast(key, value, obj) → Map -- cast the given object to this Unreal map type
clear() → None -- remove all items from this Unreal map
copy() → Map -- copy this Unreal map
classmethod fromkeys(sequence, value=None) -> Map -- returns a new Unreal map of keys from the sequence using the given value (types are inferred)
get(key, default=None) → value -- x[key] if key in x, otherwise default
has_key(k) -> bool -- does this Unreal map contain the given key? (equivalent to k in x)
items() → iter -- a Python list containing the key->value pairs of this Unreal map
iteritems() → iter -- an iterator over the key->value pairs of this Unreal map
iterkeys() → iter -- an iterator over the keys of this Unreal map
itervalues() → iter -- an iterator over the values of this Unreal map
keys() → iter -- a Python list containing the keys of this Unreal map
pop(key, default=None) → value -- remove key and return its value, or default if key not present, or raise KeyError if no default
popitem() → pair -- remove and return an arbitrary pair from this Unreal map, or raise KeyError if the map is empty
setdefault(key, default=None) → value -- set key to default if key not in x and return the new value of key
update(...) → None -- update this Unreal map from the given mapping or sequence pairs type or key->value arguments
values() → iter -- a Python list containing the values of this Unreal map
viewitems() → view -- a set-like view of the key->value pairs of this Unreal map
viewkeys() → view -- a set-like view of the keys of this Unreal map
viewvalues() → view -- a view of the values of this Unreal map