google-code-export / sky-shoot

Automatically exported from code.google.com/p/sky-shoot
1 stars 0 forks source link

Не передается высота и ширина уровня. #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
На клиент приходит GameLevel с Width = 0 и Height = 0.
Также, почему они описаны как float, а не int?

Original issue reported on code.google.com by F.Pavel91 on 30 Nov 2011 at 11:02

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r266.

Original comment by FWFKiril...@gmail.com on 30 Nov 2011 at 11:52

GoogleCodeExporter commented 9 years ago

Original comment by FWFKiril...@gmail.com on 30 Nov 2011 at 11:52

GoogleCodeExporter commented 9 years ago
потому что тут

http://code.google.com/p/sky-shoot/source/browse/trunk/SkyShoot/SkyShoot.Contrac
ts/Session/GameLevel.cs?spec=svn266&r=266

надо добавить 
[DataMember] на границы, а не прописывать в 
конструкторе

Original comment by graph....@gmail.com on 1 Dec 2011 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by rrevena...@gmail.com on 1 Dec 2011 at 9:28