Interface IEquipmentSystem
Inherited Members
Namespace: Ride.Entities
Assembly: cs.temp.dll.dll
Syntax
public interface IEquipmentSystem : IRideSystem, IApiInject, IIdentity
Properties
Name | Description |
---|---|
weaponSystem |
Methods
Name | Description |
---|---|
AddExistingItem(IItem) | |
AddItem(ItemType, RideID) | Use this function when you want to add an item that is both logically and visually represented |
AddWeapon(IWeapon) | Use this method when you want to add a weapon that is logically, not visually represented |
AddWeapon(Weapon) | Use this method when you want to add a weapon that is logically, not visually represented |
CanFire(RideID) | Checks if the weapon is ready to use |
CanUse(RideID) | Checks if the item is ready to use |
DestroyItem(RideID) | |
EquipItem(RideID, Boolean) | |
Fire(RideID) | Fires/swings/etc the given weapon. |
GetAnchor(RideID) | |
GetItem(RideID) | |
GetItem<T>(RideID) | |
GetItemsBeingUsed(RideID) | |
GetItemsFromAgent<T>(RideID) | |
GetItemsOfStatus(RideID, ItemStatus) | |
GetOrphanedItems<T>() | |
GetOwner(RideID) | |
GetWeapon(RideID) | |
HasAttributes(RideID, ItemAttributes) | |
IsArtillery(RideID) | Checks if weapon fires in a high arc |
IsItem(RideID) | |
OrphanItem(RideID) | |
Reload(RideID, Boolean) | Reloads the clip of the weapon |
RemoveItemFromAgent(RideID, RideID) | |
ResetEquipmentSystem() | |
ResetItem(RideID) | Resets the item |
StopUse(RideID) | Stops using the given item if the item is still being used |
StowItem(RideID) | |
StowItem(RideID, RideID) | |
ToggleMode(RideID) | Toggles the mode of the given item if the item has multiple modes. If this is a weapon, it toggles the firing mode (semi, burst, auto) |
Use(RideID) | Uses the given item. If this is a weapon, it is fired |