예제 #1
0
 public void GetReactionHitResultsByCaster(
     ActorData caster,
     out Dictionary <ActorData, ClientActorHitResults> reactionActorHits,
     out Dictionary <Vector3, ClientPositionHitResults> reactionPosHits)
 {
     ClientResolutionAction.GetReactionHitResultsByCaster(caster, m_actorToHitResults, out reactionActorHits,
                                                          out reactionPosHits);
 }
            public override void Deserialize(NetworkReader reader)
            {
                TurnIndex  = (int)reader.ReadPackedUInt32();
                PhaseIndex = reader.ReadSByte();
                IBitStream stream = new NetworkReaderAdapter(reader);

                Action = ClientResolutionAction.ClientResolutionAction_DeSerializeFromStream(ref stream);
            }
예제 #3
0
 internal void ExecuteReactionHitsWithExtraFlagsOnActor(
     ActorData targetActor,
     ActorData caster,
     bool hasDamage,
     bool hasHealing)
 {
     ClientResolutionAction.ExecuteReactionHitsWithExtraFlagsOnActorAux(m_actorToHitResults, targetActor, caster,
                                                                        hasDamage, hasHealing);
 }
            public override void Deserialize(NetworkReader reader)
            {
                int        num    = reader.ReadSByte();
                IBitStream stream = new NetworkReaderAdapter(reader);

                Actions = new List <ClientResolutionAction>(num);
                for (int i = 0; i < num; i++)
                {
                    Actions.Add(ClientResolutionAction.ClientResolutionAction_DeSerializeFromStream(ref stream));
                }
            }
예제 #5
0
 internal string UnexecutedHitsDebugStr()
 {
     return(ClientResolutionAction.AssembleUnexecutedHitsDebugStr(m_actorToHitResults, m_posToHitResults));
 }
예제 #6
0
 internal void ExecuteUnexecutedClientHits()
 {
     ClientResolutionAction.ExecuteUnexecutedHits(m_actorToHitResults, m_posToHitResults, m_casterActor);
 }
예제 #7
0
 internal bool HasUnexecutedHitOnActor(ActorData targetActor)
 {
     return(ClientResolutionAction.HasUnexecutedHitOnActor(targetActor, m_actorToHitResults));
 }
예제 #8
0
 internal bool DoneHitting()
 {
     return(ClientResolutionAction.DoneHitting(m_actorToHitResults, m_posToHitResults));
 }
예제 #9
0
 public bool HasReactionByCaster(ActorData caster)
 {
     return(ClientResolutionAction.HasReactionHitByCaster(caster, m_actorToHitResults));
 }