|
@@ -284,20 +284,20 @@ bool Editor::nachricht( SKlient *k )
|
|
{
|
|
{
|
|
k->sendeEncrypted( "\1", 1 );
|
|
k->sendeEncrypted( "\1", 1 );
|
|
ObjektStr o( 0 );
|
|
ObjektStr o( 0 );
|
|
- k->sendeEncrypted( (char *)& o.pos.x, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.pos.y, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.rot, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.scale, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.id, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.m2d, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.bild, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.style, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.maxStability, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.maxEnergie, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.energieRadius, 4 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.reparatur, 8 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.akkuLeistung, 8 );
|
|
|
|
- k->sendeEncrypted( (char *)& o.team, 1 );
|
|
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.pos.x, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.pos.y, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.rot, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.scale, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.id, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.m2d, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.bild, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.style, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.maxStability, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.maxEnergie, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.energieRadius, 4 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.reparatur, 8 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.akkuLeistung, 8 );
|
|
|
|
+ k->getNachrichtEncrypted( (char *)& o.team, 1 );
|
|
Text pf = pfad.getText();
|
|
Text pf = pfad.getText();
|
|
pf += "/objekt/";
|
|
pf += "/objekt/";
|
|
pf += o.id;
|
|
pf += o.id;
|