Beispiel #1
0
    public static void _Store_258(object val, GameStore gs)
    {
        MethodBase base2 = val as MethodBase;

        StoreExtendPlugin._Store_21(base2.DeclaringType, gs);
        gs.WriteString(base2.Name);
    }
Beispiel #2
0
    public static void _Store_247(object val, GameStore gs)
    {
        FieldInfo info = val as FieldInfo;

        StoreExtendPlugin._Store_21(info.DeclaringType, gs);
        gs.WriteString(info.Name);
    }
    public static void _Store_117(object val, GameStore gs)
    {
        ArrayList list = val as ArrayList;

        gs.WriteInt32(list.Count);
        for (int i = 0; i < list.Count; i++)
        {
            StoreExtendPlugin._Store_75(list[i], gs);
        }
    }
    public static object _Restore_117(GameStore gs)
    {
        int       capacity = gs.ReadInt32();
        ArrayList list     = new ArrayList(capacity);

        for (int i = 0; i < capacity; i++)
        {
            list.Add(StoreExtendPlugin._Restore_75(gs));
        }
        return(list);
    }
Beispiel #5
0
 public static object _Restore_258(GameStore gs)
 {
     System.Type type = (System.Type)StoreExtendPlugin._Restore_21(gs);
     return(type.GetMethod(gs.ReadString()));
 }