Weird Definition

Hello Guys,
I just implementing Replication to my C++ Game und I noticed that DROPLIFETIME isn’t in the UnrealNetwork.h File anymore.There is just a Definition called DOREPLIFETIME.



#define DOREPLIFETIME(c,v) \
{ \
    static UProperty* sp##v = GetReplicatedProperty(StaticClass(), c::StaticClass(),GET_MEMBER_NAME_CHECKED(c,v)); \
    for ( int32 i = 0; i < sp##v->ArrayDim; i++ )                            \
    {                                                                        \
        OutLifetimeProps.AddUnique( FLifetimeProperty( sp##v->RepIndex + i ) );    \
    }                                                                        \
}


Is this the intention from Epic Games or just a Bug ? :slight_smile:

I am pretty sure it has always been DOREPLIFETIME, ie “DO REPlicate over LIFETIME”. or at least how i read it :stuck_out_tongue:

I have never heard of DROPLIFETIME either.