internal static void ShootResponse(ShootResponseDesc.Response response, string p) { Program.ChatApplicationBusiness.ShootResponse(response, p); }
public void ShootResponse(ShootResponseDesc.Response response, string nick) { // Create a message int id = PList.GetPlayer(nick, OurID).Carac.ActorID; BBMessage msg = new BBMessage(); msg.MsgShootResponse(new ShootResponseDesc(response, id)); // Send use the ReliableUnordered channel; ie. it WILL arrive, but not necessarily in order Client.SendMessage(msg.GetNetMessage(), NetChannel.ReliableUnordered); }
public void MsgShootResponse(ShootResponseDesc resp) { Resp = resp; MsgType = BBMsgType.ACTOR_SHOOT_RESPONSE; }