예제 #1
0
 public Struct(float damageAmount,
               int sourceNetworkId,
               int targetNetworkId,
               int targetNetworkIdCopy,
               DamageTypePacket type)
 {
     DamageAmount        = damageAmount;
     SourceNetworkId     = sourceNetworkId;
     TargetNetworkId     = targetNetworkId;
     TargetNetworkIdCopy = targetNetworkIdCopy;
     Type = type;
 }
예제 #2
0
 public Struct(float damageAmount,
     int sourceNetworkId,
     int targetNetworkId,
     int targetNetworkIdCopy,
     DamageTypePacket type)
 {
     DamageAmount = damageAmount;
     SourceNetworkId = sourceNetworkId;
     TargetNetworkId = targetNetworkId;
     TargetNetworkIdCopy = targetNetworkIdCopy;
     Type = type;
 }