0
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using IBBoard.WarFoundry.API.Objects;
|
|
4
|
|
5 namespace IBBoard.WarFoundry.API
|
|
6 {
|
|
7 public delegate void ObjectChangedDelegate(WarFoundryObject oldValue, WarFoundryObject newValue);
|
|
8 public delegate void ArmyChangedDelegate(Army oldValue, Army newValue);
|
|
9 public delegate void GameSystemChangedDelegate(GameSystem oldValue, GameSystem newValue);
|
|
10 public delegate void ObjectAddDelegate(WarFoundryObject val);
|
|
11 public delegate void ObjectRemoveDelegate(WarFoundryObject val);
|
|
12 public delegate void UnitAddDelegate(Unit val);
|
|
13 public delegate void UnitRemoveDelegate(Unit val);
|
|
14 public delegate void ObjectUpdatedDelegate(WarFoundryObject val, string updatedValName);
|
|
15 public delegate void DoubleValChangedDelegate(WarFoundryObject obj, double oldValue, double newValue);
|
|
16 public delegate void FloatValChangedDelegate(WarFoundryObject obj, float oldValue, float newValue);
|
|
17 public delegate void StringValChangedDelegate(WarFoundryObject obj, string oldValue, string newValue);
|
|
18 public delegate void IntValChangedDelegate(WarFoundryObject obj, int oldValue, int newValue);
|
|
19 }
|