public ServerToolsEvent(int id, typeEvent type, string operation, List <byte[]> param) { this.Type = type; this.Id = id; this.Operation = operation; this.Param = param; }
public ServerToolsEvent(int id, typeEvent type, string operation, List <string> param, string source, int stamp) { this.Type = type; this.Id = id; this.Operation = operation; this.Param = param; this.Source = source; this.Stamp = stamp; }
public void launchDialog(typeEvent curr) { if (currId == 0) { e = curr; DialogBox.SetActive(true); } if (curr == typeEvent.intro) { if (currId == 0) { loadText("Feminine voice", "Subject, are you awake ?", "Who are you ?", "Yes", "5 more minutes please...", "(Don't answer)"); } else if (currId == 1) { loadText("Feminine voice", "That's none of your business, you're only a slave here.", "Sorry", "F*ck you", null, null); } else if (currId == 2) { loadText("Feminine voice", "You have to clean this room, eat all the wastes of magical rock so they will break up in your body.\n" + "We provided you an energy accumulator gun to help you, don't damage it.", "Isn't that dangerous ?", "Sure", null, null); } else if (currId == 3) { loadText("Feminine voice", "Who do you think you are ? Wake up!", "Sorry", "F*ck you", null, null); } else if (currId == 4) { loadText("Feminine voice", "Don't make me waking you up, you would regret it.", "Sorry", "F*ck you", null, null); } else if (currId == 5) { loadText("Feminine voice", "I don't think you understood your place here.", "...", null, null, null); } else if (currId == 6) { loadText("Feminine voice", "There may be some secondary effects, nothing that should kill.", "I see...", null, null, null); } } else if (curr == typeEvent.intro2) { if (currId == 0) { loadText("Feminine voice", "There are still some rocks to clean, do your job.", "Sure", null, null, null); } } else if (curr == typeEvent.random) { DialogBox.SetActive(false); pc.inIntro = false; if (md != null) { md.move(); } } }
public ClientToolsEvent(typeEvent type, List <byte[]> message, string stamp) { this.Type = type; this.Message = message; this.Stamp = stamp; }
public ClientToolsEvent(typeEvent type, List<byte[]> message, string stamp) { this.Type = type; this.Message = message; this.Stamp = stamp; }
public ServerToolsEvent(int id, typeEvent type, string operation, List<string> param, string source, int stamp) { this.Type = type; this.Id = id; this.Operation = operation; this.Param = param; this.Source = source; this.Stamp = stamp; }
/// <summary> /// Le constructeur de l'évènement. /// </summary> /// <param name="id">Identifiant du client qui a envoyé le message.</param> /// <param name="type">Le type de l'évènement.</param> /// <param name="msg">Le message sous la forme d'un tableau d'octet.</param> public ServerEventArgs(int id, typeEvent type, byte[] msg) { this.Type = type; this.Id = id; this.Msg = msg; }
/// <summary> /// Le constructeur de l'évènement. /// </summary> /// <param name="id">Identifiant du client qui a envoyé le message.</param> /// <param name="type">Le type de l'évènement.</param> /// <param name="msg">Le message sous la forme d'un tableau d'octet.</param> public ServerEventArgs(int id, typeEvent type, byte[] msg) { this.Type = type; this.Id = id; this.Msg = msg; }
public ServerToolsEvent(int id, typeEvent type, string operation, List<byte[]> param) { this.Type = type; this.Id = id; this.Operation = operation; this.Param = param; }