Logic 30 Posted May 3, 2017 Share Posted May 3, 2017 Hey la communauté, j'ai décidé de vous partagé un petit add-ons using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Plus.Communication.Packets.Outgoing; namespace Plus.Communication.Packets.Outgoing.Rooms.Notifications { class BubbleNotificationComposer : ServerPacket { public BubbleNotificationComposer(string Type) : base(ServerPacketHeader.BubbleNotificationMessageComposer) { base.WriteString(Type); base.WriteInteger(0); } public BubbleNotificationComposer(string Image, string Message, string LinkUrl = "") : base(ServerPacketHeader.BubbleNotificationMessageComposer) { base.WriteString(Image); base.WriteInteger(string.IsNullOrEmpty(LinkUrl) ? 2 : 3); base.WriteString("display"); base.WriteString("BUBBLE"); base.WriteString("message"); base.WriteString(Message); if (string.IsNullOrEmpty(LinkUrl)) return; base.WriteString("linkUrl"); base.WriteString(LinkUrl); } public BubbleNotificationComposer(string Type, Dictionary<string, string> Keys) : base(ServerPacketHeader.BubbleNotificationMessageComposer) { base.WriteString(Type); base.WriteInteger(Keys.Count); foreach (var i in Keys) { base.WriteString(i.Key); base.WriteString(i.Value); } } } } qui permet d'envoyé de petite notification en bulle comme celle-ci: https://gyazo.com/98708793658aabd5ca6f4428bdddfd3d j'espère, vous avoir aidé meeeeeh Link to comment Share on other sites More sharing options...
ßRÂИÐØИ 46 Posted May 3, 2017 Share Posted May 3, 2017 'namespace HCOLA.Communication.Packets.Outgoing.Rooms.Notifications' chadore le HCola toujours sur les projets toi ^_^ Sinon merci pour les padawans Link to comment Share on other sites More sharing options...
Logic 30 Posted May 3, 2017 Author Share Posted May 3, 2017 il y a 19 minutes, Brandon a dit : 'namespace HCOLA.Communication.Packets.Outgoing.Rooms.Notifications' chadore le HCola toujours sur les projets toi ^_^ Sinon merci pour les padawans Je ne suis pas dans leurs projet mdrr, dutout padawan meeeeeh Link to comment Share on other sites More sharing options...
Kurumi Tokisaki 86 Posted May 3, 2017 Share Posted May 3, 2017 Il y a 2 heures, iSync a dit : Je ne suis pas dans leurs projet mdrr, dutout padawan Merci la communauté non Francais #Kirito-SAO ( c'est mon ancien pseudo) Link to comment Share on other sites More sharing options...
Logic 30 Posted May 4, 2017 Author Share Posted May 4, 2017 hein? meeeeeh Link to comment Share on other sites More sharing options...
Pelium 3 Posted June 19, 2017 Share Posted June 19, 2017 Ou on le met sa serais bien de détailler ... Link to comment Share on other sites More sharing options...
Monde 68 Posted June 20, 2017 Share Posted June 20, 2017 Il y a 16 heures, wanted rétro a dit : Ou on le met sa serais bien de détailler ... Rend toi dans "Communication.Packets.Outgoing.Rooms.Notifications" Crée un nouveau fichié et appelle le "BubbleNotificationComposer.cs" Pas besoin de détailler, le code en lui même dit comment y mettre: namespace Plus.Communication.Packets.Outgoing.Rooms.Notifications{ class BubbleNotificationComposer : ServerPacket { Juste avec ce bout de code, tu sais comment y mettre... Link to comment Share on other sites More sharing options...
Akushi 75 Posted June 25, 2017 Share Posted June 25, 2017 Y'aurais moyen d'avoir le packet ? pour la prod 104 Link to comment Share on other sites More sharing options...
Guest Posted July 30, 2017 Share Posted July 30, 2017 @Mond je les mis perso elle marche pas tu sais pas pourquoi ?e Link to comment Share on other sites More sharing options...
Http 0 Posted September 30, 2017 Share Posted September 30, 2017 Rien n'est claire... Link to comment Share on other sites More sharing options...
BlueTropical 6 Posted August 3, 2018 Share Posted August 3, 2018 Une idée ? Link to comment Share on other sites More sharing options...
Javas 0 Posted October 3, 2018 Share Posted October 3, 2018 Perfect tutorial Link to comment Share on other sites More sharing options...
Early 35 Posted April 12, 2019 Share Posted April 12, 2019 Ne fonctionne pas, merci ! Il fait des erreurs au niveau de BubbleNotificationMessageComposer Le tuto n'est pas clair Un petit si tu as aimé mon post ou ma réponse Link to comment Share on other sites More sharing options...
Logic 30 Posted April 12, 2019 Author Share Posted April 12, 2019 @RedSoft Salut! désolé ça fait un moment lol cherche le packet RoomNotificationMessageComposer ex: public static const RoomNotificationMessageComposer = tonid; tu le copie puis: public static const BubbleNotificationMessageComposer = tonid; // même id que la roomnotificationcomposer. meeeeeh Link to comment Share on other sites More sharing options...
NevetS 4 Posted April 10, 2020 Share Posted April 10, 2020 Salut, Je ne trouve pas ça trés utile, mais merci pour le partage! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now