Ejemplo n.º 1
0
    protected virtual void OnSerializeNetworkView(BitStream stream, NetworkMessageInfo info)
    {
        stream.SerializeRegeneratingStat(Health);
        stream.SerializeRegeneratingStat(Mana);
        stream.SerializeRegeneratingStat(Stamina);

        stream.SerializeBuffableStat(PhysicalDefense);
        stream.SerializeBuffableStat(MagicalDefense);

        stream.SerializeMoveSpeed(MoveSpeed);

        stream.Serialize(ref teamNumber);
    }