Aura.Channel.Network.Sending.Send.ProductionSuccessRequestR C# (CSharp) Метод

ProductionSuccessRequestR() публичный статический Метод

Sends ProductionSuccessRequestR to creature's client, informing it about the success rate it requested.
This version of the packet is used for "normal" Production, like Weaving and Handicraft.
public static ProductionSuccessRequestR ( Creature creature, SkillId skillId, float successRate, bool totalSuccess ) : void
creature Creature
skillId SkillId Skill the rate is used for.
successRate float /// Bonus success rate, added to the value calculated by the client, /// or the total success rate to use, if totalSuccess is true. ///
totalSuccess bool /// If true, the client will display the given successRate, if it's false, /// it will calculate the default rate itself and add successRate as bonus. ///
Результат void
		public static void ProductionSuccessRequestR(Creature creature, SkillId skillId, float successRate, bool totalSuccess)
		{
			var gp = new Packet(Op.ProductionSuccessRequestR, creature.EntityId);

			gp.PutByte(1);
			gp.PutUShort((ushort)skillId);
			gp.PutShort(5); // unkShort1?
			gp.PutFloat(successRate);
			gp.PutByte(0);
			gp.PutByte(totalSuccess);

			creature.Client.Send(gp);
		}

Same methods

Send::ProductionSuccessRequestR ( Creature creature, SkillId skillId, float successRate, bool totalSuccess, float unkFloat ) : void
Send