Documentation ¶
Index ¶
- func AllRepair(user *player.Player) error
- func BodyRemove(user *player.Player, unit *unit.Unit)
- func ChangeSquad(user *player.Player, SquadID int) error
- func CreateStartKit(client *player.Player, full bool)
- func EquipRepair(user *player.Player) error
- func GetInventory(client *player.Player)
- func ItemToInventory(user *player.Player, storageSlot int) error
- func ItemToStorage(user *player.Player, inventorySlot int) error
- func ItemsRepair(user *player.Player) error
- func RemoveAmmo(user *player.Player, numEquipSlot int, unit *unit.Unit, dst string) error
- func RemoveEquip(user *player.Player, numEquipSlot int, typeSlot int, unit *unit.Unit, ...) error
- func RemoveMSBody(user *player.Player) error
- func RemoveSlotBySource(user *player.Player, inventorySlot int, source string, quantity int) int
- func RemoveThorium(user *player.Player, numThoriumSlot int) error
- func RemoveUnitAmmo(user *player.Player, numEquipSlot, numberUnitSlot int, dst string) error
- func RemoveUnitBody(user *player.Player, unitSlot int) error
- func RemoveUnitEquip(user *player.Player, numEquipSlot, typeSlot, numberUnitSlot int, dst string) error
- func RemoveUnitWeapon(user *player.Player, numEquipSlot, numberUnitSlot int, dst string) error
- func RemoveWeapon(user *player.Player, numEquipSlot int, unit *unit.Unit, dst string) error
- func RenameSquad(user *player.Player, newName string) error
- func SelectType(typeEquipSlot int, body *detail.Body) map[int]*detail.BodyEquipSlot
- func SetAmmo(user *player.Player, idAmmo, inventorySlot, numEquipSlot int, unit *unit.Unit, ...) error
- func SetEquip(user *player.Player, idEquip, inventorySlot, numEquipSlot, typeEquipSlot int, ...) error
- func SetMSBody(user *player.Player, idBody, inventorySlot int, source string) error
- func SetThorium(user *player.Player, inventorySlot, numThoriumSlot int, source string) error
- func SetUnitAmmo(user *player.Player, idAmmo, inventorySlot, numEquipSlot, numberUnitSlot int, ...) error
- func SetUnitBody(user *player.Player, idBody, inventorySlot, numberUnitSlot int, source string) error
- func SetUnitEquip(user *player.Player, ...) error
- func SetUnitWeapon(user *player.Player, idWeapon, inventorySlot, numEquipSlot, numberUnitSlot int, ...) error
- func SetWeapon(user *player.Player, idWeapon, inventorySlot, numEquipSlot int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStartKit ¶
func EquipRepair ¶
func GetInventory ¶
func ItemsRepair ¶
func RemoveAmmo ¶
func RemoveEquip ¶
func RemoveMSBody ¶
func RemoveSlotBySource ¶
func RemoveUnitAmmo ¶
func RemoveUnitEquip ¶
func RemoveUnitWeapon ¶
func RemoveWeapon ¶
func SelectType ¶
func SetThorium ¶
func SetUnitAmmo ¶
func SetUnitBody ¶
func SetUnitEquip ¶
func SetUnitWeapon ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.