Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6906755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:21:01+00:00 2026-05-27T08:21:01+00:00

I need to transfer .NET objects (with hierarchy) over network (multiplayer game). To save

  • 0

I need to transfer .NET objects (with hierarchy) over network (multiplayer game). To save bandwidth, I’d like to transfer only fields (and/or properties) that changes, so fields that won’t change won’t transfer.

I also need some mechanism to match proper objects on the other client side (global object identifier…something like object ID?)

I need some suggestions how to do it.
Would you use reflection? (performance is critical)
I also need mechanism to transfer IList deltas (added objects, removed objects).

How is MMO networking done, do they transfer whole objects?
(maybe my idea of per field transfer is stupid)

EDIT:
To make it clear: I’ve already got mechanism to track changes (lets say every field has property, setter adds field to some sort of list or dictionary, which contains changes – structure is not final now).

I don’t know how to serialize this list and then deserialize it on other client. And mostly how to do it effectively and how to update proper objects.

There’s about one hundred of objects, so I’m trying avoid situation when I would write special function for each object. Decorating fields or properties with attributes would be ok (for example to specify serializer, field id or something similar).

More about objects: Each object has 5 fields in average. Some object are inherited from other.

Thank you for all answeres.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:21:02+00:00Added an answer on May 27, 2026 at 8:21 am

    Another approach; don’t try to serialize complex data changes: instead, send just the actual commands to apply (in a terse form), for example:

    move 12432 134, 146
    remove 25727
    

    (which would move 1 object and remove another).

    You would then apply the commands at the receiver, allowing for a full resync if they get out of sync.

    I don’t propose you would actually use text for this – that is just to make the example clearer.

    One nice thing about this: it also provides “replay” functionality for free.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to transfer files to my web server for processing and I'd like
I need to serialize/de-serialize some objects into/from string and transfer them as just opaque
I need to write a class for different configuration objects that hold something like
I need to transfer large Excel files over a WCF service. Our project requires
I need to transfer JavaScript Objects through JSON and transfer it's functions as well.
I need to transfer a significant amount of structured data that goes something like
I need to transfer a database from a SQL Server instance test server to
I need to transfer DVD image files between a Windows XP computer and a
I need to transfer packets through the internet whose length should be dynamic. struct
I need to transfer data daily from SQL Server (2008) to SQL Server (2005).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.