mirror of
https://github.com/Dadechin/Unity-WebSocket.git
synced 2025-07-04 04:14:34 +00:00
16 lines
694 B
C#
16 lines
694 B
C#
using System;
|
|
|
|
namespace FishNet.Object.Prediction
|
|
{
|
|
/// <summary>
|
|
/// Replicated methods are to be called from clients and will run the same data and logic on the server.
|
|
/// Only data used as method arguments will be serialized.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
|
|
public class ReplicateAttribute : Attribute { }
|
|
/// <summary>
|
|
/// Reconcile methods indicate how to reset your script or object after the server has replicated user data.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
|
|
public class ReconcileAttribute : Attribute { }
|
|
} |