Beispiel #1
0
 public EventBotLoggedInArgs(ICloneableT <RemotingConnectionProperties> connectionProperties)
 {
     ConnectionProperties = connectionProperties.Clone();
 }
Beispiel #2
0
 public EventAvatarAddArgs(ICloneableT <Avatar> avatar)
 {
     Avatar = avatar.Clone();
 }
Beispiel #3
0
 public EventAvatarRemoveArgs(ICloneableT <Avatar> avatar)
 {
     Avatar = avatar.Clone();
 }
Beispiel #4
0
 public EventBotEntersWorldArgs(ICloneableT <TConnectionProperties> connectionProperties)
 {
     ConnectionProperties = connectionProperties.Clone();
 }
 public EventBotLoggedInArgs(ICloneableT <UniverseConnectionProperties> connectionProperties, int node)
 {
     _node = node;
     ConnectionProperties = connectionProperties.Clone();
 }
 public EventAvatarChangeArgs(ICloneableT <Avatar> avatar, ICloneableT <Avatar> avatarPreviousState)
 {
     Avatar = avatar.Clone();
     AvatarPreviousState = avatarPreviousState.Clone();
 }
 public EventBotSlaveStartedArgs(ICloneableT <UniverseConnectionProperties> connectionProperties, int node)
 {
     _node = node;
     ConnectionProperties = connectionProperties.Clone();
 }
Beispiel #8
0
 public EventChatArgs(ICloneableT <Avatar> avatar, ChatType chatType, string message)
 {
     Avatar   = avatar.Clone();
     ChatType = chatType;
     Message  = message;
 }
Beispiel #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventObjectClickArgs&lt;TAvatar, TModel&gt;"/> class.
 /// </summary>
 /// <param name="model">The model.</param>
 /// <param name="avatar">The avatar.</param>
 public EventObjectClickArgs(ICloneableT <TModel> model, ICloneableT <TAvatar> avatar)
 {
     Model  = model.Clone();
     Avatar = avatar.Clone();
 }
Beispiel #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventObjectChangeArgs&lt;TAvatar, TModel&gt;"/> class.
 /// </summary>
 /// <param name="model">The model.</param>
 /// <param name="oldModel">The old model.</param>
 /// <param name="avatar">The avatar.</param>
 public EventObjectChangeArgs(ICloneableT<TModel> model, ICloneableT<TModel> oldModel, ICloneableT<TAvatar> avatar)
 {
     Model = model.Clone();
     OldModel = oldModel.Clone();
     Avatar = avatar.Clone();
 }
Beispiel #11
0
 public EventObjectRemoveArgs(ICloneableT <Model> model, ICloneableT <Avatar> avatar)
 {
     Model  = model.Clone();
     Avatar = avatar.Clone();
 }
Beispiel #12
0
 public EventObjectScanCompletedEventArgs(ICloneableT <SceneNodes> sceneNodes)
 {
     SceneNodes = sceneNodes.Clone(); // NOTE: this could be rather memory and time consuming.
 }