Esempio n. 1
0
 void Method1(ArgumentsForLogin args, NetPeer peer)
 {
     Console.WriteLine("Received: \n {0}\n {1}\n {2}", args.UserId, args.Password, args.SomeInt);
     Console.WriteLine("List count: " + args.SomeList.Count);
     for (int i = 0; i < args.SomeList.Count; i++)
     {
         Console.WriteLine($" X: {args.SomeList[i].X}, Y: {args.SomeList[i].Y}");
     }
 }
Esempio n. 2
0
 void Method1(ArgumentsForLogin args, NetPeer peer)
 {
     Console.WriteLine("Received: \n {0}\n {1}\n {2}", args.UserId, args.Password, args.SomeInt);
 }