Exemplo n.º 1
0
    public void SerializeToStream(ref IBitStream stream)
    {
        int   barrierGUID = m_barrierGUID;
        sbyte casterIndex = (sbyte)m_barrierCaster.ActorIndex;

        stream.Serialize(ref barrierGUID);
        stream.Serialize(ref casterIndex);
        AbilityResultsUtils.SerializeActorHitResultsDictionaryToStream(ref stream, m_actorToHitResults);
        AbilityResultsUtils.SerializePositionHitResultsDictionaryToStream(ref stream, m_posToHitResults);
    }
Exemplo n.º 2
0
    public void SerializeToStream(ref IBitStream stream)
    {
        sbyte casterActorIndex = (sbyte)GetCaster().ActorIndex;
        sbyte abilityAction    = (sbyte)GetSourceActionType();

        stream.Serialize(ref casterActorIndex);
        stream.Serialize(ref abilityAction);
        AbilityResultsUtils.SerializeSequenceStartDataListToStream(ref stream, m_seqStartDataList);
        AbilityResultsUtils.SerializeActorHitResultsDictionaryToStream(ref stream, m_actorToHitResults);
        AbilityResultsUtils.SerializePositionHitResultsDictionaryToStream(ref stream, m_posToHitResults);
    }
Exemplo n.º 3
0
    public void SerializeToStream(ref IBitStream stream)
    {
        uint  effectGUID              = (uint)m_effectGUID;
        sbyte casterActorIndex        = (sbyte)m_effectCaster.ActorIndex;
        sbyte sourceAbilityActionType = (sbyte)m_sourceAbilityActionType;

        stream.Serialize(ref effectGUID);
        stream.Serialize(ref casterActorIndex);
        stream.Serialize(ref sourceAbilityActionType);
        AbilityResultsUtils.SerializeSequenceStartDataListToStream(ref stream, m_seqStartDataList);
        AbilityResultsUtils.SerializeActorHitResultsDictionaryToStream(ref stream, m_actorToHitResults);
        AbilityResultsUtils.SerializePositionHitResultsDictionaryToStream(ref stream, m_posToHitResults);
    }