示例#1
0
    /// <summary>
    /// Initializes a new instance of the <see cref="AGSSyncableElement"/> class.
    /// </summary>
    /// <param name='elementKeyVal'>
    /// Element key value.
    /// </param>
    /// <param name='syncableMethod'>
    /// Syncable method.
    /// </param>
    public AGSSyncableElement(string elementKeyVal, SyncableMethod syncableMethod) : base(elementKeyVal, syncableMethod)
    {
        listIndex = null;
        listOwner = null;
        InitializeNativeFunctionCalls();
#if !UNITY_EDITOR
        this.setOwner = null;
#endif
    }
示例#2
0
    /// <summary>
    /// Initializes a new instance of the <see cref="AGSSyncableElement"/> class.
    /// </summary>
    /// <param name='elementKeyVal'>
    /// Element key value.
    /// </param>
    /// <param name='syncableMethod'>
    /// Syncable method.
    /// </param>
    public AGSSyncableElement(string elementKeyVal, SyncableMethod syncableMethod) : base(elementKeyVal, syncableMethod) {
        listIndex = null;
        listOwner = null;
        InitializeNativeFunctionCalls();
#if !UNITY_EDITOR
        this.setOwner = null;
#endif
        
    }    
示例#3
0
    /// <summary>
    /// Initializes a new instance of the <see cref="AGSSyncableElement"/> class.
    /// </summary>
    /// <param name='listOwningThisNumber'>
    /// List owning this number.
    /// </param>
    /// <param name='indexInList'>
    /// Index in list.
    /// </param>
    /// <param name='syncableMethod'>
    /// Syncable method.
    /// </param>
    public AGSSyncableElement(AGSSyncableList listOwningThisNumber,
                              int indexInList,
                              SyncableMethod syncableMethod) : base(null, syncableMethod)
    {
        listIndex = indexInList;
        listOwner = listOwningThisNumber;
        InitializeNativeFunctionCalls();
#if !UNITY_EDITOR
        this.setOwner = null;
#endif
    }
示例#4
0
    /// <summary>
    /// Initializes a new instance of the <see cref="AGSSyncableElement"/> class.
    /// </summary>
    /// <param name='listOwningThisNumber'>
    /// List owning this number.
    /// </param>
    /// <param name='indexInList'>
    /// Index in list.
    /// </param>
    /// <param name='syncableMethod'>
    /// Syncable method.
    /// </param>
    public AGSSyncableElement(AGSSyncableList listOwningThisNumber, 
                            int indexInList, 
                            SyncableMethod syncableMethod) : base(null, syncableMethod) {
        
        listIndex = indexInList;
        listOwner = listOwningThisNumber;
        InitializeNativeFunctionCalls();
#if !UNITY_EDITOR
        this.setOwner = null;
#endif
    }