public static byte[] write(string pKillerName, string pKillerEpppLink, string pPlayerShipAlias,
                                   DestructionTypeModule pCause, List <KillScreenOptionModule> pOptions)
        {
            var param1 = new ByteArray(ID);

            param1.writeInt(pOptions.Count);
            foreach (var opt in pOptions)
            {
                param1.write(opt.write());
            }
            param1.writeUTF(pKillerEpppLink);
            param1.write(pCause.write());
            param1.writeUTF(pPlayerShipAlias);
            param1.writeUTF(pKillerName);
            param1.writeShort(7114);
            return(param1.ToByteArray());
        }
示例#2
0
        public static byte[] write(string killerName, string killerEpppLink, string playerShipAlias, DestructionTypeModule cause, List <KillScreenOptionModule> options)
        {
            var param1 = new ByteArray(ID);

            param1.writeUTF(killerName);
            param1.writeUTF(killerEpppLink);
            param1.writeUTF(playerShipAlias);
            param1.write(cause.write());
            param1.writeInt(options.Count);
            foreach (var _loc2_ in options)
            {
                param1.write(_loc2_.write());
            }
            return(param1.ToByteArray());
        }