Example #1
0
 public void CastSkill(Skill skill, float castTime, Agent target)
 {
     SendAgentPropertyFloat(AgentProperty.CastTimeModifier, castTime);
                 SendAgentTargetPropertyInt(AgentProperty.CastSkill, target, (uint) skill);
 }
Example #2
0
 public void CastInstant(Skill skill, Agent target)
 {
     SendAgentTargetPropertyInt(AgentProperty.CastInstant, target, (uint) skill);
 }
Example #3
0
 internal void SendAgentTargetPropertyInt(AgentProperty identifier, Agent target, uint value)
 {
     Network.GameServer.Send(GameServerMessage.AgentTargetPropertyInt, (uint) identifier, IdManager.GetId(target), IdManager.GetId(this), value);
 }
Example #4
0
 public static void ShowMessage(string message, Agent sender, Color color = Color.DarkOrangeDarkOrange)
 {
     Network.GameServer.Send(GameServerMessage.Message, new HString(message).Serialize());
                 Network.GameServer.Send(GameServerMessage.MessageSender, (ushort) IdManager.GetId(sender), (byte) color);
 }
Example #5
0
 public void AttackFailed(Agent target, AttackFailType type)
 {
     SendAgentTargetPropertyInt(AgentProperty.AttackFailed, target, (uint) type);
 }