app/Model/Character/Character.php
/**
     * Send item to this player in game.
     *
     * @param int $id
     * @param int $count
     * @param bool $charged
     */
Send item to this player in game.
Send item to this player in game .
public function sendItem(int $id, int $count, bool $charged)
    {
        ItemSend::query()->create([
            'm_idPlayer' => $this->m_idPlayer,
            'serverindex' => $this->serverindex,
            'Item_Name' => $id,
            'Item_count' => $count,
            'm_bCharged' => $charged,
        ]);
    }
public function sendItem ( int $ id , int $ count , bool $ charged ) { ItemSend :: query ( ) -> create ( [ 'm_idPlayer' => $ this -> m_idPlayer , 'serverindex' => $ this -> serverindex , 'Item_Name' => $ id , 'Item_count' => $ count , 'm_bCharged' => $ charged , ] ) ; }
Send item to this player in game.
Send item to this player in game .