| | 1 | | using DCL.Models; |
| | 2 | | using System.Collections; |
| | 3 | | using System.Collections.Generic; |
| | 4 | | using UnityEngine; |
| | 5 | |
|
| | 6 | | public class BIWEntityAction |
| | 7 | | { |
| | 8 | | public string entityId; |
| | 9 | |
|
| | 10 | | public object oldValue; |
| | 11 | | public object newValue; |
| | 12 | |
|
| 0 | 13 | | public BIWEntityAction(string entityId) { this.entityId = entityId; } |
| | 14 | |
|
| 1 | 15 | | public BIWEntityAction(string entityId, object oldValue, object newValue) |
| | 16 | | { |
| 1 | 17 | | this.entityId = entityId; |
| 1 | 18 | | this.oldValue = oldValue; |
| 1 | 19 | | this.newValue = newValue; |
| 1 | 20 | | } |
| | 21 | |
|
| 3 | 22 | | public BIWEntityAction(object oldValue, object newValue) |
| | 23 | | { |
| 3 | 24 | | this.oldValue = oldValue; |
| 3 | 25 | | this.newValue = newValue; |
| 3 | 26 | | } |
| | 27 | |
|
| 15 | 28 | | public BIWEntityAction(IDCLEntity entity) { this.entityId = entity.entityId; } |
| | 29 | |
|
| 3 | 30 | | public BIWEntityAction(IDCLEntity entity, object oldValue, object newValue) |
| | 31 | | { |
| 3 | 32 | | this.entityId = entity.entityId; |
| 3 | 33 | | this.oldValue = oldValue; |
| 3 | 34 | | this.newValue = newValue; |
| 3 | 35 | | } |
| | 36 | | } |