- Namespace
- Atavism
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["AtavismCursor"]
class Type type-node
Syntax
public class AtavismCursor : MonoBehaviour
Fields
Name | Constant Value | Summary |
---|---|---|
attackCursor | ||
defaultCursor | ||
itemPickupButton | ||
layerForTexts | ||
layerMask | ||
lootCursor | ||
skinCursor | ||
socketCursor | ||
speakCursor |
Properties
Name | Value | Summary |
---|---|---|
ActivateButton | int | |
Instance | AtavismCursor |
static
|
PickupButton | int | |
UguiIconBeingDragged | bool |
Methods
Name | Value | Summary |
---|---|---|
Check |
void | |
Clear |
void | |
ClearMouseOverObject |
void | |
Clear |
void | |
Clickable |
void | |
CursorHasAbility |
bool | |
CursorHasBag |
bool | |
CursorHasItem |
bool | |
DeleteCursorItem |
void |
Sends a message to the server telling it to delete the whole item stack that the cursor currently holds.
|
FrameEntered |
void | |
FrameLeft |
void | |
GetCursorAbility |
AtavismAbility | |
GetCursorItem |
AtavismInventoryItem | |
Handle |
bool | |
Handle |
bool | |
IsMouseOverUI |
bool | |
MerchantItemEntered |
void | |
MerchantItemLeft |
void | |
OnEvent |
void | |
OnLeftClick |
void | |
OnRightClick |
void | |
PickupOrPlaceBagItem |
void |
Pick up (or drop) an item from a given container and slot.
This will set the cursor to the item.
|
Pickup |
void |
Try to pickup an item that is equipped, or place an item that can be equipped if the cursor is currently
holding an item.
|
PlaceCursorBag |
void |
Places the cursor bag in a new slot. Used to move a bag from one slot to another.
|
PlaceCursorBagAsItem |
void |
Places the Bag the Cursor currently holds into the players Inventory in the specified
bag at the specified slot.
|
PlaceCursorItemAsBag |
void |
Places the cursor item in the specified bag slot. If the item is not a bag, nothing will happen
|
Place |
void |
Sends a message to the server to place the item the cursor currently holds
into the specified Bag at the specified slot.
|
ResetCursor |
void |
Reset the cursor to its initial state (point)
|
SetBag |
void |
Sets the cursor bag to the specified bag. This will result in the bags icon replacing the cursor
and allow it to be placed.
|
SetCursor |
void | |
SetCursorAbility |
void |
Sets the cursor item to the specified item. This will result in the items icon replacing the cursor
and allow it to be placed.
|
SetCursorItem |
void |
Sets the cursor item to the specified item. This will result in the items icon replacing the cursor
and allow it to be placed.
|
Set |
void | |
SetMouseOverObject |
void | |
Set |
void | |
StartItemThrowaway |
void |
Send an event out to show a confirm delete item dialogue.
|