コード例 #1
0
        public static byte[] write(int userId, string name, GroupPlayerShipModule ship, int invitedUserId, string invitedName, GroupPlayerShipModule invitedShip)
        {
            ByteArray param1 = new ByteArray(ID);

            param1.write(ship.write());
            param1.writeInt(invitedUserId >> 9 | invitedUserId << 23);
            param1.writeInt(userId >> 11 | userId << 21);
            param1.write(invitedShip.write());
            param1.writeUTF(name);
            param1.writeUTF(invitedName);
            param1.writeShort(-2976);
            param1.writeShort(-27904);
            return(param1.ToByteArray());
        }
コード例 #2
0
 public GroupPlayerModule(string name, int id, GroupPlayerInformationsModule information, GroupPlayerLocationModule location, int level, bool active, bool cloaked, bool attacking, bool disconnected, bool var51u, GroupPlayerClanModule clan, FactionModule faction, GroupPlayerTargetModule target, GroupPlayerShipModule ship, GroupPlayerHadesGateModule hades)
 {
     this.name         = name;
     this.id           = id;
     this.information  = information;
     this.location     = location;
     this.level        = level;
     this.active       = active;
     this.cloaked      = cloaked;
     this.attacking    = attacking;
     this.disconnected = disconnected;
     this.var51u       = var51u;
     this.clan         = clan;
     this.faction      = faction;
     this.target       = target;
     this.ship         = ship;
     this.hades        = hades;
 }
コード例 #3
0
 public GroupPlayerTargetModule(GroupPlayerShipModule ship, string name, GroupPlayerInformationsModule information)
 {
     this.ship        = ship;
     this.name        = name;
     this.information = information;
 }