@@ -240,7 +240,7 @@ internal void SyncVarInit()
240
240
Dirty = false ,
241
241
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
242
242
FieldInfo = sortedFields [ i ] ,
243
- FieldType = FieldType . Bool ,
243
+ FieldType = FieldType . Byte ,
244
244
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
245
245
HookMethod = method
246
246
} ) ;
@@ -252,7 +252,7 @@ internal void SyncVarInit()
252
252
Dirty = false ,
253
253
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
254
254
FieldInfo = sortedFields [ i ] ,
255
- FieldType = FieldType . Bool ,
255
+ FieldType = FieldType . Char ,
256
256
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
257
257
HookMethod = method
258
258
} ) ;
@@ -264,7 +264,7 @@ internal void SyncVarInit()
264
264
Dirty = false ,
265
265
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
266
266
FieldInfo = sortedFields [ i ] ,
267
- FieldType = FieldType . Bool ,
267
+ FieldType = FieldType . Double ,
268
268
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
269
269
HookMethod = method
270
270
} ) ;
@@ -276,7 +276,7 @@ internal void SyncVarInit()
276
276
Dirty = false ,
277
277
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
278
278
FieldInfo = sortedFields [ i ] ,
279
- FieldType = FieldType . Bool ,
279
+ FieldType = FieldType . Single ,
280
280
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
281
281
HookMethod = method
282
282
} ) ;
@@ -288,7 +288,7 @@ internal void SyncVarInit()
288
288
Dirty = false ,
289
289
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
290
290
FieldInfo = sortedFields [ i ] ,
291
- FieldType = FieldType . Bool ,
291
+ FieldType = FieldType . Int ,
292
292
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
293
293
HookMethod = method
294
294
} ) ;
@@ -300,7 +300,7 @@ internal void SyncVarInit()
300
300
Dirty = false ,
301
301
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
302
302
FieldInfo = sortedFields [ i ] ,
303
- FieldType = FieldType . Bool ,
303
+ FieldType = FieldType . Long ,
304
304
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
305
305
HookMethod = method
306
306
} ) ;
@@ -312,7 +312,7 @@ internal void SyncVarInit()
312
312
Dirty = false ,
313
313
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
314
314
FieldInfo = sortedFields [ i ] ,
315
- FieldType = FieldType . Bool ,
315
+ FieldType = FieldType . SByte ,
316
316
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
317
317
HookMethod = method
318
318
} ) ;
@@ -324,7 +324,7 @@ internal void SyncVarInit()
324
324
Dirty = false ,
325
325
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
326
326
FieldInfo = sortedFields [ i ] ,
327
- FieldType = FieldType . Bool ,
327
+ FieldType = FieldType . Short ,
328
328
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
329
329
HookMethod = method
330
330
} ) ;
@@ -336,7 +336,7 @@ internal void SyncVarInit()
336
336
Dirty = false ,
337
337
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
338
338
FieldInfo = sortedFields [ i ] ,
339
- FieldType = FieldType . Bool ,
339
+ FieldType = FieldType . UInt ,
340
340
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
341
341
HookMethod = method
342
342
} ) ;
@@ -348,7 +348,7 @@ internal void SyncVarInit()
348
348
Dirty = false ,
349
349
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
350
350
FieldInfo = sortedFields [ i ] ,
351
- FieldType = FieldType . Bool ,
351
+ FieldType = FieldType . ULong ,
352
352
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
353
353
HookMethod = method
354
354
} ) ;
@@ -360,7 +360,7 @@ internal void SyncVarInit()
360
360
Dirty = false ,
361
361
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
362
362
FieldInfo = sortedFields [ i ] ,
363
- FieldType = FieldType . Bool ,
363
+ FieldType = FieldType . UShort ,
364
364
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
365
365
HookMethod = method
366
366
} ) ;
@@ -372,7 +372,7 @@ internal void SyncVarInit()
372
372
Dirty = false ,
373
373
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
374
374
FieldInfo = sortedFields [ i ] ,
375
- FieldType = FieldType . Bool ,
375
+ FieldType = FieldType . String ,
376
376
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
377
377
HookMethod = method
378
378
} ) ;
@@ -384,7 +384,7 @@ internal void SyncVarInit()
384
384
Dirty = false ,
385
385
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
386
386
FieldInfo = sortedFields [ i ] ,
387
- FieldType = FieldType . Bool ,
387
+ FieldType = FieldType . Vector3 ,
388
388
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
389
389
HookMethod = method
390
390
} ) ;
@@ -396,7 +396,7 @@ internal void SyncVarInit()
396
396
Dirty = false ,
397
397
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
398
398
FieldInfo = sortedFields [ i ] ,
399
- FieldType = FieldType . Bool ,
399
+ FieldType = FieldType . Vector2 ,
400
400
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
401
401
HookMethod = method
402
402
} ) ;
@@ -408,7 +408,7 @@ internal void SyncVarInit()
408
408
Dirty = false ,
409
409
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
410
410
FieldInfo = sortedFields [ i ] ,
411
- FieldType = FieldType . Bool ,
411
+ FieldType = FieldType . Quaternion ,
412
412
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
413
413
HookMethod = method
414
414
} ) ;
@@ -420,7 +420,7 @@ internal void SyncVarInit()
420
420
Dirty = false ,
421
421
Target = ( ( SyncedVar ) sortedFields [ i ] . GetCustomAttributes ( typeof ( SyncedVar ) , true ) [ 0 ] ) . target ,
422
422
FieldInfo = sortedFields [ i ] ,
423
- FieldType = FieldType . Bool ,
423
+ FieldType = FieldType . ByteArray ,
424
424
FieldValue = sortedFields [ i ] . GetValue ( this ) ,
425
425
HookMethod = method
426
426
} ) ;
0 commit comments