[C++ Replication] GetLifetimeReplicatedProps is already defined

I want to replicate a bool in my Weapon Actor class. I know i need to add a GetLifetimeReplicatedProps in my cpp file to replicate my bool. The problem is that i already have this function in my character class. Now VS is moning that GetLifetimeReplicatedProps is already defined in my Character Class.

This is the error i get:

This is the header of my character: http://hastebin.com/inikumupoy.py

This is the cpp file of my character: http://hastebin.com/curexosicu.coffee

This is the header of my weapon actor class: http://hastebin.com/yegakepowe.cs

this is the cpp file of my weapon actor class: http://hastebin.com/qejanoricu.vala

Yo have wrong class qualifier in the last file. It’s now

void AMultiFightCharacter::GetLifetimeReplicatedProps(TArray< FLifetimeProperty > & OutLifetimeProps) const

and it should be:

void AWeapon_Base::GetLifetimeReplicatedProps(TArray< FLifetimeProperty > & OutLifetimeProps) const

I suspect delicious copypasta.

i cannot believe how stupid i am. Atleast the pasta was good pasta. Thanks dude !