Свойство | Тип | Описание | |
---|---|---|---|
Instance | WorldItemManager, | ||
audioDrop | |||
audioPickup | |||
audioSource | |||
world_item | GameObject |
Метод | Описание | |
---|---|---|
ConvertListToJSONClass ( string>.List |
||
CreateDropItemNetworkMessage ( int item_id, int amt, int inv_pos ) : string>>.List |
||
CreatePickupItemNetworkMessage ( int world_item_id, int player_id, int item_id, int amt ) : string>>.List |
||
CreateWorldItem ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : GameObject | ||
CreateWorldItemNetworkMessage ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : string>>.List |
||
DestroyWorldItem ( int world_item_id ) : void | ||
GenerateWorldItemId ( ) : int | ||
ProcessDropEvent ( int world_item_id, int player_id, int item_id, int amt, int inv_pos, int pos_x, int pos_y ) : void | ||
ProcessMagnetizeEvent ( int playerId, int worldItemId ) : void | ||
ProcessPickUpEvent ( int world_item_id, int player_id, int item_id, int amt ) : void | ||
ReceiveCreateWorldItemPacket ( |
||
ReceiveItemDropPacket ( |
||
ReceiveItemMagnetizePacket ( |
||
ReceiveItemPickupPacket ( |
||
WaitSmallDelayBeforeReceivePickupPacket ( |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
Start ( ) : void | ||
ToggleAutoLootable ( int world_item_id ) : void |
public ConvertListToJSONClass ( string>.List |
||
list | string>.List | |
Результат |
public CreateDropItemNetworkMessage ( int item_id, int amt, int inv_pos ) : string>>.List |
||
item_id | int | |
amt | int | |
inv_pos | int | |
Результат | string>>.List |
public CreatePickupItemNetworkMessage ( int world_item_id, int player_id, int item_id, int amt ) : string>>.List |
||
world_item_id | int | |
player_id | int | |
item_id | int | |
amt | int | |
Результат | string>>.List |
public CreateWorldItem ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : GameObject | ||
world_item_id | int | |
item_id | int | |
amt | int | |
pos_x | float | |
pos_y | float | |
Результат | GameObject |
public CreateWorldItemNetworkMessage ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : string>>.List |
||
world_item_id | int | |
item_id | int | |
amt | int | |
pos_x | float | |
pos_y | float | |
Результат | string>>.List |
public DestroyWorldItem ( int world_item_id ) : void | ||
world_item_id | int | |
Результат | void |
public ProcessDropEvent ( int world_item_id, int player_id, int item_id, int amt, int inv_pos, int pos_x, int pos_y ) : void | ||
world_item_id | int | |
player_id | int | |
item_id | int | |
amt | int | |
inv_pos | int | |
pos_x | int | |
pos_y | int | |
Результат | void |
public ProcessMagnetizeEvent ( int playerId, int worldItemId ) : void | ||
playerId | int | |
worldItemId | int | |
Результат | void |
public ProcessPickUpEvent ( int world_item_id, int player_id, int item_id, int amt ) : void | ||
world_item_id | int | |
player_id | int | |
item_id | int | |
amt | int | |
Результат | void |
public ReceiveCreateWorldItemPacket ( |
||
itemPacket | ||
Результат | void |
public ReceiveItemDropPacket ( |
||
itemPacket | ||
Результат | void |
public ReceiveItemMagnetizePacket ( |
||
itemPacket | ||
Результат | void |
public ReceiveItemPickupPacket ( |
||
itemPacket | ||
Результат | void |
public WaitSmallDelayBeforeReceivePickupPacket ( |
||
itemPacket | ||
Результат | IEnumerator |
public static WorldItemManager, Instance | ||
Результат | WorldItemManager, |
public AudioClip,UnityEngine audioPickup | ||
Результат |
public AudioSource,UnityEngine audioSource | ||
Результат |