Exemplo n.º 1
0
 public override byte[] GetAssetCreateCommand(short clanRelationModule = ClanRelationModule.NONE)
 {
     return(AssetCreateCommand.write(GetAssetType(), Name,
                                     FactionId, Clan.Tag, Id, 0, 0,
                                     Position.X, Position.Y, Clan.Id, true, true, true, true,
                                     new ClanRelationModule(clanRelationModule),
                                     VisualModifiers.Values.ToList()));
 }
 public override byte[] GetAssetCreateCommand(short clanRelationModule = ClanRelationModule.NONE)
 {
     return(AssetCreateCommand.write(GetAssetType(), "RepairDock",
                                     FactionId, "", Id, 0, 0,
                                     Position.X, Position.Y, 0, true, true, true, true,
                                     new ClanRelationModule(clanRelationModule),
                                     new List <VisualModifierCommand>()));
 }
Exemplo n.º 3
0
 public override byte[] GetAssetCreateCommand()
 {
     return(AssetCreateCommand.write(new AssetTypeModule(ASSET_TYPE), ASSET_NAME,
                                     FactionId, "", Id, DESIGN_ID, 0,
                                     Position.X, Position.Y, 0, false, true, true,
                                     new ClanRelationModule(ClanRelationModule.NONE),
                                     new List <VisualModifierCommand>()));
 }
Exemplo n.º 4
0
 public byte[] GetAssetCreateCommand()
 {
     return(AssetCreateCommand.write(new AssetTypeModule(AssetTypeId), "",
                                     0, "", Id, 0, 0,
                                     Position.X, Position.Y, 0, false, false, false, false,
                                     new ClanRelationModule(ClanRelationModule.NONE),
                                     new List <VisualModifierCommand>()));
 }
 public override byte[] GetAssetCreateCommand()
 {
     return(AssetCreateCommand.write(new AssetTypeModule(GetAssetType()), ASSET_NAME,
                                     FactionId, (Clan != null ? Clan.Tag : ""), Id, DESIGN_ID, 3,
                                     Position.X, Position.Y, (Clan != null ? Clan.Id : 0), true, true, true,
                                     new ClanRelationModule(ClanRelationModule.NONE),
                                     new List <VisualModifierCommand>()));
 }