OnPhotonSerializeView for Spell Cast

Options
Hello,

I have syncronized the transform and animations however, what should I do for a projectile spell?

void CastSpell(int spell_no)
{
if (spell_no == 1)
{
if (fadeImages[0] != 1 && !anim.IsInTransition(0) && fillLowManaImage_1.gameObject.activeInHierarchy == false)
{
fadeImages[0] = 1;
anim.SetTrigger("CastSpell");
GameObject Sp1 = Instantiate(Spell1, SpellSpawnLocStaff.transform.position, transform.rotation) as GameObject;
Sp1.transform.SetParent(transform);
currentMana -= spellCost1;
Destroy(Sp1, 5);
}
}
}

What should I do for the stream.SendNext and stream.ReceiveNext where they accept only object type?

Thanks,